Book excerpt: "I learned the language of computer programming in my 50s - here's what I discovered"
A fairly entertaining read (about a ten minute read)
Excerpt from: Devil in the Stack: A Coding Odyssey by Andrew Smith is published by Grove Press (£16.99)
https://www.theguardian.com/technology/article/2024/aug/31/learning-computer-programming-language-coding-devil-stack-andrew-smith
First four paragraphs...
Two possibilities sprang immediately to mind. One was the people who wrote the code coders long depicted in pop culture as a clan of vaguely comic, Tolkien-worshipping misfits. Another was the uber-capitalist system within which many worked, exemplified by the profoundly weird Silicon Valley. Were one or both using code to recast the human environment as something more amenable to them?
There was also a third possibility, one I barely dared contemplate because the prospect of it was so appalling. What if there was something about the way we compute that was at odds with the way humans are? Id never heard anyone suggest such a possibility, but in theory, at least, it was there. Slowly, it became clear that the only way to find out would be to climb inside the machine by learning to code myself.
As a writer in my 50s with no technical background, I knew almost nothing about how code worked. But I had come across and been intrigued by coders when writing a magazine feature about bitcoin a few years before. The cryptocurrencys pseudonymous creator, Satoshi Nakamoto, had left few clues as to his identity before vanishing. Yet he had left 100,000 lines of code, which I found his peers reading like literature. I learned that there were thousands of programming languages used to communicate with the machines, including a few dozen big ones whose names tended to suggest either roses or unconscionably strong cleaning products (Perl, Ruby, Cobol, Go), and that each had its own distinct ethos and cultish band of followers, parlayed into subcultures as passionate and complete as the youth subcultures punks, mods, goths, skinheads I grew up with.
LisaM
(28,594 posts)I took some programming classes back in the day - Basic, Fortran, COBOL, the available languages at the time - and peripherally associated with some early programmers. I was never quite able to put my finger on how I could never completely connect (I was an English major) with these people, some of whom were my friends, but this explains it somewhat. They aren't put off by the non-human aspect of computing, but a lot of people are, probably without realizing why. Very illuminating.
brush
(57,471 posts)Are Basic, Fortran and COBOL even used anymore?
LisaM
(28,594 posts)That was what was available in the early to mid 80s. I have since taken an HTML class, though even that is fading in my mind. I am not a programmer. I just enjoyed the description of the programming community and how algorithms work in the article.
Pluvious
(4,752 posts)... legacy systems running ancient production code in COBOL, not sure about Fortran tho
The COBOL programers are well paid from what I recall lol
There is a great content creator Fireship, who specializes in super short pieces on different languages:
https://www.youtube.com/@Fireship
If I was yo master a new now it would be RUST, that is really an amazing one
Cheers
dickthegrouch
(3,547 posts)These days they've all been rewritten in HTML, with even more bugs than in the classic forms.
And pushed to "the cloud" so that nefarious persons can either monitor, or outright steal, all your creativity for their own purposes.
If any of the cloud storage providers had any integrity whatsoever, they'd allow the user to create their own encryption keys, not create, and store, them for you.
Better yet, they'd design an operating system and applications that actually followed the mantra of "Secure by Design, and Secure by Default" coined by the authors of GDPR back in 2013 or so.
usonian
(13,772 posts)It is interesting to note that perl, ruby and python all got their start at roughly the same time.
I think I started out with Fortran pre-1970, and got into BASIC and C with the advent of microcomputers. I still have BASIC on the devices and computer just because it's consistent, and calculators vary a lot.
Since I did a lot of sysadmin work, I used mostly shell and perl. I recall using perl3, because it did so much more than Unix command line utils. I got a lot done in a hurry.
As for name dropping, I did meet Larry Wall, father of perl, either "pathologically eclectic rubbish lister" (says Larry) or practical extraction and report language. Perl "instituted" the regular expression as a major programming factor, way more so than Unix utils.
Larry invented it when working at netlabs as a way to extract messages from network monitors. Much later, I used some network monitoring software that uses perl as an extension language. The company had bought netlabs, closing that circle.
I also met Leor Zolman, who wrote a C compiler for 8080 microcomputers.
Not much of a programmer per se, I found out the following:
When perl made the transition from 5 to 6, it changed names and stopped being a dumb-ass executable you put in your path, so I lost interest. Sorry, Larry.
Python makes indentation a real big deal.
If you want to get started, download Jupyter Notebooks. Called Carnets on ipad. Come with loads of great libraries inside.
Ruby is terribly interesting because objects are more equal, but I never had the need. Ruby on Rails framework is popular. Look up "DHH" for why.
I worked for Sun, so I still wear the famous Java Jacket and cap. Java is still a massive workhorse for companies, and an interpreted version, groovy, is really groovy. It's interpreted, like BASIC, but has access to the zillions of tested java libraries.
Just for fun, download Knoppix, if you want to try a bootable linux image that has loads of languages and utilities included. You don't have to install, but I mention it because as part of my cleanup/downsizing, I just fired up an ancient Compaq laptop that I installed Knoppix 8.6 on. It works great.
You can download the latest java from Oracle, which bought Sun after I left, for free. You can download languages with environments from activestate.com. Python, Perl, Ruby and Tcl.
Tcl was invented by John Ousterhout at Berkeley, and it's a blast.
Here's its history, from John Ousterhout himself.
https://web.stanford.edu/~ouster/cgi-bin/tclHistory.php
Have Fun!