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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/15/05 19:49
Modified:
  08/15/05 20:28

Read: times


 
#99476 - Ok, let me get away from that word
Responding to: ???'s previous message
I think I'm still not catching your meaning of "elegant." Efficient code, to me, is elegant. As such, I would disagree that elegant code is a bad thing.
Ok, let me get away from that word. "Elegant" comes from a particular person I had the displeasure of working with for a short while. In his opinion, if code was not obfusciated it was not "elegant". I see that without that context it can easily be taken as meaning something else. I would I that sense agree that a good solid solution could be called "elegant".

I have experienced several "programmers" that bragged about a piece of code that was, in their own opinion, very "elegant/clever/smart" and just had a little bug to be resolved (that never got resolved). Even worse, some was used.

Now this may be where I differ. If the programmer is showing off good code, then he has every right to "show off" and brag about this code.
Absolutely. The "show off" I refer to is not showing off with good code but examples like the above.

Elsewhere in this thread you mentioned that you saw the 8052.com challenges as a good place to show off without hurting anyone--I would disagree: If you can write solid code that does in 50 instruction cycles what another routine does in 80, then that's a good thing.
again, I agree; however going one step too far often, rather than solid code lead to code that will have one "stupid" exception. As an example, I have, myself, in a case of extreme speed requirements - where "my rules" had to be broken had it happen that a "linker move" of a routine made a "pesky little mistake" come to light that would not be a problem had the buffer not been located just there. Such issues have a tendency to show up at your most critical customer at the most inconvenient time ref Murphy's Law. Of course, this example, fortunately showed up at the development table.

Erik

List of 57 messages in thread
TopicAuthorDate
defensive coding how and why            01/01/70 00:00      
   What do you mean?            01/01/70 00:00      
      Elegant            01/01/70 00:00      
         Paradox?            01/01/70 00:00      
      clarification            01/01/70 00:00      
         Remember            01/01/70 00:00      
            Absolutely, and even then should be avoi            01/01/70 00:00      
            Absolutely, and even then should be avoi            01/01/70 00:00      
            extrodiaray?            01/01/70 00:00      
                extrodiaray?            01/01/70 00:00      
                  Goooooogle            01/01/70 00:00      
                     No, he does not            01/01/70 00:00      
                        proofreading            01/01/70 00:00      
                     Another challeneg            01/01/70 00:00      
                        another challenge            01/01/70 00:00      
               OK, I can not Spell            01/01/70 00:00      
                  this is my point            01/01/70 00:00      
                     I sure you could, But            01/01/70 00:00      
                        Really?            01/01/70 00:00      
                           professors and classes            01/01/70 00:00      
                           Really !            01/01/70 00:00      
                              Hmmm            01/01/70 00:00      
            defensive commenting            01/01/70 00:00      
         Don't know            01/01/70 00:00      
            Ok, let me get away from that word            01/01/70 00:00      
               Gotcha            01/01/70 00:00      
                  and I came to truly despise that word wh            01/01/70 00:00      
                     Just like driving            01/01/70 00:00      
            Elegant equals...            01/01/70 00:00      
               that it            01/01/70 00:00      
               Oh, how true...!            01/01/70 00:00      
                  It's never the author's problem            01/01/70 00:00      
                     I knew a person who told me about a real            01/01/70 00:00      
                        A blissful existence            01/01/70 00:00      
                  Your bugs versus my bugs (or vice versa)            01/01/70 00:00      
                     common wisdom has it that the average pr            01/01/70 00:00      
   One exception            01/01/70 00:00      
      exceptions            01/01/70 00:00      
         vice versa            01/01/70 00:00      
            what is obvious            01/01/70 00:00      
               your mileage may vary            01/01/70 00:00      
                  that is the very same            01/01/70 00:00      
                     competent            01/01/70 00:00      
                        please define "working"            01/01/70 00:00      
                           competent programming => working program            01/01/70 00:00      
   i'm new            01/01/70 00:00      
      if you move your eyeballs a bit to the l            01/01/70 00:00      
         Coding Bible            01/01/70 00:00      
            Precedence vs. explicitness            01/01/70 00:00      
   Outlaw coding!            01/01/70 00:00      
      a program it is, by definition, asynchro            01/01/70 00:00      
         Methinks the point was missed            01/01/70 00:00      
            "Easy?"            01/01/70 00:00      
            but we agree            01/01/70 00:00      
      VIPER?            01/01/70 00:00      
      What does "timing" mean?            01/01/70 00:00      
         excuse the foreigner, if he was not clea            01/01/70 00:00      

Back to Subject List