Re:Am I really a developer or just a good Googler?
by hackinthebochs on Sunday May 15, 2016 @05:25PM
(#11702841)
Context in code is everything, and links provide the context far better than comments can most of the time. I find it surprising that you're so surprised at the idea of links in code!
[ Parent
| on HN ]
Re:Am I really a developer or just a good Googler?
by exodust on Monday May 16, 2016 @12:41AM
(#11704284)
Because it's only one tiny piece of any given function usually that we need help for from SO. That's my experience anyway. Usually it's how to do something, not copying and pasting huge chunks of code. And often I would change and modify what I learn from SO anyway,so it makes little sense to include links then.
Re:Am I really a developer or just a good Googler?
by hackinthebochs on Monday May 16, 2016 @11:15AM
(#11706810)
Well I'm certainly not littering my code with SO links. But when there's some particularly hairy problem that SO provided a solution, or an odd looking piece of code that I got from SO, I'll throw the link in.
If the code is self explanatory or not particularly interesting, then there's no link. If its worthy of a comment, its usually worthy of a SO link.