Live data from Hacker News

FreeBasic

freebasic.net

11–20 of 73 posts

Re: FreeBasic

#11

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.

Line numbers and goto make it really easy to learn to write simple programs.

Re: FreeBasic

#12
I'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

#14

I'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!

there are some BASIC dialects that can give other modern languages a run for their money. Check out on of my favs: https://www.cerberus-x.com/cxDocs/Programming_Language%20ref...

Re: FreeBasic

#15

I'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!

Yeah, BASIC started out painfully primitive, but it did eventually get pretty decent structured programming features (say, GOSUB with labels instead of just GOTO)

Re: FreeBasic

#16
My first language was Locomotive Basic 1.1 on an Amstrad 6128. The best thing about it was the huge manual that came with it. Not only did it have FOR/NEXT but also WHILE/WEND and the interesting ON x GOTO y1,y2..yn where x was anything that evaluated to an integer and the y's were line numbers.

Re: FreeBasic

#17

I 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…

Thanks very much for this book reference. Our son (10yo) is learning to code and after quite a bit of research (and to my own huge surprise), I've pointed him to QBASIC (via DosBOX).

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

#18

I’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.

Seems a bit expensive/restricted as a daily driver for programming in.

You may want to check out https://www.b4x.com for something that on the surface looks similar.

Re: FreeBasic

#19
I looked up BASIC for mac, and lo and behold, there seems to be only one, by Nikolay Denislamov that is useful, and it's limit-ware (program size) and $12 to go "premium". Not even GAMBAS.

I 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

#20

I 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?

Yes of course. Blitz BASIC has transformed into Cerberus X which is my personal favorite BASIC: https://www.cerberus-x.com/community/index.php

It is a very capable language, as you would expect from it's beginnings (as Monkey X) under Mark Sibly.

Post reply on HN