[NTLUG:Discuss] Wanting to speak the language

Justin M. Forbes jmforbes at linuxtx.org
Thu Feb 24 15:30:49 CST 2005


On Thu, Feb 24, 2005 at 11:32:51AM -0600, Ed Leach wrote:
> 
> I'd appreciate it if an enthusiast of a particular language (my
> interests: C, C++, Perl, Python) could point to 2-3 relatively simple
> open source projects that could be examined after finishing some intro
> book. There are so many it's difficult to know where to look for good
> samples.
> 
> Ed
> 
Oddly enough, as a kernel hacker, I would say do not look at the kernel
first. There is some great C code in the kernel, a lot of things which you
will not see anywhere else.  At the same time there are a lot of things in
the kernel out of necessity (standard libraries do not exist) which can be
quite confusing to the new programmer.  There are also quite a few things
considered taboo in userland which are used in the kernel such as 'goto'

For python conary has a fairly interesting set of python, including
database interface, web code, etc.  It also has an extended debugger module 
epdb.  Full code and additional info is available at http://wiki.specifix.com
The anaconda installer also has a good bit of python in it, covery a lot of
basics, though a good understanding of hardware helps with that one.

I avoid C++ as much as possible, but most KDE stuff is C++

Justin




More information about the Discuss mailing list