62 points by scrlk 1 week ago | 28 comments
louthy 6 days ago
I always say that the reason I got into programming (at the age of 10) was because of the BBC Micro User Guide [1].
* Page 5: first code written (and importantly, code that has a visual component)
* Page 6: Drawing lines
* Page 7: Playing sounds
etc.
I realised very quickly that I was able to make a game. And that was it, I was hooked for life.
The Raspberry Pi took its inspiration from the BBC Micro (Model B). It's a shame that there wasn't more of a push to make it as easy as the original Model B to get going and start programming.
(Of course I realise that it's running Linux where nothing is simple, but yeah, I'm not sure it necessarily helps kickstart the next generation in the way the original BBC Micro did)
tgv 6 days ago
louthy 6 days ago
I agree, but that's not what the author thinks:
"When a new programming language is designed it is invariably strongly influenced by languages that preceded it. One thread of related languages is: Algol -> CPL -> BCPL -> B -> C -> C++ -> Java, indicating that BCPL is just a small link in the chain from the development of Algol in the late 1950s to Java in the 1980s. BCPL is particularly easy to learn and is thus a good choice as a first programming language."
Emphasis mine.
Also,
"This document is intended to help people with no computing experience to learn to write, compile and run BCPL programs on the Raspberry Pi in as little as one or two days, even if they are as young as 10 years old."
So, unless I'm missing something, this document is intended to teach programming first concepts with BCPL. And it seems like it's aimed at young people, regardless of the play on words (which I didn't know, thanks!).
lordmauve 6 days ago
> I agree, but that's not what the author thinks:
The author of this document is Martin Richards, the creator of BCPL. Of course he thinks you would want to learn it.
082349872349872 6 days ago
However, I'd like to think the readership of HN are hacker enough to like to think that, given a desert island (with minor deps like sand and the Friday hardware fab!) and a few spare years, they'd be capable of Robinson Crusoe'ing up a personal development environment.
From that point of view, I find[1] this effort admirable: it's several hundred pages, by Martin Richards, about the port of the BCPL toolchain (language, compiler, bytecode interpreter, libraries, debugger, etc. all by Martin Richards?) to a new system (was it a new arch as well?)... by Martin Richards.
How many among us get a machine with new graphics, decide to write a flight simulator, and then —only as a minor[2] implementation detail mind you— plumb float support through our entire language ecosystem? Who needs a shaved yak when you're pursuing the buttery-smooth shaded yak?
[0] or maybe we even still are: https://news.ycombinator.com/item?id=42682353
"when I was your age all we had were 1's and 0's, and sometimes not even 0's, so we'd stay up all night xor'ing 1's to have enough for the next day..."
[1] when I did this sort of thing to pay the bills, I had someone else doing the tech writing and someone else providing toolchain and debugger sources, and it was still not a trivial lift.
[2] compare Wirth FPGA'ing up an entire homebrewed arch just so he could have a personal workstation using his favourite mouse.
tgv 6 days ago
anonzzzies 6 days ago
Turn the computer on and type
10 PRINT "My first homecomputer program"<enter>
RUN<enter>
And the book continued like that. I really cannot remember at all what the book was called or for which homecomputer it was; I do remember that after a bunch of pages, the programs stopped working on my system with a syntax error. I think it maybe was a ZX Spectrum or so book, but it hardly can be as I think it was too early for that. It was the fastest way to get into it and got me deep into programming because it went so easy that I kept finding more and more.
Tor3 6 days ago
10 PRINT "HOW ARE YOU"
RUN
guenthert 6 days ago
Rochus 7 days ago
b800h 6 days ago
BCPL also looks dry as hell, I'm not convinced it's a great first language.