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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/21/05 02:34
Read: times


 
#95409 - How many seniors write 'good' code?
Responding to: ???'s previous message


What constitutes 'good' code I find can be rather nebulous.

Obviously code that works is a good start.
Code that is maintainable is most likely second.
Code that make good use of the available resources third.

Too many times I come across 'senior' people who believe that cycle efficient code is 'good' code. This is ok assuming it is a small sized project - 2k of highly optimised assembler is not a big investment. For those that have had to maintain larger assembler projects, I dare say most people would like to see common methods for passing vars to subroutines and a good structure with comments. Trying to add features to highly optimised code is extremely difficult and normally necessitates a rewrite.

I had one instance where in an access control system the lookup for the user information was done by a linear search. Obviously once the number of users grew, the search could become rather slow. A 'senior' person suggested - 'do it in assembler!'. Another suggestion was to use a better data structure and search method to improve performance. The senior person cried 'it's all too complex!'. Unfortunately a standard 'smarter' search in 'c' yielded better performance than brute force in assembler.

I would suggest a good embedded systems programmer has a grounding in engineering and computer science to appreciate the whole problem.

I think a can of worms has just been opened!



















List of 55 messages in thread
TopicAuthorDate
finally the trade press recognizes            01/01/70 00:00      
   Amen            01/01/70 00:00      
   How many seniors write 'good' code?            01/01/70 00:00      
      I wonder            01/01/70 00:00      
         Definition of Good            01/01/70 00:00      
            Good            01/01/70 00:00      
      you are wrong            01/01/70 00:00      
         Still depends.            01/01/70 00:00      
         Strong words!!            01/01/70 00:00      
            Russell            01/01/70 00:00      
               this little quirk.            01/01/70 00:00      
                  if only            01/01/70 00:00      
                     Well            01/01/70 00:00      
                        correction            01/01/70 00:00      
                           Well then            01/01/70 00:00      
                              There's the crux            01/01/70 00:00      
                                 Niches            01/01/70 00:00      
                                 Oh, but yes!            01/01/70 00:00      
                                    no way            01/01/70 00:00      
                                       By whom then?            01/01/70 00:00      
                                          Bartosz, your ramblings are not about ma            01/01/70 00:00      
                                             And then            01/01/70 00:00      
                                                The issue discussed is not open or close            01/01/70 00:00      
                                                   Fair enough            01/01/70 00:00      
                                                   Mandatory?            01/01/70 00:00      
                                                      WGASA            01/01/70 00:00      
                                                         Closed source            01/01/70 00:00      
                                                            Yes.            01/01/70 00:00      
                                                      simple falsehood            01/01/70 00:00      
                                                         Not quite the same            01/01/70 00:00      
                                                            Oh, well            01/01/70 00:00      
                                                               Is that the point?            01/01/70 00:00      
                                          PHBs don't care            01/01/70 00:00      
                                             Worse            01/01/70 00:00      
            Pretty normal really...            01/01/70 00:00      
               Donald            01/01/70 00:00      
                  Whats the difference ?            01/01/70 00:00      
         Maintainable            01/01/70 00:00      
            Erik, You've yet to convince me!            01/01/70 00:00      
               I bid you peace            01/01/70 00:00      
               HLL perhaps?            01/01/70 00:00      
         Some code does not need to be maintained            01/01/70 00:00      
            oh it is            01/01/70 00:00      
               now..            01/01/70 00:00      
                  OOPS            01/01/70 00:00      
   re:trade press            01/01/70 00:00      
   an afterthought            01/01/70 00:00      
      Maintainability Vs functionability            01/01/70 00:00      
         Maint.vs functionality, design vs test            01/01/70 00:00      
            Design is not everything.            01/01/70 00:00      
               Maintainable Vs Robust code            01/01/70 00:00      
               maintainaibility is a cost saver            01/01/70 00:00      
   averagosity; job security; survivability            01/01/70 00:00      
      If bad code gives Job Security then Why?            01/01/70 00:00      
         neither have I            01/01/70 00:00      

Back to Subject List