Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

Pluvious

(4,750 posts)
Mon Sep 2, 2024, 01:12 PM Sep 2

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...

One day in 2017 I had a realisation that seems obvious now but had the power to shock back then: almost everything I did was being mediated by computer code. And as the trickle of code into my world became a flood, that world seemed to be getting not better but worse in approximate proportion. I began to wonder why.

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? I’d 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 cryptocurrency’s 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.
6 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Book excerpt: "I learned the language of computer programming in my 50s - here's what I discovered" (Original Post) Pluvious Sep 2 OP
Really interesting article. LisaM Sep 2 #1
Isn't it about the latest, updated version of html now? brush Sep 2 #2
They are not, to my knowledge. Those are the classes I took. LisaM Sep 2 #3
There are still a few... Pluvious Sep 2 #4
Visual Basic is what underpinned MS Word and other Office applications for years dickthegrouch Sep 2 #5
Learn one language and others become easier to learn. usonian Sep 2 #6

LisaM

(28,522 posts)
1. Really interesting article.
Mon Sep 2, 2024, 01:25 PM
Sep 2

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,219 posts)
2. Isn't it about the latest, updated version of html now?
Mon Sep 2, 2024, 01:33 PM
Sep 2

Are Basic, Fortran and COBOL even used anymore?

LisaM

(28,522 posts)
3. They are not, to my knowledge. Those are the classes I took.
Mon Sep 2, 2024, 01:36 PM
Sep 2

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,750 posts)
4. There are still a few...
Mon Sep 2, 2024, 02:11 PM
Sep 2

... 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,513 posts)
5. Visual Basic is what underpinned MS Word and other Office applications for years
Mon Sep 2, 2024, 03:24 PM
Sep 2

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,540 posts)
6. Learn one language and others become easier to learn.
Mon Sep 2, 2024, 03:27 PM
Sep 2

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!

Latest Discussions»Culture Forums»Open Source and Free Software»Book excerpt: "I learned ...