The BASIC programming language turns 60

2 years ago by Sundray to c/retrocomputing

Easy-to-use language that drove Apple, TRS-80, IBM, and Commodore PCs debuted in 1964.

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

eestileib 27 points 2 years ago

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

path: 0 9791581, hotness: undefined, score: 27, children: 5
Nougat 7 points 2 years ago

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

path: 0 9791581 9791978, hotness: undefined, score: 7, children: 0
veroxii 6 points 2 years 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/...

And this book came with the computer and taught me how to code: https://archive.org/...

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

path: 0 9791581 9795812, hotness: undefined, score: 6, children: 0
SpaceNoodle 5 points 2 years ago

Same. It kinda spiraled out of control

path: 0 9791581 9792319, hotness: undefined, score: 5, children: 0
vext01 3 points 2 years ago

Same here! ZX spectrum.

path: 0 9791581 9800173, hotness: undefined, score: 3, children: 0
4am 3 points 2 years 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

path: 0 9791581 9794795, hotness: undefined, score: 3, children: 0
diplodocus 22 points 2 years ago

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

path: 0 9792298, hotness: undefined, score: 22, children: 2
dan 8 points 2 years ago

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

path: 0 9792298 9794813, hotness: undefined, score: 8, children: 1
vext01 1 point 2 years ago

Some dialects of BASIC had more structured control flow.

path: 0 9792298 9794813 9800233, hotness: undefined, score: 1, children: 0
Bricriu 10 points 2 years ago

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.

path: 0 9796076, hotness: undefined, score: 10, children: 2
whostosay 3 points 2 years ago

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

path: 0 9796076 9797458, hotness: undefined, score: 3, children: 0
kalimari 2 points 2 years 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

path: 0 9796076 9843484, hotness: undefined, score: 2, children: 0
Kolanaki 8 points 2 years ago

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).

path: 0 9794196, hotness: undefined, score: 8, children: 1
xyzzy 2 points 2 years ago

C

#include <stdio.h>

int main() {

printf("Hello, world");

return 0;

}

C++

#include

int main() {

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

return 0;

}

path: 0 9794196 9842136, hotness: undefined, score: 2, children: 0
floofloof 7 points 2 years ago

BBC BASIC was best BASIC. Fight me.

path: 0 9791156, hotness: undefined, score: 7, children: 10
wjrii 9 points 2 years ago

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

path: 0 9791156 9792074, hotness: undefined, score: 9, children: 0
thehatfox 5 points 2 years ago

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

path: 0 9791156 9791373, hotness: undefined, score: 5, children: 1
therealbabyshell 4 points 2 years ago

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

path: 0 9791156 9791373 9793031, hotness: undefined, score: 4, children: 0
Boddhisatva 4 points 2 years 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.

path: 0 9791156 9793457, hotness: undefined, score: 4, children: 0
humorlessrepost 4 points 2 years ago

GW BASIC best BASIC

path: 0 9791156 9791864, hotness: undefined, score: 4, children: 0
gregorum 2 points 2 years ago

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

10 PRINT “Hello world!”
20 END
path: 0 9791156 9791332, hotness: undefined, score: 2, children: 4
LucasWaffyWaf 4 points 2 years ago

10 PRINT "Sausage slaps"

20 GOTO 10

path: 0 9791156 9791332 9791944, hotness: undefined, score: 4, children: 1
NemoWuMing 6 points 2 years ago
  • 10 PRINT "What is your name?"
  • 20 INPUT $NAME
  • 30 PRINT "Wet noodle slaps " + $NAME
  • 40 GOTO 30
path: 0 9791156 9791332 9791944 9792239, hotness: undefined, score: 6, children: 0
SpaceNoodle 3 points 2 years ago

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

path: 0 9791156 9791332 9792361, hotness: undefined, score: 3, children: 1
gregorum 3 points 2 years ago

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

path: 0 9791156 9791332 9792361 9792412, hotness: undefined, score: 3, children: 0
thehatfox 6 points 2 years 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.

path: 0 9791424, hotness: undefined, score: 6, children: 0
ma11en 6 points 2 years ago

Sinclair Spectrum 48k Basic for me.

path: 0 9794112, hotness: undefined, score: 6, children: 0
cupcakezealot 4 points 2 years 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

path: 0 9797181, hotness: undefined, score: 4, children: 0
okflo 2 points 2 years 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! :)

path: 0 10474025, hotness: undefined, score: 2, children: 0
blazeknave 2 points 2 years ago

First line of code was in qbasic in 88

path: 0 9797167, hotness: undefined, score: 2, children: 0
paulh 2 points 2 years 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!

path: 0 9894440, hotness: undefined, score: 2, children: 0
xia -1 points 2 years ago

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

path: 0 9793692, hotness: undefined, score: -1, children: 0
retrocomputing
retrocomputing

@lemmy.sdf.org

login for more options
5477
860
223

Discussions on vintage and retrocomputing

go to feed...