Hacker News new | ask | show | jobs
by albrewer 1675 days ago
SO is a great place for finding that one little code snippet that plugs a hole in your understanding of a problem. Many times you're 3 layers deep in a dependency chain of problems solved, and the question addresses some totally unrelated problem, but the question's answer uses that special argument to the framework's / language's library function in just the right way where it unlocks your understanding and lets you continue on your merry way.
3 comments

This is particularly true when you're thinking "is this use of X a horrible hack or a performant best practice?". Someone laying out and linking to the guarantees on offer by X in a completely unrelated use case will clarify everything.
I agree, I have worked places where there was no internet access and it was a major slow down. Also, every time I find the answer I was looking for, it is closed as not an appropriate question, but not until after someone gave it the answer I needed.
Not only do you need to find the snippet which is hard enough as it is, but you also need to understand the snippet and often take out a line or two from a 20 line snippet which do what you need.