Live data from Hacker News

Ask HN: What code have you read recently?

news.ycombinator.com

11–20 of 40 posts

Re: Ask HN: What code have you read recently?

#19

Code Complete 2nd edition

I see this recommended everywhere, so I nabbed it from a library a while ago. My two cents (for others, not picking on you, rhythmAddict):

Ick. Bloated with manager-speak, light on quality suggestions, and massive. Not worth your time. Reading a few coding-suggestion articles here is significantly more likely to improve your code quality.

Re: Ask HN: What code have you read recently?

#20
post #7

I have been reading the R base library code, mainly to understand the graphics functions. I'm amazed how simple and ordinary it looks. I have never worked on a big software project and it's exciting for me to see how something powerful is built from small chunks here and there. Last year I spent some time reading the arc source code. It was a lot of fun. I didn't know any Lisp, so the recursions and macros were hard…

That's an awesome book. Anyone interested in Javascript as a language, not just the browser library operations, should definitely read through it.

edit: Disclaimer for any planning on buying it: it only covers the language. There's no browser interaction code at all. I've seen a few people surprised / annoyed at that, but it keeps it lean and focused.

Post reply on HN