I like BASIC and recently been thinking it might be nice to do some modern game dev on BASIC. My father got me into programming on a TI-99/4A [0] machine, so the BASIC language always has a place in my heart. However, I recently also came across a nice game development course from Harvard, CS-50 [1] (an excellent course, much recommended!). And for CS-50 the Lua language is used in combination with the LÖVE [2] frame…
You should check out QuickBasic: https://www.qb64.org/portal/
30 years later, QBasic is still the best
41–50 of 133 posts
Re: 30 years later, QBasic is still the best
#42Re: 30 years later, QBasic is still the best
#43Earlier quoted context omitted.
Honestly it's pretty strange that assignment has a directionality.
The primary difficulty that I had was the overloaded usage of the "=" character. I had a clear mathematical understanding that the "=" symbol was symmetric, that 5 = x and x = 5 were equivalent. That someone could abuse that notion so brazenly was the source of my frustration. Some languages use directional notation for assignment (see [1]): 5 -> x is clear. [1] https://en.wikipedia.org/wiki/Assignment_(computer_scie…
x := 5
I have heard that this was to mimic (in ASCII) the look of an arrow: x ⇐ 5Re: 30 years later, QBasic is still the best
#44Earlier quoted context omitted.
Honestly it's pretty strange that assignment has a directionality.
The primary difficulty that I had was the overloaded usage of the "=" character. I had a clear mathematical understanding that the "=" symbol was symmetric, that 5 = x and x = 5 were equivalent. That someone could abuse that notion so brazenly was the source of my frustration. Some languages use directional notation for assignment (see [1]): 5 -> x is clear. [1] https://en.wikipedia.org/wiki/Assignment_(computer_scie…
Re: 30 years later, QBasic is still the best
#45Re: 30 years later, QBasic is still the best
#46Re: 30 years later, QBasic is still the best
#47QBasic was my first language, and I don't knock it for the purpose it served at the time, but for a new programmer, I'd point them at either JS (if they really want to do web things) or Python. BASIC had its time, there are better languages now, and that's ok.
QBASIC is on a whole different level.
When my daughter was little, I taught her how to program using Visual Basic longer after it was obsolete. But getting a window on screen and interacting with it is 100x easier there than with Python.
Re: 30 years later, QBasic is still the best
#48Earlier quoted context omitted.
How do you draw a line on the screen in Python? Here's BASIC. I'm not saying this is good. But it is easy. SCREEN 13 LINE (X1, Y1) - (X2, Y2), COLOUR
> How do you draw a line on the screen in Python? Using only stdlib: import turtle turtle.penup() turtle.pencolor(colour) turtle.setpos(x1,y1) turtle.pendown() turtle.goto(x2,y2)