r/coding • • May 15 '12

Please Don't Learn to Code

http://www.codinghorror.com/blog/2012/05/please-dont-learn-to-code.html
33 Upvotes

120 comments sorted by

View all comments

89

u/[deleted] May 15 '12 edited May 15 '12

Ick, seriously?

People actually think this?

Jesus, how elitist can you get?

Coding is not magical. It is not special and unique. We are not a techno-priesthood. If Mayor Bloomberg wants to learn to code, more power to him. There are simple programming things that will help anybody with useful skills.

No, they shouldn't learn C. But they should learn to automate their own frustrations.

Learn a regex find/replacement program. Learn how to write a complex SELECT statement. I worked at a warehousing company where all the senior staff had trained each other on how to write select statements and had their own read-access to the database. Result? We only ever got calls about the most elaborate, difficult reports because any time they needed to look at W for Y period grouped by Z on as they relate to Q, they could do it themselves.

Or if it teaches them to customize their own Excel macros? Great! A small project you could write in Python for scraping a webpage for information you need? Go for it! Automate it and set it up on your computer as a daily job. Get it to send you an email when there's news. I don't care if your solution is stupid and wrong, you've learned to do it yourself and automate part of your own life.

When did you first learn to program? I started when I was ten. Ten-year-old-me is not smarter than the mayor of New York City.

8

u/MonsPubis May 15 '12

There's a lot of elitism in the programming world; and yet, as you pointed out, very many of us learned to code at very young ages. For people today with ever-more-helpful compilers and resources, the barrier to entry is basically comparable to that of any other trade skill.

It's not hard to learn to program. I wasn't proving topology theorems as a pre-teen, but I sure was plugging away at x86 assembly.

8

u/[deleted] May 15 '12

basically comparable to that of any other trade skill.

This, exactly. For every trade skill there is a little bit of knowledge that a layman can and should pick up when the challenge arises. Electrical? Replace a socket or a light switch or a light fixture. Plumbing? Clear a trap. Replace a spout or a faucet cartridge. Carpentry? Find studs and install a hanging shelf, repair furniture and build simple shop shelving. Automotive? Oil-change, brake shoes, spare tires, jumper cables. Computer maintenance? How to reinstall the OS, replace a PCI card, set up antispyware/antivirus, setup wifi, etc.

The only difference with programming is that any challenge that comes up enough, somebody will have already automated it for you so you don't normally need to develop your own... but eventually you'll hit a case where the out-of-the-box solution just isn't good enough. The Word/Excel mail-merge doesn't quite fit your needs. The wildcard find/replace isn't expressive enough to match the pattern you have. Your excel-based club membership roll is getting too cumbersome. There's information you want from a very complicated website and the search system isn't expressive enough to get it for you.

That's when it's time to learn to code.