|
|
| | Ask HN: Beginner code projects? | | 15 points by whackedspinach on June 10, 2011 | hide | past | favorite | 8 comments | | I'm looking for code projects (think small application size) that are somewhere between Google Code Jam/Project Euler and really big codebases. I'm trying to teach myself programming, but I can only learn so much by reading and doing the book's exercises. I have a intermediate knowledge of Python and I am halfway through K&R (although that book has good hard exercises). Does anyone have suggestions or know of sites that have good project ideas that would force me to experience different aspects of programming? One idea I have, for example, is an IM client to understand network protocols. |
|

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
For networking, a command-line TFTP client/server is a good exercise. Pay close attention to how to handle the corner cases that crop up, and try your code against a few implementations. If you're interested in protocols, you could use libpcap to read raw packets and write a simple protocol analyzer to read packets on your home network.
If you want to focus on software architecture (e.g. how do I build a system that is maintainable as it gets bigger) you should pick a pet project, follow through, and iterate on it mercilessly until you think you hit a maximum of readability and low coupling. Then show someone who's better than you, and talk about it. I did that with an IM client and learned an awful lot.
Also, dabble in metaprogramming and concurrency. They'll pay off eventually, even if they seem esoteric right now.