3 ms·
Start out by looking at open source projects... Linux kernel if you're into low level systems programming, Mono if you're into higher level systems programming
by gm 18y ago
Start out by looking at open source projects... Linux kernel if you're into low level systems programming, Mono if you're into higher level systems programming, the countless web apps out there in your favorite language, etc...
The bigger the project the better because more people have looked at it and offered suggestions.
Look for great code, terrible code is everywhere.
- gm 18y agoNote: Use common sense, if you want to look at really good code, look at code in a critical part of a system... I bet that Linux's memory management routines are really interesting to see. Look at those, make a class diagram out of them (or entity-relationship diagram), and look at the design. Good code is borne out of good design. If the design is good, chances are the code is equally good and vice versa. Why do I cite Mono? It's not becuase I am a Microsoft nut, but because Mono is a re-implementation of MS code. Mono people had a great reference for design, which allowed them to focus only on writing good code. What I have seen of Mono's implementation is really good code.
- iamelgringo 18y agoGood ideas, thanks. I'll look into the Mono libraries.