what are we even doing here man
if someone doesn't have experience with arrays, then they don't have enough experience with programming to hire them to program for you. they are still on page 9 of the programming book
Specifically, this one.
The Usborne guide to Better BASIC: a beginners guide to writing programs (1983)
See? Page 9. Arrays.

Usborne released a bunch of their old 80s programming books for free a while back, and they're all just a gem:

https://usborne.com/us/books/computer-and-coding-books

@foone I learnt everything I know from Computer Fun… I still have the book.
@dan @foone I learned everything I now don’t know anymore from this book (which I had)

archive.org/details/starting-forth-leo-brodie/mode/2up
Starting FORTH : Leo Brodie : Free Download, Borrow, and Streaming : Internet Archive

Starting FORTHby  Leo Brodie, FORTH Inc.An Introduction to the FORTH Language and Operating System for Beginners and ProfessionalsWith a foreword by Charles...

Internet Archive
@foone I've posted this page from Usborne's guide to jargon before and commented that I'd be happy if all programmers were as computer literate as grade school students in the 80s.
@th @foone That looks like 6502, because it has an accumulator.
@th @foone for comparison, the other day I had to explain to some 20-whatevs-year-old dumbass vibe coder what a "register" is, in a CPU
@th @foone Back then UK schools used to teach 'computing'. Then some education minister invented Information & Communication Technology (ICT) which in practice meant learning MS Office so you can work in a call centre.

@foone For non-us users: the site is guessing your country and redirects to 404 page, if guess != "us" 🙄 But it's not geo fencing. You need to pick en-us at the home page and then request the above URL again. 😬

Edit: works also for en-gb

@foone I get redirected to the German site with no option to switch pack (the 404 references a non-existent dropdown menu…)
@JSMuellerRoemer @foone See above https://social.tchncs.de/@flxtr/116186768953309522, worked for me, need to switch via the currency selector.
trusty falxter 🧠:natenomblack: (@[email protected])

@[email protected] For non-us users: the site is guessing your country and redirects to 404 page, if guess != "us" 🙄 But it's not geo fencing. You need to pick en-us at the home page and then request the above URL again. 😬

Mastodon
@foone wow even has representation for Leo the Late Bloomer right on the cover
@foone Unfortunately links goes to 404 😔
@weirdocollector @foone See above https://social.tchncs.de/@flxtr/116186768953309522, worked for me, need to switch via the currency selector.
trusty falxter 🧠:natenomblack: (@[email protected])

@[email protected] For non-us users: the site is guessing your country and redirects to 404 page, if guess != "us" 🙄 But it's not geo fencing. You need to pick en-us at the home page and then request the above URL again. 😬

Mastodon
@weirdocollector @foone I got the same because it was xforming the URL to fr instead of us. Going to the homepage and setting up language to English corrected.
@foone
Ooh, they have the text adventure ones 
@foone The GOSUB robot from "Computer Programming in BASIC" has lived rent-free in my head for 40 years

I remember typing out some of these programs as a youngster! I even ported one from BBC/ZX Basic to Q Basic to run on the incredibly powerful IBM PS/2 my cousin had!

@foone

@foone @pronoiac Kids should be issued a Sinclair ZX81/Timex 1000 and a set of these books at birth, and not allowed to move up to a more capable machine until they have written their own original BASIC program.
@foone What's weird is that I distincly remember page 9 (its illustrations, mostly), but I don't remember the book cover. I grew up in 80s West Germany, so maybe they were used in a different (or translated) book. Definitely a nostalgia hit :)
@klausman yeah, different publishers often use different covers, so I imagine the west german publisher just made their own cover
@foone I’m pretty sure I had that book
@foone I remember this page, it's burnt into my brain
@foone I literally learned from this page. I hated DIM but was a big MID$ stan.
@foone That is how we learnt programming, with BASIC. Early home computers usually had an accompanying manual with a BASIC guide, as they shipped with a BASIC interpreter, at turn on.
@foone feeling motherly towards the console explainer sprout creature
@foone I had this book, unsure whether it had the same cover though ... also the 'build your own robot' one ...

@foone Better Basic? Don't. Just don't.

I was using APL around 1979.

@foone
I went from Better Basic, to Pascal From Basic, to K&R.
@foone oh cute look at the cute bugs!!!
@foone i will take this opportunity to once again tell tale of the time i worked on an embedded device with a firmware written in C, roughly a 150,000-line codebase on a little STM32 chip

the original author of the code base did not, in fact, seem to understand what an array was.

the device communicated to another device bolted to the same machine, using MODBUS. with potentially up to 10,000 MODBUS registers storing data, but realistically only a few actually in use.

the file defining the structure where the data was stored for the registers simply made a struct, with elements starting at "reg0" and incrementing up to "reg10000". the implementation file was just as bad.

this is why the codebase was roughly 150,000 lines. it should have been perhaps 5000.


the code used a small function that did pointer math in order to actually access the register, usually, unless it was referenced directly in code, or sometimes used a macro instead.

none of this was even the worst offense within the codebase.

@linear @foone
It's impressive to get as far as understanding pointer arithmetic in C but somehow not understanding arrays in C.

Maybe he was forced to write the code on a keyboard with broken [ ] keys.

@petealexharris @linear @foone Or had one of those insane managers who misread something somewhere once where some problem was caused by someone misuing an array, so they banned all array use in the whole company.
@foone me when I forget my experience with arrays and am no longer experienced in arrays(data structure)
@foone Reminds me of when a lawyer accused me of stealing someone else's graphics tech because we both used the same technology of "bilinear filtering." OK my friend you go ahead and bring that up in court be my guest.
@TomF @foone IBM got a patent on some obscure graphics method I used many years before in demo programming around 1990.
I can't recall what it was. Maybe sprites masking with a CPU. Was something obvious
@gunstick @foone I vaguely recall someone like Atari having a patent on a register that shifts the entire screen left. So someone else (Sega?) made a register that shifts it right instead. It's really annoying that it goes the wrong way, but it avoided the patent.
@gunstick @foone (all these patents are way out of date of course DO NOT TALK ABOUT LIVE PATENTS)
@TomF @foone
I came up with the code many years before IBM filed their patent
@foone [lists MS Word as a skill]
@foone i did do that before yea
@foone having not enough experience in Arrays (data structure) i think
@foone now the qualifications for this job are pretty stringent, we're gonna need you to have used a keyboard before.

@somekindofgarf

  • There’s a minimum crew requirement.
  • What’s that?
  • One, I suppose.

@foone

@foone I'm sure there's a null terminated string joke in here somewhere.

@akent keep looking forward, I hope you'll find it

@foone