Re: Reading Source Code

From: deech_99 (deech_99_at_yahoo.com)
Date: 04/27/04


Date: Tue, 27 Apr 2004 17:25:18 -0400

I agree that diving into code is probably the best way of getting to grips
with the program and becoming a better software programmer.

My fear was that I would get into a 'badly-written' program that would
instill bad habits. I have been warned by other programmers that good
programs in the eyes of a user are not always good programs in terms of
exemplifying good programming practices.

Perhaps the best way is a two-pronged approach where
1) A 'classic' program (eg Tex or Linux ) is studied with
   the aid of a book
2) I fearlessly dive into a more recent program which I
   wish to extend.

On a broader scope I would like to know why the practice of reading
real-world code is not more widespread. In all other crafts the formative
years of the student are spent learning what has already been done- a jazz
musician, for example, studies others solos, and a writer is constantly
reading. Why is it that programmers do not study other's source code as
diligently?

Naively yours....
Deech



Relevant Pages

  • Re: Reading Source Code
    ... with the program and becoming a better software programmer. ... My fear was that I would get into a 'badly-written' program that would ... exemplifying good programming practices. ... On a broader scope I would like to know why the practice of reading ...
    (comp.programming)
  • Re: Attention young dummys!
    ... customers like James aka ... I cured his fear of planes.. ... when he dropped the attitude. ... I will always have a fear of heights, but at least, after reading the ...
    (rec.skydiving)
  • Re: Well-written open source?
    ... > learn good C programming practices? ... A good way to learn the most common general idioms is by reading code ... of a project will dictate how 'secure' a sandbox I want. ... Then you haven't been using C. (Standard) C is very ...
    (comp.lang.c)
  • Re: December book log
    ... reading to see Hammett continue to create the genre. ... Hulk, Captain America, Captain Marvel (the Marvel Kree character, not the ... Fear is the mind-killer. ...
    (rec.arts.sf.written)
  • Re: Bow Down to Your New Grand Master!
    ... The earliest SFnal thing I can remember reading was a Mushroom Planet ... that made me a lifelong science fiction (and Andre Norton) fan, ... Foundation and Empire in an Ace Double, finding Star Bridge, ... Fear is the mind-killer. ...
    (rec.arts.sf.written)