A Middle-Aged Writer's Quest To Start Learning To Code For the First Time (1843magazine.com)
OpenSourceAllTheWay writes: The Economist's 1843 magazine details one middle-aged writer's (Andrew Smith) quest to learn to code for the first time, after becoming interested in the "alien" logic mechanisms that power completely new phenomena like crypto-currency and effectively make the modern world function in the 21st Century. The writer discovers that there are over 1,700 actively used computer programming languages to choose from, and that every programmer that he asks "Where should someone like me start with coding?" contradicts the next in his or her recommendation. One seasoned programmer tells him that programmers discussing what language is best is the equivalent of watching "religious wars." The writer is stunned by how many of these languages were created by unpaid individuals who often built them for "glory and the hell of it." He is also amazed by how many people help each other with coding problems on the internet every day, and the computer programmer culture that non-technical people are oblivious of.
Eventually the writer finds a chart of the most popular programming languages online, and discovers that these are Python, Javascript, and C++. The syntax of each of these languages looks indecipherable to him. The writer, with some help from online tutorials, then learns how to write a basic Python program that looks for keywords in a Twitter feed. The article is interesting in that it shows what the "alien world of coding" looks like to people who are not already computer nerds and in fact know very little about how computer software works. There are many interesting observations on coding/computing culture in the article, seen through the lens of someone who is not a computer nerd and who has not spent the last two decades hanging out on Slashdot or Stackoverflow.
Eventually the writer finds a chart of the most popular programming languages online, and discovers that these are Python, Javascript, and C++. The syntax of each of these languages looks indecipherable to him. The writer, with some help from online tutorials, then learns how to write a basic Python program that looks for keywords in a Twitter feed. The article is interesting in that it shows what the "alien world of coding" looks like to people who are not already computer nerds and in fact know very little about how computer software works. There are many interesting observations on coding/computing culture in the article, seen through the lens of someone who is not a computer nerd and who has not spent the last two decades hanging out on Slashdot or Stackoverflow.
I didn't realize steampunk ran on python. You learn something new every day.
The Economist's 1843 magazine details one middle-aged writer's (Andrew Smith) quest to learn to cook for the first time, after becoming interested in the "alien" logic mechanisms that power completely new phenomena like oven cooking and effectively make the modern world function in the 21st Century. The writer discovers that there are over 1,700 actively used recipes to choose from, and that every chef that he asks "Where should someone like me start with cooking?" contradicts the next in his or her recommendation. One seasoned chef tells him that chefs discussing what recipe is best is the equivalent of watching "religious wars." The writer is stunned by how many of these recipes were created by unpaid individuals who often built them for "glory and the hell of it." He is also amazed by how many people help each other with cooking problems on the internet every day, and the kitchen chef culture that non-technical people are oblivious of.
Eventually the writer finds a chart of the most popular recipes online, and discovers that these are Beef,Chicken and Pork. The syntax of each of these recipes looks indecipherable to him. The writer, with some help from online tutorials, then learns how to cook a basic recipe that tastes a lot like orange hair marmalade with small hands. The article is interesting in that it shows what the "alien world of cooking" looks like to people who are not already kitchen nerds and in fact know very little about how the chemistry of cooking works. There are many interesting observations on cooking/chef culture in the article, seen through the lens of someone who is not a cooking nerd and who has not spent the last two decades hanging out on BigCookDot or Potoverflow.
I guess some things never change:
Well, my computer makes my dog look like Albert Einstein. I plugged it in and turned it on, and instead of going to work on my telephone-company letters, it started asking a lot of idiot questions, such as what day it was. So I typed in the following computer program:
NEVER YOU MIND WHAT DAY IT IS. WHAT I WANT YOU TO DO IS STRAIGHTEN OUT ALL MY FILES AND COME UP WITH A NICE HEALTHY LIST OF MY TAX DEDUCTIONS, TAKING PAINS TO GIVE ME, RATHER THAN THE INTERNAL REVENUE SERVICE, THE BENEFIT OF THE DOUBT, BUT NOT CLAIMING ANYTHING THAT WOULD LAND ME IN THE SLAMMER, IF YOU GET MY DRIFT.
And the computer said:
SYNTAX ERROR
Do you believe that? This machine that doesn't even know what day it is tells me, the paid professional writer, that I have a syntax error.
Coding is about a way of thinking... not about a particular language. Pick one that lets you get started quickly and doesn't require you to understand objects etc just to do your first simple program. This is why BASIC was great... it got kids going quickly and gave them a nice simple slope into more complex subjects and ambitious stuff:
10 print "hello"
20 goto 10
Also, ignore 99.9% of the stuff you get as advice. I remember back in the mid-2000s... I read some Gentoo Linux nuts advising people wanting to get off Windows that Gentoo was the right choice - definitely. It will compile up from source... and it only takes about 15 hours to install - and oh, BTW, you should make sure you set CFLAGS to "-march=x86_zzxxxy_intel -O9999".
Shut up zealots.
We all know that crap is king
Give us dirty laundry!
is accessible literally to every single person on Earth.
It's trivial. Even actors can learn it.
I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
Logo.
Basic.
Pascal.
Ada.
Lisp.
Finally move to todays most best and newest trendy online app ready gui app code that can really code for apps.. ready for a big fast gpu with many cpu cores..
Avoid any new trendy code that comes with strange political demands as part of "using" the code.
Domestic spying is now "Benign Information Gathering"
1843 Magazine is a bi-monthly cultural magazine published by the Economist Group. The Economist began publication in 1843. Unfortunately, managers there are apparently not aware that 1843 is a misleading title.
Andrew Smith, the author of the article Slashdot is reviewing, seems to have no deep knowledge of technology, and no serious interest in learning. He just wants to write about it. He reminds me of Walter Isaacson, who wrote about Steve Jobs of Apple.
The Economist magazine has useful articles.
The Economist had a sense of humor about mergers by featuring camel sex on the cover.
I'm probably going to get shot down over this and get -1 as troll, but IMAO you cannot make a great programmer unless you've taken some college courses specifically related to computer science. That is in addition to having a passion for problem solving and tinkering with anything and everything. This comes from mostly anecdotal instances of people I have ran into in my over 30 years as a computer programmer.
Taking courses at a college level teaches you the intricate programming concepts and algorithms. Without taking data structures, assembly, operating systems, OOP, and so on at a college level, you're already at a disadvantage. Can you program a Windows/GTK application without taking those courses? Most likely. Can you write device drivers and system routines? No. "How do I sort this list?" Well, that depends on how fast it needs to be sorted, how much memory you have available, how big the list is, etc. "I'm making a list." Does it need to be an array of structures? Does it need to be a linked list? Does it need to be a doubly linked list? Does it need to be a binary tree? Does it need to be a tree? Most programmers don't have to deal with any of this stuff, but then again most programmers aren't great programmers.
I have ran into many programmers that didn't get their degree in computer science and didn't take any computer science courses in college, and they all fall in the same level. Mediocre. Again, anecdotal and stereotypical, but I'd wager that it's correct almost all the time.
My suggestion to the OP would be to (since middle ages is still not too old to become a great programmer, as long as you meet the other criteria of being a tinkerer) take some college courses in computer science. Over 1700 languages doesn't mean shit if you don't understand the concepts of programming (although concepts of something like LISP would be completely different than OOP and other traditional languages). Once you learn the concepts, then the rest is just syntax and concepts specific to the language you're learning, but without the basic concepts, you have no ground to stand on.
Is that a roll of dimes in your pocket or are you happy to see me?
Yes, 1843, that sounds about the right year for this article to have been written
So the article is about his struggles learning Fortran?
Start with Perl6 but first listen to one of Larry Wall's lectures on postmodern programming.
I'm not going to lie Perl6 is probably the best general purpose programming language in existence right now yet I still feel a childish need to be dismissive because I can't be bothered to take the time to learn it. Even if I did it would mean shit for my "career". Just writing "Perl" on a resume is a death sentence.
In other words don't ask Slashdot for advice on learning to code. Half the people here think cutting and pasting "JavaScript" and "HTML" from stack overflow is "programming". The other half know their shit and are real snobs about it. They will make fun of you if you don't use a functional language and correctness proofs.
The average American reads at the sixth or seventh grade level. The Econmist is college level. If you want to improve your reading comprehension, read The Economist or The Wall Street Journal. I wouldn't worry about his coding. His comments might be more readable than most comments by programmers.
Stack Overflow was created in 2008, so there can't be a lot of people who have spent two decades "hanging out" there.
This guy is almost unreadable. And apparently he's a professional author. I shudder to think what his coding attempts will be like.
Look like you didn't read the article, because the code is provided at the end. While simple, the code looks very readable. Nothing like the unreadable mess you'd expect from a beginner. Of course it helps, that Python forces indention on you so you have to indent your code or it won't run,
I'm a professional software programmer/engineer and I shutter to think what might happen if society can't understand how all of the complex computing machinery works. Or gives up because of the overwhelming complexity.
But seeing articles like this gives me hope. It means that we are successfully simplifying/explaining the really difficult bits and allowing more creativity to be layered on top of the complex parts. The author didn't need to know any details about how Twitter, the web, or tcp/ip works in order to build his search app. That's pretty cool.
It was sad that he gave up on coding a website because there were too many braces in JavaScript. I guess that with practice the braces fall away and the underlying logic shines through. If he wants to get really shook up, he should check out LISP, the ultimate symbolic language. The parentheses will either break him or make him experience true programming bliss.
Fuck the normies, post about his experiences with CMake and VB6 or it's not even amusing.
Well, you might beat Mangus, but you certainly wouldn't beat Magnus.
I am sure that there are many other solipsists out there.
I'm a professional software programmer/engineer and I shutter to think what might happen if society can't understand how all of the complex computing machinery works.
The guy who wrote the article we're commenting on is a professional writer and probably shudders to think of what people have done to the language.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
I seem to recall asking a lot of what you might call "wrong questions" when I first took an interest in coding.
Asking what is the best way to learn how to program is a perfectly sensible question for some one completely unfamiliar with any kind of programing. Hopefully some one then comes a long and gives the newb some proper guidance.
I ignore Anonymous Coward posts. If you want to discuss something, that's awesome. Log in.
"difficult to pick up in a few hours" Obviously you did not read the /. summary (which says nothing about "a few hours") nor the original article (which mentions a month of learning at one point, not including the preliminary research on which language to learn, nor the time spent in coding his app). The original article does mention "A few hours on freeCodeCamp, familiarising myself with programming syntax and the basic concepts", but that was a tiny portion of his overall effort.
Unreadable, you must be joking! (and yes, I did read the original article, and I found it quite readable)
I liked TFA. Figuring the world runs on code and it's worth nuderstanding then going out and learning---that's exactly the sort of thing which it's great if people do.
It was sad that he gave up on coding a website because there were too many braces in JavaScript. I guess that with practice the braces fall away and the underlying logic shines through.
Eventually, but for beginers, nothing just falls away so everything becomes a barrier. I've been writing in curly brace languages for over 20 years so they don't bother me. For beginners you have to take in a whole chunk in one go before you can really do anything at all.
he wants to get really shook up, he should check out LISP, the ultimate symbolic language. The parentheses will either break him or make him experience true programming bliss.
I've poked at LISP a few times. I know the principles but I never really came to like it. I kind of found that providing basically nothing by flexibility it wasn't really anything except something to implement a language in---and there are already plenty of those and some pretty nice ones. Plus I like infix notation.
About the best takeaway though was if someone starts telling you "code is data and data is code" then best response is to look confused for a moment then say "oh you mean like machine code?".
SJW n. One who posts facts.
How could you have problems with Boolean logic after a programming class and a data structures class? They must have picked a really lousy text.
I think we've pushed this "anyone can grow up to be president" thing too far.
+1!
If you want to improve your reading comprehension, read The Economist or The Wall Street Journal
Frankly, I find the poorly written stuff, such as fan fiction, much harder to read than Anna Karenina. It takes a much better reader to make sense of crack fiction or Trump's tweets. To make an analogy, any ordinary pilot can land the most advanced aircraft at the world's most sophisticated airport, but it takes an amazing one to land an engineless plane in the Hudson River.
This guy seems to think that Python has functions, whereas C++ doesn't. He claims that repetitive operations in C++ require coding the same lines over and over.
If he's that misinformed, it kind of ruins his credibility. A perfect example of Dunning-Krueger -- he learned a little and thinks he knows a lot.