this post was submitted on 01 May 2024
146 points (98.7% liked)

retrocomputing

4090 readers
29 users here now

Discussions on vintage and retrocomputing

founded 1 year ago
MODERATORS
 

I was definitely a Commodore kid, and BASIC was my first language. Maybe it's nostalgia, but I still like BASIC for hobby stuff.

top 33 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 6 months ago (5 children)

I remember typing in BASIC programs from printed magazines. That's how I got my start.

[–] [email protected] 8 points 6 months ago

I bought a year's subscription to Timex Sinclair User, which folded like four months later.

[–] [email protected] 6 points 6 months ago

I recall my dad bought a book with VIC 20 games printed. And you bet I typed them all in. And then had to debug them.

It wasn't this one but it was very similar: https://archive.org/details/games-for-your-vic-20/page/28/mode/1up

And this book came with the computer and taught me how to code: https://archive.org/details/VIC-20_An_Introduction_to_BASIC_Part_1/mode/1up

Such fun memories. And now I'm CEO of a software company haha.

[–] [email protected] 5 points 6 months ago

Same. It kinda spiraled out of control

[–] [email protected] 3 points 6 months ago

I used to write them on a Smith Corona correctable typewriter because we didn’t have a PC at home and then bring them into school to type in in the computer lab after school for computer club

[–] [email protected] 3 points 6 months ago

Same here! ZX spectrum.

[–] [email protected] 24 points 6 months ago* (last edited 6 months ago) (1 children)

Thanks, BASIC, for teaching me so much I had to later unlearn in order to not be a garbage programmer.

[–] [email protected] 8 points 6 months ago (1 children)

The first time I tried another programming language, I was confused as to how to write code without using GOTO.

[–] [email protected] 1 points 6 months ago

Some dialects of BASIC had more structured control flow.

[–] [email protected] 11 points 6 months ago (2 children)

I learned TI BASIC on a Texas Instruments 99/4a back in the very early 80s. Wrote some programs from magazines, saved them on tapes, and went on to automate D&D character creation in an attempt to rules-lawyer an all-PC dwarf army.

Fun fact, though: TI BASIC lived on until at least the late 90s, on the TI graphing calculators that everyone taking Algebra/Trig had to buy -- or borrow from the school. I wrote a surreal choose-your-own-adventure game on my calculator, large enough that because of memory limitations, you couldn't open the file to edit it without deleting another, ancillary file.

And since you could transfer programs via a proprietary cable, I put that game on every school calculator and as many of my friends' as wanted it. It was still there years later when I visited.

[–] [email protected] 4 points 6 months ago

This is that real gangster shit in case any of you were wondering

[–] [email protected] 2 points 6 months ago

TI BASIC is still on my TI-84+ CE calculator that I use today

I’m not sure if the Python edition TI 84 supports it though

[–] [email protected] 9 points 6 months ago* (last edited 6 months ago) (1 children)

Easiest Hello World program ever was in BASIC.

10 PRINT "Hello World"
20 GOTO 10

Don't even have to call a library or declare a variable! Meanwhile, I can't even remember the shit you need to put in front of every C/C++ program (HREF/void.h or something; it's usually there automatically these days in some compilers, like Visual Studio).

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago)

C

#include <stdio.h>

int main() {

printf("Hello, world");

return 0;

}

C++

#include

int main() {

std::cout << "Hello, world" << std::endl;

return 0;

}

[–] [email protected] 8 points 6 months ago (5 children)

BBC BASIC was best BASIC. Fight me.

[–] [email protected] 10 points 6 months ago (1 children)

In a world with GORILLA.BAS and NIBBLES.BAS, I simply cannot reject the QBASIC faith with which I was raised.

[–] [email protected] 1 points 5 months ago

I was taught QBASIC at school... in 2003.

DoDDS is weird.

[–] [email protected] 7 points 6 months ago* (last edited 6 months ago) (1 children)

There is an open source implementation of BBC Basic for modern systems that’s being actively developed - BBC BASIC for SDL 2.0.

[–] [email protected] 5 points 6 months ago

It is great with lots of libraries. I am writing a game in it right now.

[–] [email protected] 5 points 6 months ago

Bring it! I once wrote a basic program off of the random dungeon generator tables in the original Advanced Dungeons and Dragons - Dungeon Masters Guide using Atari BASIC.

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (2 children)

GPL BASIC. First language I learned when I was 5 in 1984.

10 PRINT “Hello world!”
20 END
[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (1 children)

10 PRINT "Sausage slaps"

20 GOTO 10

[–] [email protected] 5 points 6 months ago* (last edited 6 months ago)
  • 10 PRINT "What is your name?"
  • 20 INPUT $NAME
  • 30 PRINT "Wet noodle slaps " + $NAME
  • 40 GOTO 30
[–] [email protected] 3 points 6 months ago (1 children)

GPL as in the GPL? I thought that was first published in 1989

[–] [email protected] 3 points 6 months ago

Oh, I guess I was just using Apple’s Intiger BASIC then!

[–] [email protected] 4 points 6 months ago

GW BASIC best BASIC

[–] [email protected] 7 points 6 months ago

There are so many weird and wonderful BASIC dialects found on all sorts of platforms.

In Europe the PlayStation 2 shipped with a version of Yabasic on the bundled demo disc. It was an attempt to avoid some of import taxes by claiming the PS2 was a computer instead of a games console.

[–] [email protected] 6 points 6 months ago

Sinclair Spectrum 48k Basic for me.

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago)

went to computer camp in the early 90s (yes i was the stereotype) and we learned basic programming on radio shack computers (the monitor/keyboard combined type - i can't remember the name)

then i moved on to qbasic and started programming basic type text adventure games with inventory management in my spare time :)

edit: looking it up, i believe it was the trs-80. it looks familiar but i'm not 100% positive. could have also been the model ii

[–] [email protected] 2 points 5 months ago

I found that the simpler, early BASIC dialects were a good primer for assembly language. You had to create all the structure from jumps to numeric values. Goto and gosub mapped on to jump and call instructions.

Using labels in assembly was a step up from line numbers!

[–] [email protected] 2 points 4 months ago

oh the memories - I started with Commodore BASIC on the C-64. Second Basic (after 6502 Assembler) was AmigaBasic. Oh god, it was soooo slow. Scrolling though your code, you could watch the lines being printed. Finally I bought (!) GFA Basic - that was great! Probably spoiled my programming habits till now! :)

[–] [email protected] 2 points 6 months ago

First line of code was in qbasic in 88

[–] [email protected] -1 points 6 months ago

Can something really "turn 60" if it is dead, though?