Yeah, the Python source shows how you can get the most out of plain old C. I find the parts that insure type-safety especially cute:-) Type-safety in C... weird. The GNU Hurd code is also of very high quality.
For especially good Ada 95 code, look at the source of the GNU Ada compiler (GNAT). This is really a masterpiece of compiler writing. I think it is also the largest chunk of open source Ada code available.
I also like Ada very much. It looks not entirely unlike Pascal, but honestly, does anybody still use Pascal? I mean really use, to write real code? I have just fired up my newsreader to get some posting statistics:
So, Pascal seems really dead until now. I don't speak of Borland Delphi, which is quite another beast. This would be the same as comparing the newsgoup postings of comp.lang.basic with microsoft.vb.whatever. It just means that one language dialect has become much more important as the standard language.
How should I know. Probably yes, if you plan to do any Python programming. Pickling objects is what is called "serialization": you can store any object hierarchy to disk/database/whereever and get this object hierarchy back later. This works across the network and across platforms, of course:-)
Yeah, the Python source shows how you can get the most out of plain old C. I find the parts that insure type-safety especially cute :-) Type-safety in C ... weird. The GNU Hurd code is also of very high quality.
For especially good Ada 95 code, look at the source of the GNU Ada compiler (GNAT). This is really a masterpiece of compiler writing. I think it is also the largest chunk of open source Ada code available.
Gerhard
I also like Ada very much. It looks not entirely unlike Pascal, but honestly, does anybody still use Pascal? I mean really use, to write real code? I have just fired up my newsreader to get some posting statistics:
comp.lang.ada 1794
comp.lang.python 6918
comp.lang.java.programmer 12619
comp.lang.pascal.misc 84
comp.lang.pascal.ansi-iso 13
de.comp.lang.pascal 50
So, Pascal seems really dead until now. I don't speak of Borland Delphi, which is quite another beast. This would be the same as comparing the newsgoup postings of comp.lang.basic with microsoft.vb.whatever. It just means that one language dialect has become much more important as the standard language.
Any Pascal programmers out there? Hands up!
Gerhard
How should I know. Probably yes, if you plan to do any Python programming. Pickling objects is what is called "serialization": you can store any object hierarchy to disk/database/whereever and get this object hierarchy back later. This works across the network and across platforms, of course :-)