News for hackers. Stuff that matters.
Re:Programming in 1987 versus Today by piaste on Wednesday January 05, 2022 @04:30AM (#29806935)
And Perl's first release was in... 1987.
Re:Programming in 1987 versus Today by Ovid on Wednesday January 05, 2022 @04:43AM (#29807032)
Yes, late December, 1987, after the events I describe. It was released on Usenet, as I recall. I didn't even know what Usenet was back then. For me, it was pretty exciting to dial up a BBS, crash their software, and read through the code that the BBS was written in (and later contact the sysop to tell them how to replicate it).

I doubt I could have even compiled the software onto a COCO 2 computer.

Re:Programming in 1987 versus Today by piaste on Wednesday January 05, 2022 @11:35AM (#29811162)
Sure, it's just funny that your example of "thirty years later" is code that someone could in principle have written in the same year (well, almost - I imagine Perl 1 might require some changes from the Perl 5 version).

If I had to show how far we've got since then, and how different the experience could be for a novice programmer, I think I would display a .GIF where I press F12 in the browser, and write two lines of Javascript in the console, something like:

    var words = await fetch("some online JSON dictionary").json();
    var lexed = "insert sentence".split(/punctuation regex/).map(w => words.indexOf(w));
I don't write JS habitually and I'm on my phone so it's probably got some mistakes, but you get the idea!