I learned Basic on a ZX Spectrum clone when I was a kid. It was harder to structure the code because there were no functions and subroutines, just line numbers and goto. No while, no fors. Just ifs. When I've learned x86 assembly later, it didn't seem too different to me. This variant of Basic is more close to Pascal for me than the Basic I've learned.
FreeBasic
11–20 of 73 posts
Re: FreeBasic
#12Re: FreeBasic
#13Re: FreeBasic
#14I've been dismissive of BASIC as an outdated and terrible language since reading some old programs written in it. But reading the docs and examples for FreeBasic actually make it look decent. Static typing, decent syntax, and I don't even have to start all my lines with 10 20 30 so I can JUMP to them!
Re: FreeBasic
#15I've been dismissive of BASIC as an outdated and terrible language since reading some old programs written in it. But reading the docs and examples for FreeBasic actually make it look decent. Static typing, decent syntax, and I don't even have to start all my lines with 10 20 30 so I can JUMP to them!
Re: FreeBasic
#16Re: FreeBasic
#17I started programming when I was around 12. My teacher told me about how he learned BASIC in school...so I went home and looked up BASIC. I had a lot of fun messing around with qbasic/qb64 and finally FreeBASIC. Semi-related but one of my favorite books of all time was Creating Adventure Games On Your Computer by Tim Hartnell. It's wild to think how much of an impact that book and FreeBASIC had on me. If I could upvo…
I'm just a hobbyist, and approaching 40, so maybe this is pure nostalgia. But I do think text adventures (especially writing one yourself) are still a great way to teach coding -- and the whole keyboard-centric paradigm of computing. As a side note, being a non-native speaker, I learned quite a bit of English with the legendary adventure games by Sierra and Al Lowe. Great teacher, extra credits for his quirky and naughty, but yet so intelligent humor, of course. :)
Currently we're going through a QBASIC tutorial by Ted Felix: http://tedfelix.com/qbasic/
I think it is really well thought out and structured; looks like a great "more traditional" introduction to programmer's way of reasoning for kids around 10-12. I also like the empathetic language the author is using -- he has clearly put some thought into how to explain things so that a 10-or-so year-old kid would understand it while reading on their own.
I am actually in the process of translating this tutorial to my language (Estonian). Most of it is already done, and I can confirm that our son is doing really well reading it and trying out the examples entirely on his own. The QBASIC IDE is IMO still really good due to the instant feedback the child gets while messing around with it.
The same author Ted Felix also has a follow-up about creating sprites in QBASIC: http://tedfelix.com/qbasic/sprites.html
Another great BASIC-based environment for children appears to be LowResNX: https://lowresnx.inutilis.com/
Haven't tested it out myself, but after we're done with the QBASIC book, we might move over to this one, actually. The manual looks great, might be quite accessible for a 10-12yo kid's self-study: https://lowresnx.inutilis.com/docs/manual.html
It is definitely strange to reach for BASIC as a teaching language in 2023. But, this is an argument that has been echoed on HN as well, today's popular languages do seem somewhat overkill for a child's first independent explorations. But, again, I am just a hobbyist, no intention to grow a programmer out of our son. I would actually just like to teach im thinking skills, and a way to have some intellecual fun.
Re: FreeBasic
#18I’ve had my eye on https://www.aoz.studio/ for awhile. It’s by the guy who did STOS and AMOS and seems a very beginner friendly game programming tool using some variant of Basic.
You may want to check out https://www.b4x.com for something that on the surface looks similar.
Re: FreeBasic
#19I found Basic! and techBASIC on the ipad, and they might run on Apple Silicon.
The latter is not in the appstore these days.(It seems to have morphed into something else)
(quick download) Basic! runs on Ventura/MacMiniM2. How well is TBD.
I'll set up a linux system for fun as soon as I get some things sorted out.
Not promoting any of these. My first BASIC was Palo Alto Tiny Basic, typed in or read in on paper tape (I had to set up the reader and program first) on the IMSAI.
For linux, I am pretty sure that GAMBAS will run. I have not researched others.
Happy Interpreting!
Re: FreeBasic
#20I really miss the Blitz Basic family of game engines. https://en.wikipedia.org/wiki/Blitz_BASIC After reading the wikipeda page I found out Mr Sibly made them open source in 2014. I wonder if there is much community around them now?
It is a very capable language, as you would expect from it's beginnings (as Monkey X) under Mark Sibly.