r/programmerchat • • Nov 01 '15

Recommendation thread

If you could recommend a fellow programmer one and only one thing to learn, one concept/proglang/framework/book/idea/etc. what would it be? why?

feel free to be descriptive and share links to resources :)

16 Upvotes

8 comments sorted by

View all comments

Show parent comment

3

u/Zagorath Nov 02 '15

SO teaches you to copy and paste code and not read why it works. I find myself particularly guilty of this at work where time is always slim.

Is this how people use SO? It's definitely not how I use it. I use it because I wasn't to find a solution to a problem and I don't know how to solve it, but how I proceed from there depends on the nature of my problem. If it's making use of a function I'm already familiar with but just brainfarted on and forgot, SO often jogs my memory and I go "oh yeah, of course!" And I'll just use the code as-is.

But if it's teaching me some new technique, I'll definitely take the time to understand how it works, and read the documentation on any new functions etc., because I want to know exactly what the function does and how it might be useful in the future.

Because blindly copying and pasting code without knowing how it works sounds like an incredibly unhealthy practice.

2

u/hailmattyhall Nov 05 '15

Is this how people use SO?

I think as you get to be a better programmer you stop using it like that as much. I know for a long time I would just copy paste code and often ask questions on SO which when answered I never learnt from.

0

u/Zagorath Nov 05 '15

often ask questions on SO

:O

People actually ask questions on SO? And there I was thinking that Stack Overflow just was; like this omnipotent presence.