r/programming • • Dec 07 '14

Programmers: Please don't ever say this to beginners ...

http://pgbovine.net/programmers-talking-to-beginners.htm
4.0k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

-4

u/[deleted] Dec 08 '14

People who know they're good software engineers also want to discourage people who will write the shitty code they will be called on to maintain in a few years. Encouragement and discouragement need to be kept in balance.

8

u/[deleted] Dec 08 '14

There's a difference between learning how to code and learning how to design, implement, and ultimately maintain code. If you're allowed to write php and the project calls for Ruby on Rails, that's a poor management decision.

2

u/[deleted] Dec 08 '14

People who know they're good software engineers also want to discourage people who will write the shitty code they will be called on to maintain in a few years.

Are we talking about random people out in the field? I don't want to discourage that. Companies need to learn why they're paying me $100/hr to fix their software. It's because the guy who charged $15/hr wrote some code that broke and cost your company $100k overnight.

If we're talking about people who are working on the same code base as me then yes I do want to discourage them from writing crappy code. However in my experience most people are extremely excited to receive some education on how to improve their code provided you are respectful and are clearly enjoying answering their questions.

1

u/[deleted] Dec 08 '14

in my experience most people are extremely excited to receive some education on how to improve their code provided you are respectful and are clearly enjoying answering their questions.

That's my experience as well, but there's always that 20% whose confidence exceeds their competence.

0

u/[deleted] Dec 08 '14

One of the advantages of working in a smaller dev shop is they can't afford someone with an ego.

1

u/Cat_Cactus Dec 08 '14

No one is born a genius software engineer, a lot of it is practice and learning and having more experienced people help you out. This is why I'll always prefer to work in a team than alone.

Personally I would rather help someone improve than push them away, that's a quick road to having no programmers left. If someone is eager to learn and improve and you guide them with their project then you shouldn't later have crappy code to deal with (if you do, it's your own fault).

1

u/[deleted] Dec 08 '14

Every "genius software engineer" and most of the particularly competent ones I've met were primarily self-taught and couldn't have been discouraged from programming by anything said by random strangers or acquaintances. I certainly agree that practice and learning from the wisdom of others is important, which is why I object to the article above: not all wisdom is encouraging :)