Live data from Hacker News

Ask HN: What are things a programmer should do at least once?

news.ycombinator.com

11–16 of 16 posts

Re: Ask HN: What are things a programmer should do at least once?

#12

Go to college parties.

Too late if you're out of college I'm afraid.

Not true, I've been to a couple of conference parties that were pretty much college parties with an average age of 30 instead of 20.

Re: Ask HN: What are things a programmer should do at least once?

#14

Write a compiler. It gives you great insights into parsing/tokenizing, building syntax trees, implementing syntax and Symantec checks and code generation. Obviously, you would have to pick a toy language (typically a subset of a known programming language) and your generated code will be inefficient. Still, you would learn a lot.

I'd add writing compiler optimizations as well. Common subexpression elimination, dead code-elimination, copy propagation, register allocation to name a few.

Re: Ask HN: What are things a programmer should do at least once?

#16
Ask why and understand the reasons for a feature so well that when you explain it back to the business user requesting it, they nod, say "exactly" and their eyes sparkle.

Then change how the feature works, or eliminate it, or address the business reasons using a completely different implementation and sell it to the same person in a way that has them enthusiastically agree and sign off on it.

Post reply on HN