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

  • diplodocus@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    24
    ·
    edit-2
    8 months ago

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

    • dan@upvote.au
      link
      fedilink
      arrow-up
      8
      ·
      8 months ago

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

  • Bricriu@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    8 months 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.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 ℹ️@yiffit.net
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    8 months 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).

    • xyzzy@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      8 months ago

      C

      #include <stdio.h>

      int main() {

      printf(“Hello, world”);

      return 0;

      }

      C++

      #include <iostream>

      int main() {

      std::cout << “Hello, world” << std::endl;

      return 0;

      }

  • thehatfox@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 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.

  • katy ✨@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    8 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

  • okflo@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    7 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! :)

  • paulh@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    8 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!