??? 05/25/04 03:38 Read: times |
#71111 - RE: Eight LEDS & Eight Switches Simplified Responding to: ???'s previous message |
Mahnoor Shamsi:
I lay a challenge to you on the table. Consider how code can be modular. Consider what it would be like to maintain a real project that has 127 pages of code of the style you have written. Step back and size up your code and decide if it is easy to understand in the way it is presented; and if you say yes is that just because you wrote it? I have a built-in bias that the state machine tutorial code is easy to follow, partly because I wrote it, but mostly based upon years of making programs people tell me are easy to maintain. The three MOST important things in any program are clarity, modularity, and maintainability. Without those attributes program code goes from being a creative piece of functional artwork into a text file of gibberish and a bit bucket of binary randomness. By the way, I looked at your program for a while and still can't figure out how it works or if it performs the same functions as the turotial or not. Lack of formatting, few if any comments, and limited modularity do not make your program simpler. A smaller text file maybe but that is it. You asked for an honest opinion and there you have mine. Michael Karas |
Topic | Author | Date |
Eight LEDS & Eight Switches Simplified | 01/01/70 00:00 | |
RE: Eight LEDS & Eight Switches Simplifi | 01/01/70 00:00 | |
is my code not a state machine | 01/01/70 00:00 | |
something more | 01/01/70 00:00 | |
RE: Eight LEDS & Eight Switches Simplified | 01/01/70 00:00 | |
RE: Eight LEDS & Eight Switches Simplified | 01/01/70 00:00 | |
RE: Eight LEDS & Eight Switches Simplified | 01/01/70 00:00 | |
RE: Eight LEDS & Eight Switches Simplifi | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
RE: thanks![]() | 01/01/70 00:00 |