Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Thread Closed: Issue successfully resolved

???
01/22/04 20:55
Read: times


 
#63165 - RE: Not guilty, mlud
Responding to: ???'s previous message
And any language in which
for(;P("n").R-;P("|"))for(e=3DC;e-;P("_"+(*u++/8)%2))P("| "+(*u/4)%2);


whether I agree with the above or not

anyone that writes
for(;P("n").R-;P("|"))for(e=3DC;e-;P("_"+(*u++/8)%2))P("| "+(*u/4)%2);
should be shown the door.

I have a real phobia for something called "real C" which to the best of my understanding consist of the following:
1) The more you can get into one statement the better.
2) 'i', 'j' and 'k' are descriptive names.
3) C is self-documenting.
4) If a language feature exist it must be used in every program.
5) Timing loops in C are precise.
6) If you need to test a bit 200 times and it is located in a structure inside a structure there is no need to pull it out once, just do it every time.
7) Global variables are to be avoided at all costs, if that means you have to carry 7 variables through 22 levels of nesting that is OK.


Erik

List of 29 messages in thread
TopicAuthorDate
MISRA C Guidelines            01/01/70 00:00      
   RE: MISRA C Guidelines            01/01/70 00:00      
      RE: Alternate C Guidelines            01/01/70 00:00      
         RE: Alternate C Guidelines            01/01/70 00:00      
         RE: Alternate C Guidelines            01/01/70 00:00      
            RE: Alternate C Guidelines            01/01/70 00:00      
      RE: MISRA C Guidelines            01/01/70 00:00      
         RE: MISRA C Guidelines            01/01/70 00:00      
            RE: MISRA C Guidelines            01/01/70 00:00      
               RE: MISRA C Guidelines            01/01/70 00:00      
            RE: MISRA C Guidelines            01/01/70 00:00      
   Hitex have a deal...            01/01/70 00:00      
      RE: Hitex have a deal...            01/01/70 00:00      
         RE: Hitex have a deal...            01/01/70 00:00      
            RE: Hitex have a deal...            01/01/70 00:00      
               RE: Hitex have a deal...            01/01/70 00:00      
                  RE: Hitex have a deal...            01/01/70 00:00      
               Not guilty, mlud            01/01/70 00:00      
                  RE: Not guilty, mlud            01/01/70 00:00      
                     RE: Not guilty, mlud            01/01/70 00:00      
                        RE: Not guilty, mlud            01/01/70 00:00      
                        RE: Not guilty, mlud            01/01/70 00:00      
                     RE: Not guilty, mlud            01/01/70 00:00      
                     RE: Not guilty, mlud            01/01/70 00:00      
                        RE: Not guilty, mlud            01/01/70 00:00      
               RE: Hitex have a deal...            01/01/70 00:00      
   Jack Ganssle on the MISRA Guidelines            01/01/70 00:00      
   RE: MISRA C Guidelines            01/01/70 00:00      
      RE: MISRA C Guidelines            01/01/70 00:00      

Back to Subject List