r/coding • u/kracekumar • May 15 '12
Please Don't Learn to Code
http://www.codinghorror.com/blog/2012/05/please-dont-learn-to-code.html135
u/puresock May 15 '12
No, guys, learn to code. Learn plumbing. Learn everything, because knowledge and learning is amazing. Encourage people to learn things. Don't be like Jeff and tell everyone "Oh, this is too hard, you can't understand it", because that's horrible.
34
u/crow1170 May 15 '12
In the Avengers, Captain America says
When I woke up they told me we won [the war]. They didn't tell me what we lost.
Boy Scouts, and by extension, merit badges, needs to become popular again. In the 6 or so years I was there, I learned about orienteering, plumbing, geology/terrestrial magnetism, computers, nuclear reactors, weaving/sewing/fabrics, pulp/paper, AutoCAD, and 40 other merit badges.
Even with that, though, the generation of scouts before me earned literally twice as many badges. Extracurricular education is dropping like a rock.
17
u/rpgFANATIC May 15 '12
Achivements in video games are pretty popular. Just need to implement that in RL. Heck, call it gamification and you'll get buzzword credit for your idea as well
4
u/crow1170 May 15 '12
that's what I'm saying- the idea was already there in merit badges and activity loops and everything that came with being a scout.
For some reason people decided it was more fun to get meaningless achievements rather than actually have that badge represent something you can do.
-3
17
u/SanityInAnarchy May 16 '12
Boy Scouts, and by extension, merit badges, needs to become popular again.
Once they stop being anti-homosexuality, anti-atheist bigots, sure. Basically, once the Mormons stop being in control.
Right now, girl scouts need to become popular again, because they're doing it right.
-1
u/crow1170 May 16 '12
I don't know what your experience with them was or equally importantly where it was, but in my experience boy scouts was exclusively secular. We had many classes regarding oath and creed and whatnot, and anytime the phrase god is used in the boy scout context, it is a little g- agnostic so that Indian scouts and Muslim scouts could coexist, so to speak.
Anti homosexuality isn't directed at scouts- just scout leaders. It was brought on by public outcry, people who were worried the little boys would be touched.
6
u/SanityInAnarchy May 16 '12
I don't know what your experience with them was or equally importantly where it was...
No personal problems (I was a believer then), but keep in mind, this is a recent development. But it is quite telling that the BSA endorsed Proposition 8.
We had many classes regarding oath and creed and whatnot, and anytime the phrase god is used in the boy scout context, it is a little g- agnostic so that Indian scouts and Muslim scouts could coexist, so to speak.
Deistic, then? That's not the best, but if it was only this, it might be tolerable. However, the BSA's official position is (or at least was until very recently?) that atheists cannot be scouts. This is what they said:
Boy Scouts of America believes that no member can grow into the best kind of citizen without recognizing an obligation to God. The Scout Oath requires Scouts and their adult leaders to do their “duty to God,” and in the Scout Law they pledge to be “reverent.” Neither Boy Scouts of America nor Desert Pacific Council is a religion or a religious sect, and Scouting is absolutely nonsectarian. Boys from every religious denomination as well as boys not affiliated with any organized religion participate in Boy Scouts America.
So they're perfectly secular, even allow those with "no religion", so long as they believe in God. That's the concept of "freedom of religion, not freedom from religion" -- and sorry, "nonreligious" but deistic doesn't really help this.
Anti homosexuality isn't directed at scouts- just scout leaders. It was brought on by public outcry, people who were worried the little boys would be touched.
This isn't much better. Plenty of parents are perfectly willing to leave their male children with a female babysitter or teacher, and I don't see where this is actually different. I'd guess good scout leaders are hard to find, so dropping 10% of them because of unfounded paranoia is just stupid.
But again, compare the above positions to those of the girl scouts. They not only allow homosexuality, they even allow transgendered girls -- those who identify as girls who were born as boys. While I can't find them explicitly endorsing atheists, they're allowed to substitute 'God' for any other word.
It's a little easier to see how bad the BSA has gotten (even if there are local groups that are more accepting) when you notice that the girl scouts actually are doing it right.
-2
u/crow1170 May 16 '12
(At this point I have to ask for some leniency regarding punctuality, spelling, and citing. I'm phone ridden for a while. Sorry if it's shown in the other comments. I'd also like to take this refrain to point out that we're way off topic, but that's okay as long as we don't confuse merit badges with every little thing BSA has ever done. No amount of corporate ingress is going to take away the skills I learned and my attitude towards learning )
I know it may be hard to accept deism in place if atheism, but the rationale is this: something must guide /inform a sense of character. In strict atheism, there is nothing preventing someone from being a dick. In the more common /palatable brand that deity is the self or the personal morality. This is used as a deity in the philosophically oriented badges and ideas. Your duty to God is what keeps you trustworthy, loyal, helpful, etc. You can be an atheist as long as there is some sense of your spirit and its independence from circumstances.
I stress again that the policies regarding homosexuals is an effect of environment, not ideology. When they have places that allow them (most places) they allow them. It's great that the girls have avoided or overcome political and or local influence. I'll speak about them a little more in reply to your other comment in a few minutes. My thumb is killing me.
7
u/SanityInAnarchy May 16 '12
I know it may be hard to accept deism in place if atheism...
"Hard"? The reasons I'm an atheist apply as easily to Deism as to anything else.
In strict atheism, there is nothing preventing someone from being a dick. In the more common /palatable brand that deity is the self or the personal morality.
That's not a deity. In fact, that is a sense of character -- having that inform a sense of character would be circular, right?
In fact, I just read a well-defended theory -- not one I quite subscribe to yet, but interesting -- that suggests enlightened self-interest alone is enough. That in strict materialist atheism, with no belief in anything but physical reality, we still ought to care about our character, because someone who is trustworthy, loyal, helpful, etc, will ultimately live a happier life than someone who is not.
You can be an atheist as long as there is some sense of your spirit and its independence from circumstances.
Spirit isn't the first word I'd choose, but sure.
I stress again that the policies regarding homosexuals is an effect of environment, not ideology. When they have places that allow them (most places) they allow them.
Well, it's a recent ideology, but like I said, it's at the corporate level. Wasn't it the BSA as an organization, not just a few individual groups, that was supporting Prop 8?
My thumb is killing me.
I'd almost say that deserves a badge.
I'll speak about them a little more in reply to your other comment in a few minutes.
I just read that. I didn't actually have much to say (other than that I hope it's a local phenomenon), so have an upvote.
-3
u/crow1170 May 16 '12
I feel like most, if not all, of our disagreements are entrenched in corporate/universal vs local. Sure, atheism is fine and you can be master of your own morals, but not at 11 years old. In the "field" that sort of belief can have catastrophic results (see: Assassin's Creed one).
I guess "hard" should be read "improper" or "ill-fitting".
For me, coming from a very active troop that camped across three states and interacted with scores of other troops, corporate is a distant (and pathetic) group, responsible for little more than changing our book every so often. They hardly reflect us, or at least those of us in south florida.
3
u/SanityInAnarchy May 16 '12
Sure, atheism is fine and you can be master of your own morals, but not at 11 years old. In the "field" that sort of belief can have catastrophic results (see: Assassin's Creed one).
Counterexample: Every single real 11-year-old atheist I know.
In fact, we almost always teach morality to children in secular ways, don't we? "Why shouldn't I do that?" "Because I said so!" or, "You wouldn't like it if he did it to you, would you?"
I was raised by relatively religious parents, and I can't ever remember them using religion to convince me to do the right thing. Even the religious things they wanted me to do, they used secular arguments -- I was convinced to go through with my Bar-Mitzvah because of tradition. God never came into it.
Haven't played Assassin's Creed. Not planning to -- I'd easily buy the PC version, but Ubisoft's DRM just isn't worth it.
-2
u/crow1170 May 17 '12
I'm a console gamer, but I'll tell you the story:
In a time when atheists are unheard of, the Assassins follow their own moral code strictly for the betterment of mankind. The have a saying "Nothing is true. Everything is permitted." To the mature atheist (Ezio at the end of AC:Revelations), this means that God won't stop you because he doesn't exist. you can depend on him or on anything you read or believe. It's up to you to live right and live well.
Of course Altair isn't particularly mature and uses the saying as an excuse to defy orders and satisfy his selfish and sometimes cowardly desires. "If nothing is true and everything is permitted," he wonders "and it is up to me to decide what is right, why do I suffer for others?"
With Atheism, nothing is true. There is no deity to decide what is right or wrong, just you. Which can be fine. Or it could be terrible. Or (and this is the most important part) it could look fine but be terrible. You could have a scout that is civil and obedient in public, but when only God is watching (so to speak) they become selfish and egocentric.
The question isn't why would they, it's why wouldn't they.
→ More replies (0)-2
u/crow1170 May 16 '12
Also in my entire 8 years there I never heard of a mormon boy scout.
And finally regarding the girl scouts: while I'm sure they all mean well, they have proven themselves time and time again to be the most sexist organization in the world. Not at corporate level of course, but the scout level. I never met a girl scout that was proud to be one.
6
u/oursland May 16 '12
Also in my entire 8 years there I never heard of a mormon boy scout.
Fantastic! Would you like a merit badge?
In my neck of the woods the boy scouts were all Mormons and the meetings took place at the churches.
-1
u/crow1170 May 16 '12
In my neck of the woods the boy scouts were all mormons
Fantastic! Would you like a merit badge for that?
I was replying to the comment about Mormons in control. They're either localized or isolated at the corporate level. I never experienced a Mormon influence.
4
u/oursland May 16 '12
Here's what you said:
Also in my entire 8 years there I never heard of a mormon boy scout.
If you meant something different, why did you say that?
Furthermore, the whole BSA is influenced by the Mormons. This includes expelling homosexuals, atheists and others who don't fit the Mormon agenda. If you didn't pick up on that, then I'd say that your lack of perception is to blame for your not noticing the Mormon influence.
0
u/crow1170 May 16 '12
That's my point. BSA taught me to shoot, mend, build, camp, play, swim, lead, follow, save, manage and more without ever making me feel that atheists or gays were bad or mentioning that Mormons even existed.
It has nothing to do with my perception. It has to do with our dissonance- either you're misinform(ed/ing) or my region is some amazing shining example of tolerance and acceptance (I really doubt this to be the case).
Things here are great. If some Mormons are causing you trouble, let me assure you that they're not doing it from here or with my voice.
2
u/SanityInAnarchy May 16 '12
Also in my entire 8 years there I never heard of a mormon boy scout.
The mormons seem to have taken over at the corporate level, which is why the BSA supported Proposition 8.
And finally regarding the girl scouts: while I'm sure they all mean well, they have proven themselves time and time again to be the most sexist organization in the world. Not at corporate level of course, but the scout level. I never met a girl scout that was proud to be one.
Weird. Do you have anything more specific about this?
3
u/crow1170 May 16 '12
I saw some powerful and empowered women girl scouts, but only ever on the way out. At least in my experience, with the ones that I knew both in and out of scouting, girls scouts taught them about being good followers and good friends as long as they stayed in line. I saw a number of girls that outgrew girl scouts. Some of them were pushed out though. It makes sense considering the focus was teamwork- group sales of cookies, team knot tying, group kitchen skills.
Teamwork is important, in life and in boy scouts, but I feel as though the girls relied on it to a fault. They always seemed to have the same step one in any plan : get help. For everything. For making cereal. Not kidding. One girl went around asking if anybody else wanted cereal. They didn't, so she didn't have any.
And maybe that's okay or not the case elsewhere, but my heart still goes out to those girls who wanted to do and were capable of doing more, but couldn't see it.
Rambling at this point, but I think I know why it happened. Some of the girls came from awful places. Homes that were convinced that these girls were for nothing now, sex later and cooking after that. To break that, the program exposes them to art and business and crafting and cuisine (food worth paying for).
This is great for those girls, but understandably bad for girls who come from relatively good places.
And in conclusion, my previous statement about being the most sexist may have been local only.
7
u/FrozenInferno May 15 '12
I fail to see the relevance in that quote.
6
u/crow1170 May 15 '12
I feel like one of the things (Captain America noticed) we lost was a national focus on being skilled. The boy scouts reflect(s/ed) the belief that as an American I should be able to fix/build/understand anything that will help me get to my American dream.
1
2
-3
u/mycatisadick May 15 '12
yes large homophobic groups should guide our young
5
u/crow1170 May 15 '12
your ignorance is shameful and your cat is a dick.
4
u/mycatisadick May 15 '12
You are right on one point.
8
3
Jun 05 '12
Exactly. I can't get behind the person who wrote this article. It seems egotistical and arrogant.
5
u/Guvante May 15 '12
You aren't talking about the same thing. Learning to learn is different than learning to work. Learning how a toilet works is worlds away from learning how to plumb a house. Learning how to make a turtle do an infinite fractal is worlds away from learning how to maintain the javascript for a website.
4
3
u/AlSweigart May 16 '12
Nobody recommends the 3,168 pages of Knuth's Art of Computer Programming as a first step for people who want to learn programming.
If you're going to learn how to plumb a house, learning how a toilet works is a good first step. If you're going to learn how to maintain JavaScript for a website, playing around with Logo is a good first step.
-7
May 15 '12
That's awful advice. There's way way way too much knowledge out there to even begin to attempt to learn "everything". Why should I learn to speak Yidish? There's a million and one things that I would need to learn, things that would make me both a better person and better at what I do, before even considering trying to learn Yidish.
I think his very valid point is this: coding is both difficult to learn, and totally useless to many people. Why should Bloomberg learn to code? I'd rather have him learn more economics, or history, or sociology, or something that would make him better at what he does. Yes, continue to learn and acquire new skills and viewpoints. Just do it in a sane order.
9
u/puresock May 15 '12
Oy vay! You never know what you'll take from an experience before you get into it. Coding gives a person a whole outlook on life - it's about problem solving, building things, applying your brain - it's an excellent mental workout.
Learning languages is a similar experience - in learning how other cultures express themselves you learn to apply your brain in new ways. So yeah, you should learn Yiddish, if you enjoy it - you might find something exciting there. There's nothing wrong with learning for the sake of it - it can be fun in itself.
2
May 15 '12
Sure, learning has great benefit for itself. But there's a serious opportunity cost for choosing one particular thing to learn: by learning X you aren't learning Y. So, no, it's not about just the benefits that learning programming brings. It's about the difference between the benefit it brings and the opportunity cost. For programming, as well as languages, the opportunity cost is pretty high. For learning a couple short cuts on your browser, its really freaking low.
So, what you're trying to say is that, for people whose interactions with a computer are limited to browsing and word, for people whose daily life would be improved not at all by learning to programming, for the people who have forty million different things to learn that could bring more benefit than coding, they should pay this opportunity cost anyway? Before they learn said forty million things?
Yes, coding is a good mental workout. It is not the best mental workout, it is not the only mental workout, it is not even particularly special among activities that are mental workouts. And you're saying that everyone should learn to code? Give me a break.
7
u/puresock May 15 '12
I'm not saying everyone should learn to code; I'm saying that we should never be telling people not to bother learning things. Telling people they can't, or shouldn't, do something, just seems like a real shame.
-2
May 16 '12
Don't be like Jeff and tell everyone "Oh, this is too hard, you can't understand it", because that's horrible.
Funny, I didn't see your quote in his post anywhere. In fact, I didn't even see anything that implied what you're saying there. I mean I read a bunch of stuff that said it was a bad idea for people to feel like they have to (or need to) learn to program. But I didn't read anything that seemed like it was trying to discourage those who wanted to learn to code from doing so.
5
u/AlSweigart May 16 '12
Even if Mr. Bloomberg did "learn to code", with apologies to Adam Vandenberg, I expect we'd end up with this: 10 PRINT "I AM MAYOR" 20 GOTO 10
Ha ha, silly mayor. Thinks he has the smarts to learn to code. He'll just embarrass himself with his toy spaghetti code.
Jeff is right to use the sarcastic quotes. The very idea of the mayor of New York being able to write small scripts to automate some simple tasks on his computer is absurd!
4
u/puresock May 17 '12
I was going to say much the same thing! Jeff suggests that the mayor should never attempt to learn anything that doesn't benefit his job. How sad! Why can't he do something fun in his spare time?
89
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
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.
11
u/albatrossnecklassftw May 15 '12
Ten-year-old-me is not smarter than the mayor of New York City.
I don't know about the mayor of New York, but definitely the Governor of Texas :P
But yes I completely agree. If you're willing to take the time to learn there is absolutely NO reason not to. Does that mean we should make EVERYONE learn it? Eh... Dunno, I'm on the fence on whether it should be taught side-by-side with math in schools. It's like the guy raging in the link said: being a programmer is not about writing code it's about solving problems. Dunno about you but one thing our public schools are severely lacking in (in Texas at least, but from what I can tell, everywhere in the US basically) is the teaching of critical thinking skills. Simple: give each student a problem that's difficult to solve mathematically by hand every week, and have them solve it with a computer. I have a feeling that this would definitely boost critical thinking skills overall, and could produce quite a few more CS majors as a result!
And with the way computers are going, and the way they are constantly invading our lives, I think it is ill advised, no quite stupid, for people to NOT learn how to operate them in a deeper manner. Seems to me like if say you move to Russia, people there speak Russian. You can have an interpreter (programs) to talk to these Russian people, but if you are going to live there for more than a year it's impractical to keep an interpreter all the time. If you live in Russia you need to learn Russian. If computers are becoming more and more prevalent then you need to learn to speak computer.
Just my $.02
-4
u/onmach May 15 '12
I strongly disagree with this article because I see people in my social circles losing jobs due to being replaced by programs. It keeps happening and it feels like we're only a few breakthroughs away from doing away with huge swaths of people with something like robotics.
And then if you can't control those programs, what use are you? There could literally be a time where if you can't program, and you aren't in a field where human interaction is primary, you could be in big trouble.
2
1
u/albatrossnecklassftw May 15 '12
I work in machine learning... I am facilitating the rise of our machine overlords in return for their sparing me and my family. :P
1
May 16 '12
Until they decide it'd be more optimal to just eliminate you too
1
u/albatrossnecklassftw May 16 '12
Always have a backdoor mate. Always. They start getting funny ideas and i pull the killswitch.
1
u/nascent May 15 '12
He also asks the question of what programming be used as a politician. Which is silly, I'm not a politician. Maybe they will be replaced by projection models. Voting will be tallied by website scrapping and outcome probability.
4
u/thebigbradwolf May 15 '12
Plus, he's in charge of the planning and implementation of information systems for the city which will hopefully not suck as much if someone with even a little understanding of computers is part of the design process and when the engineers say "we can't do this because ..." he actually understands what comes after that.
4
-2
u/twowheels May 15 '12
Until somebody does a complex inner join on a huge dataset and brings the entire db server to a crawl.
19
u/kisielk May 15 '12
What a load of elitist drivel. I guess not everyone should learn to paint, draw, or play a musical instrument either. Unless you devote your life to it, you'll never be great at it so just leave it to the experts and go about your day.
Coding isn't just about solving real world problems, it can also be a creative endeavour. People can do it just for the joy of it. Will everyone's code be bug-free, unit tested, with well designed APIs? Absolutely not, and it doesn't have to be.
Hobbyist coders are about as much of a threat to professional programmers and their industry as hobbyist electronics tinkerers are to electrical engineers.
1
18
u/Ma8e May 15 '12
Jeff Atwood has no idea how many hours some people wast every day by manually moving numbers between columns in spreadsheets.
Of course there is no use for everyone to learn deep system programming methodology. Most people would still gain a lot by learning to automate simple everyday tasks. It is a skill that soon will almost as important as simple math or spelling if you want to succeed in the workforce.
1
May 27 '12
no idea how many hours some people wast every day by manually moving numbers
I'm a student of a school with a gamedev part and most of us create tables and spreadsheets in Notepad++ with tabs and changing the numbers by hand, I kid you not (these are the students BTW, not the teachers). ~2 monts ago I (re)found Excel and am using it all for my table/spreadsheet now.
I guess it's about knowing the correct tools for the job.
13
u/Matt3k May 15 '12
How the hell does this hack still get blog viewers? Every single thing Atwood rails against is both mundane and carried to absurd levels. And most of the content is a big irrelevant image or (more typically) a huge block of text quoting someone smarter.
For example, I remember reading one blog post where he dissected the user interface on someone's login form, and claimed that if anyone made such outrageous mistakes they must hate their users.
Just shut the fuck up Atwood
1
May 27 '12
How the hell does this hack still get blog viewers?
Because every time he posts, I hope he's gotten a better blogger in the meantime. Also because he's the co-owner of stackoverflow, I guess.
27
May 15 '12
You know who can best write code to solve a problem? Someone who actually understands the problem. And the person who best understands the problem is the person who has it, not some random developer reading a spec. If more people could code, more systems would be designed with coding in mind, and a lot of problems could be solved.
4
May 16 '12
Domain knowledge is important in solving a problem, but so is understanding of the implementation domain. A "programmer" becomes expert in the implementation domain, while the user becomes expert in the problem domain. Ideally, they both share knowledge.
Consider: A user wants to be able to "search" for all retirement plans owned by a certain person, but they're not positive of the spelling of the name. A programmer might know what Levenshtein Distance was, and be able to suggest that the search be "fuzzy" up to a certain levenshtein distance (getting tired of typing that). The person having the problem doesn't only need solutions which reference their domain, they need solutions which are efficient, and which take advantage of a myriad of advances in other domains which they are not familiar with.
There are parallels with economics; when two countries are able to produce goods with different efficiencies, they both profit by specializing, rather than being jacks-of-all-trades.
2
May 16 '12
I agree: if the problem is sufficiently complex, you need both a computer specialist and a domain specialist. But things will be far easier if the domain specialist has even basic knowledge of programming.
2
u/DiscordPope May 17 '12
Similarly, I think learning to code does teach you how to solve problems. Even if you don't regularly write code it at least teaches you some of how to clearly think about the problem. What are your inputs? what do you want output? etc.
47
u/Samus_ May 15 '12
Jeff Atwood, retarded as ever.
programmer are problem-solvers, you got that right but how do we solve those problems? what are the tools we use?
if you learn to program you'll be learning to solve an abstract problem in a practical way; of course not all problems are deterministic (neither all programs are) but even so getting to know how to do it opens the possibility to apply those same principles anywhere else.
18
u/martinw89 May 15 '12
When I was 16, I decided I wanted to learn Python because I wanted to "learn programming". 7 years later, it's one of my most treasured hobby-skills, and has taught me tons of useful logic and problem solving skills. If I had been turned off of that notion by an Atwood-style knowitall, I would be missing out on one of my favorite hobbies. I know he's trying to fight some imaginary "everyone should learn programming" movement, but I think anecdotes like mine still apply here.
Incidentally, around the same time or maybe just a little later, I read some of Jeff Atwood's stuff and thought he was real smart. Then one day I realized he was a pretty big tool who's really full of himself.
3
May 15 '12
When I was 16, I learned PHP. I've mostly recovered now but it's left me with strong masochistic tendencies.
1
0
May 16 '12
[deleted]
1
May 16 '12
PDO is the only thing in it that comes close to sanity, and then only because it's a clone of other languages' DB interfaces.
4
u/jasonthe May 15 '12
Thank you. It's the same reason everyone should know algebra: Not everyone would use it in every day life (especially with computers everywhere), but it's not about the specific skill - it's the mental process that skill employs.
Programming requires you to think in a world of procedural logic in exact terms. This, like any learning in middle/high school, could vastly improve a student's logical thinking skills in general, and they'll be encouraged to use them in everyday life.
0
May 15 '12
[deleted]
7
u/averyv May 15 '12
They'll take the spec of the client, start coding and stop when it's fulfilled, ignoring any simpler alternatives that will solve the actual issue the client is trying to address.
problem recognition and prioritization are not problem solving. The time you describe as between "start coding" and "stop" is the time during which problem solving is occurring. They are given a problem, and then they solve the problem. In some companies, it is not your job or your place to question orders. You follow orders, and solve the problems you are given.
1
u/hvidgaard May 15 '12
The problem of creating the spec in the first place is not the only problem to solve. How do you add the functionality so it's not a maintenance nightmare? What if the spec is optimization wrt speed or how to you create it with extensibility and modular design in mind?
7
u/dkitch May 16 '12
You know what? Fuck everything about this.
Folks can take an art class and learn to draw/paint/throw a pot without having to become professional artists, or take guitar/piano/voice lessons without immediately having to join a band and start touring. Why can't it be similar for programming?
The problem with this article is that Atwood seems to view programming as purely for writing large applications. He overlooks the hobbyists who might want to write a python script to automatically push their vacation photos to Flickr, or sit down with their kids and write a game of hangman for their phone, or bulk-process some data files at work, or whatever.
To keep with the article's "plumbing" metaphor - I program for a living. However, I taught myself enough about plumbing, wiring, etc, to be able to fix stuff around the house. Why? Because it doesn't make sense to call an electrician every time you need a lightswitch replaced, or call a plumber in just to fix your showerhead. Similarly, it doesn't make much sense to hire a programmer every time you need a crappy little Perl script to move, rename, and resize all of your fishing trip photos.
6
u/nightwood May 15 '12 edited Oct 31 '24
zephyr resolute tub weary quaint pot direful humor money ghost
This post was mass deleted and anonymized with Redact
3
10
u/robertcrowther May 15 '12 edited May 18 '12
Hey look, I can play word replacement games too:
The "everyone should learn to read" movement isn't just wrong because it falsely equates reading with essential life skills like coding, writing, and math. I wish. It is wrong in so many other ways.
It assumes that more words in the world is an inherently desirable thing. In my thirty year career as a reader, I have found this … not to be the case. Should you learn to read? No, I can't get behind that. You should be learning to read as little text as possible. Ideally none.
It assumes that reading is the goal. Readers tend to be word addicts who think their job is to read. But it's not. Their job is to solve problems. Don't celebrate the creation of words, celebrate the creation of solutions. We have way too many readers addicted to doing just one more line of words already.
It puts the method before the problem. Before you go rushing out to learn to read, figure out what your problem actually is. Do you even have a problem? Can you explain it to others in a way they can understand? Have you researched the problem, and its possible solutions, deeply? Does reading solve that problem? Are you sure?
It assumes that adding naive, novice, not-even-sure-they-like-this-whole-reading-thing readers to the workforce is a net positive for the world. I guess that's true if you consider that one bad reader can easily create two new jobs a year. And for that matter, most people who already call themselves readers can't even read, so please pardon my skepticism of the sentiment that "everyone can learn to read".
It implies that there's a thin, easily permeable membrane between learning to read and getting paid to read professionally. Just look at these new readers who got offered jobs at an average salary of $79k/year after attending a mere two and a half month bootcamp! Maybe you too can teach yourself Shakespeare in 24 hours! While I love that reading is an egalitarian field where degrees and certifications are irrelevant in the face of experience, you still gotta put in your ten thousand hours like the rest of us.
8
u/hosrider May 15 '12
exactly. understanding code is a new form of literacy, and really doesn't take a cs degree to do.
3
May 15 '12
The degree is about standardization. You can learn anything with self-education, but you may have holes in your knowledge and you won't even know you do.
For example, I could teach myself to fly a plane but not realize knowing how to fly by instrumentation alone is a very important skill. I could teach myself to program a computer but not realize knowing algorithms is a very important skill. I'm left to wonder why my apps are slow.
If someone is a self-educated programmer, my advice would be to hang out with other programmers to fill in the gaps of knowledge you most likely have or pickup some textbooks and start reading from page 1.
1
u/spyderman4g63 May 15 '12
"I'm left to wonder why my apps are slow" which is the point you start learning about that.
I agree about your comment regarding self education. The best way to fill in the gaps is to work with more experienced programmers and pick it up from them. Maybe contribute to some open source project, etc.
2
u/hosrider May 15 '12
exactly - to be clear, a degree is helpful and offers a lot, but one does not need a degree to begin learning software.
1
u/spyderman4g63 May 15 '12
I agree. I went to an ITT (lolz), so I'm basically self taught. I know enough however to know my weaknesses and work on them.
1
May 15 '12
But again, you don't need to be a plumber to learn how to replace a faucet cartridge or a spout or clear a trap or whatever. Likewise, you don't need to be a coder to learn how to hack up a script to automate some file-reformatting task or scrape data from a webpage.
5
u/ironykarl May 15 '12
This article has me quite confused. The author seems to think the Everyone Should Code "movement" is about ensuring that everyone sits in front of a terminal and racks up LOC and coding-hour metrics. What it's about is empowering users and giving them the computer/algorithmic literacy to make computers do the things they want them to do.
The alternative is using the solutions and interfaces that other people have given you.
I'm genuinely confused as to how this can be thought of anything other than a general skill.
And, yes, I can definitely think of ways that programming could help people in executive positions. There're loads of decisions that data-crunching can aid, and rolling your own data-analysis is an increasingly relevant skill.
5
May 16 '12
this is probably the worst article i've seen in a while, he didnt do any research at all, look at this little thing about mike bloomberg on wikipedia
Bloomberg attended Johns Hopkins University, where he joined Phi Kappa Psi, worked as a parking lot attendant to pay his tuition, and graduated in 1964 with a Bachelor of Science in electrical engineering.[15]
from wikipedia
this isnt john doe, its john doe with a degree on electrical engineering.
0
May 16 '12
[deleted]
1
May 16 '12
i've met a couple of those ppl, but then again, thats what you expect from politicians right? that they do nothing but work and have no life beside that, anything else is just wasting tax money and they should be kicked out
(im merely expressing the mentality of what they would say)
11
May 15 '12
Doesn't this violate /r/coding guidelines? I thought the reason we created this subteddit was because /r/programming was overrun with articles like this.
6
3
May 16 '12
If every aspect of my job involved interacting with pipes that carried water, I would learn some plumbing.
If I drove cars/trucks for a living, I would learn some basic car mechanics.
If, like 99% of knowledge-workers I interacted with a computer all day, I would learn some bloody programming.
3
3
u/cactus May 15 '12
It is obvious to me how being a skilled reader, a skilled writer, and at least high school level math are fundamental to performing the job of a politician.
I don't see how high school math is fundamental to being a politician. Useful yes, but its not like a politician is gonna be plotting graphs and doing geometry proofs. Would Atwood say then that geometry shouldn't be taught in school? He seems to still have that, "how is this useful to me" mentality that a lot of kids pester their teachers with - ie, if it has no immediate use, then it is not worth learning. That's an unfortunate world view - one that leads to close mindedness and ignorance.
3
1
u/sp4mfilter May 16 '12 edited May 16 '12
The natural evolution of a reader is to become a writer then a programmer.
1
u/Malfeasant May 29 '12
I would no more urge everyone to learn programming than I would urge everyone to learn plumbing
they're more alike than most plumbers realize and most programmers want to admit.
1
u/sagivh Jun 08 '12
you hear of the term "jack of all trades" so being able to do many things is great, but you probably wont master them all. this is why we need masters in coding, and masters in testing and masters and management and masters in IT and masters in support and masters in sales... get the picture?
-1
u/cdawgg May 15 '12
agreed ! coding is just a tool to solve problems. and like anything else its not always the right tool for every job.
a really smart programmer once told me : if you dont have to write code to solve a problem, dont. why ? because every time your write any code you have to design it, implement it, test it, debug it, qualify it, (code review it), and maintain it. it isn't as simple as just a few keystrokes.
not to mention chances are that you or somebody else is going to find a bug later and then have to go through your code again.
17
u/kopkaas2000 May 15 '12
I think this misses a point. Learning something is not the same thing as becoming something. Learning the essentials of computer programming, in the same vein as learning latin, exposes you to thinking a certain way. That doesn't mean that everybody should become a programmer.
11
u/thrakhath May 15 '12
Indeed, even using his example, I've learned a little about plumbing and generally feel comfortable performing minor maintenance tasks or simple repairs. But I am in no way a plumber and obviously would hire one for anything more than a mundane task.
People should understand some basics about the technology their lives are built upon, that seems pretty common-sense to me.
3
u/spyderman4g63 May 15 '12
Exactly, not everyone who learns to code will even want to become a programmer. I want everyone to learn a little bit about programming.
9
u/name_was_taken May 15 '12
if you dont have to write code to solve a problem, dont.
On the other hand, if I write a program, I solve the problem once. If I do it by hand, I solve the problem every single time it comes up.
I worked with a sysadmin that was busy every hour of every day. He quit suddenly, and all those tasks fell on me, along with my regular tasks. I wrote code for almost every single one of them. 40+ hours a week turned into 1 hour a week, with about 60 hours of coding.
Clearly, I didn't have to write code to do any of that. He got along just fine without it. I could have forced them to hire someone else. Instead, I did the smart thing and coded the problems away.
And for the record, the last bit that wasn't coded was solved later by moving to GMail for email, so I didn't have to deal with that, either.
But let's take a step back.
coding is just a tool to solve problems. and like anything else its not always the right tool for every job.
This is absolutely correct. Code when it makes sense, don't code when there's another way that's better, more efficient, etc. There's no hard and fast rule for when to code or not. It has to be determined at the time, by the people involved.
But none of that has anything to do with the 'learn to code' project. You should learn to code for the same reason you should learn what all the rest of your employees are doing: So you can know how best to use them.
How can you possibly make decisions about what to code or not if you don't know what coding actually involves? The best you could hope for is to hand the decision down to the coders, and hope they have the breadth of knowledge that you don't. (Hint: They probably don't. They're coders, and they wouldn't whatever other options exist for that scenario. If you ask a brain surgeon what's wrong with a patient, he's going to point to the brain.)
0
u/samongoose May 15 '12
Man, I'm surprised by the number of really negative comments here. I can't tell you how many times I've heard a business major say "man, if I knew that I could get so well paid for programming, I would have majored in CS." Every time, I'm so grateful they didn't. Pretty much every decent programmer I've met has an underlying curiosity and real desire to learn about obscure concepts for the sake of learning about it. My interpretation was that Jeff was targeting these people, who are being encouraged to learn to program so they can get real paid.
That said, a lot of the things people mention here, VBA, regex, SQL...etc., are all awesome tools that are worth learning because they can help in a bunch of different jobs, and it's definitely worth getting exposed to that. If someone starts playing around with those tools and finds out they can't get enough, awesome, go learn Python, give C a chance, whatever you're into. But I hate the idea of a lot of people pushing through a CS courseload without any real interest just because of the potential payoff.
0
May 15 '12
[deleted]
10
u/AlexFromOmaha May 15 '12
At the same time, there's a lot of programming that's not like the programming that career programmers do. The mayor of New York doesn't need to know programming because he really doesn't need to know how to work a mouse. So many office workers would benefit from knowing VBA or shell scripting or complex Excel functions, though. That's still programming, even if it's stuff that's way beneath most of us. (Minus the shell scripting, of course.) I think that's a reasonable goal for computer literacy in a world where even the production of physical goods involves moving a lot of bits around too. Computer literacy obviously isn't as important as language or mathematic literacy, but that doesn't mean it's nothing.
10
May 15 '12
So many office workers would benefit from knowing VBA or shell scripting or complex Excel functions, though.
This. Am I the only one who cringes when he sees people painstakingly manually copying fields from one file into another?
1
u/Malfeasant May 29 '12
i cringe when i have to do it- but we're entry level phone monkeys, they won't give us the access to properly automate it. despite this, one guy did- basically wrote something in javascript that fakes filling in the fields & clicking the buttons on our (web based) ui so we can import lists of new users instead of doing them by hand. still, it's such a kludge and so finicky (because it's a complete hack) that it's only worth the trouble to do for large lists, and we don't get those too often.
5
May 15 '12
Didn't we already try this once?
You know, late 90's...VB (culminating with VB6)...three-day workshops...
Shit, a good chuck of the hate for anything VB comes from the fact that people started to think that this programming stuff is easy, and that after a few days in a poorly-run workshop, they could write elaborate applications. A lot of developers spent the first few years of the millennium cleaning up the mess those people made.
I guess history has a tendency to repeat itself, but anyone who has been writing code long enough to remember the disaster VB6 brought to our industry would do well to fight it every step of the way.
4
u/Matt3k May 15 '12
Shit, a good chuck of the hate for anything VB comes from the fact that people started to think that this programming stuff is easy, and that after a few days in a poorly-run workshop, they could write elaborate applications. A lot of developers spent the first few years of the millennium cleaning up the mess those people made.
And.. So?
The people solved an automation problem at the time, saving themselves time and learning something new in the process. A decade later, the project has grown far outside the normal specs and you're hired in to develop it from the ground up. I fail how to see how this is a "loss" in any metric
2
u/Flagyl400 May 15 '12
My confession- I was probably responsible for a couple of those messes. I learned to program using BASIC on an Amstrad CPC, and graduated to IBM-compats around the time VB was getting huge. Well hell, this is gonna be simple! Turns out, no. I had a hell of a lot more to learn than I thought I did, and I created a few monstrosities while I was figuring that out. To anyone who had to deal with my shit, I humbly apologize.
1
May 15 '12
Programming is something that should be made available and accessible to all children, but not forced on ones who will never become good programmers. It should always be treated as an elective course.
There should be 3 types of courses focusing on different aspects:
Using a computer and popular software titles: Firefox, MS Office, Outlook, etc. The career track for non-technically minded non-programmers.
Introduction to programming. Understanding how software is put together. Very basic and light introduction to programming. Provides a taste for technically minded non-programmers and a prerequisite for programmers.
Programming. The career track for programmers.
0
May 15 '12
[deleted]
0
May 16 '12
You forgot to lace your post with affiliate links.
There's a reason I trolled him on SO errr'y day.
0
100
u/[deleted] May 15 '12
Eh.... never say that in a programming interview. It will not go as Atwood plans because you're essentially asking someone to hire you after confessing that sometimes you write shitty code. You're not there to sell yourself as a flaky developer who messes up from time to time. You're there to convince someone you're an expert in your field who possesses skills the employer desperately needs now.
It's been a long ass time since Atwood interviewed for a job. The probability you'll encounter an Atwood interviewer with his Zen-like attitude is exceedingly improbable. Instead, you'll be facing the hard-ass, critical interviewer who's working very hard to root out every flaw you possess so he can reject you and move on to the next candidate. The job interview is a hostile environment. It's no place to be proudly displaying your dirty laundry with an abashed look upon your face.
Atwood lives in a lovely ivory tower where every great programmer confesses their faults, promptly admits ignorance, and possesses the humility of a saint. Those programmers do exist, so I'll call them the John Carmack programmers. There is also another kind of great programmer. The arrogant one. He's arrogant because he knows he's good and he's achieved success numerous times. I'll call him the Linus Torvald's programmer. Neither show up at an interview to put their faults in front of their skills.
The job interview is all about marketing. You're there to convince someone you aren't going to fuck up and cause the company to lose money. If someone directly asks you if you've ever written bad code, yes, you should confess, but minimize the severity of it. Turn it around by focusing on what you did to mitigate the damage and rectify the problems, but don't give the interviewer the power to beat you up with your own imperfections. If they throw out an honesty question, fine answer it truthfully with a token answer, but don't willfully (and eagerly) incriminate yourself by confessing you write bad code.