An excellent documentary on the genesis of BASIC (with just a touch of chest-thumping on the part of Dartmouth College).
15 March 2023
22 October 2022
CHUNK
09 October 2022
BWK
06 November 2021
Maybe I remember that
giving light to the poor soul mentally parsing code.It does sorta look like a lamp.
19 December 2020
Syntax quibble
BCPL is a “bootstrap” language because its compiler is capable of self-compiling. Essentially, a small chunk of the BCPL compiler was written in assembly or machine code, and the rest of the compiler would be written in a corresponding subset of BCPL. The section of the compiler written in BCPL would be fed into the section written in assembly code, and the resultant compiler program could be used to compile any program written in BCPL.An intermediate step in the development was B.
Scripting languages such as PHP and JavaScript contain bits of programming shorthand that [Ken] Thompson originally developed in order to fit B into the limited memory of the PDP-7. Two examples are the “++” and “--” increment and decrement operators. With only 4k to play around with, shortening “x=x+1” to “x++” saved a not inconsiderable amount of space.
13 June 2020
26 April 2020
It never went away
It is estimated $3 trillion in daily commerce flows through COBOL systems, while 95% of ATM swipes and 80% of in-person banking transactions rely on COBOL code.
19 December 2018
Natural
... the appearance of the language allowed managers to more easily understand what sort of thing a program was, even if it did not allow non-programmers to completely understand what any given piece of code actually did.In particular, he considers why Grace Hopper's proposal for French- and German-based syntax fell flat.
For Hopper, as for UNIVAC itself, programming language keywords were just labels given to bit patterns, labels that were freely interchangeable between each other. But when labeled in certain familiar ways, these bit patterns could become a source of budget increases. When implemented and marketed to customers, not as bit patterns but as things that look like English, they could result in sales. When they displayed just enough flexibility, they moved the line of what could get funding. When they displayed too much unexpected flexibility, they lost funding. Keywords were just a code, just bit patterns—but what they looked like was, at times, more important than what they were.
31 July 2016
Getting to know you
27 January 2016
Probably not JavaScript
02 January 2015
Breaking out of the black box
19 September 2014
I'm hot, what are you?
In sum, COBOL won't get you a date. And it probably won't get you a job, either.He then circles back and grudgingly admits that the language still has a role to play in the marketplace, but without using the N-word. In other words, what he wants to say is, "my trendy language with arcane syntax is a niche language; your established language with arcane syntax is as useful as learning Attic Greek."
05 September 2014
PHP is older than JavaScript?
Through social influence and legacy code, our oldest and most popular computer languages have powerful inertia. How could Go surpass C? If the right people and companies say it ought to.
06 May 2014
Tiling, literally
At every single step of the way, every software tool you would use to build a language breaks horribly when encountering non-Latin text. They all expect text encoded as ASCII, which is the standard that includes lowercase and capital Latin characters, numbers, punctuation, and that’s about it. Anything else needs considerably more effort to support consistently. The preceding screenshot shows a version of my interpreter choking on Arabic text and vomiting it out as percent-delimited code points.
22 September 2013
Not gawky at all
The new implementation [of the extension mechanism] provides the potential for Awk programs to do anything that can be done from C or C++. The simplest example is an extension that provides chdir(), so that Awk programs can finally change their working directory!
20 March 2013
BA-what?
"I inherited this program to maintain/emulate/port and I don't understand it. Heck, I'm not even sure what language it's written in!"Usually, the questioner's first guess is COBOL. (It's old and incomprehensible, so it must be COBOL, amirite?) Such was the surmise of user1381537, who offered this source file. Other posters and I quickly disabused him of the notion that it was written in COBOL; Gilbert Le Blanc figures that it's Caché MultiValue Basic.
I amused myself by pointing out some of the less obvious aspects of the program, and by flipping through the documentation to understand some of the peculiarities of this BASIC dialect. In a 1970s-vintage program, just finding the main processing loop can be a challenge. GOSUBs are a feature that is, Fox be thanked, no longer maintstream. I like the compactness of the bracket syntax for performing substring operations. And I envy user1381537's innocence that he/she has never encountered a zero-suppression format string that looks like "ZZ,ZZ9".
01 March 2013
A PiLe of fun
The software/IT core requirement for MBA students at the University of Pennsylvania in the late 1970s consisted of a 2/3-semester MIS introduction (systems analysis, drawing pictures, sizing hardware, but no programming) and a 3-week non-credit course in APL. So I learned this occult language (it only worked on interactive terminals where characters could be overstruck) out of Gilman and Rose's APL: An Interactive Approach on a DECSystem-10, or at least learned it well enough to get a job interview with one of the consultancies that specialized in it when I arrived in D.C. (I didn't get the job). Matrix-friendly APL was wicked concise if you needed to sum up a table of sales results by product line and region—exactly the sort of tool a new MBA could use, that is, until VisiCalc came along. I enjoyed the short course well enough that I was induced, in my callowness, to write a short piece about it for the Wharton Journal, the student newspaper.
Only in Shakespeare and the APL reference manual is ravel a word.
31 May 2012
Perl is still looking good to me
PHP is built to keep chugging along at all costs. When faced with either doing something nonsensical or aborting with an error, it will do something nonsensical. Anything is better than nothing.
25 April 2012
!JOB ARSRCHAA,RPT/*.IVL;OUTCLASS=LP,1
09 January 2012
Looking for an NB compiler
I decided to follow the single-letter style and called it C, leaving open the question whether the name represented a progression through the alphabet or through the letters in BCPL.Via The Code Project, in a paper from 1993, Dennis Ritchie describes the evolution of C from its predecessor languages.