Brdsnest Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 2 days ago

"Source code file"

gregtech.eu

message-square
234
fedilink
840

"Source code file"

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 2 days ago
message-square
234
fedilink
  • Spice Hoarder@lemmy.zip
    link
    fedilink
    arrow-up
    74
    ·
    1 day ago

    This just confirms Twitter is a 1M line BASIC program.

    • YtA4QCam2A9j7EfTgHrH@infosec.pub
      link
      fedilink
      arrow-up
      28
      ·
      1 day ago

      Think of all the GOTOs

      • JohnnyCanuck@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        7 hours ago

        Nah it’s just if-then-elses all the way down

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        10 hours ago

        Elon goto hell

        • YtA4QCam2A9j7EfTgHrH@infosec.pub
          link
          fedilink
          arrow-up
          2
          ·
          9 hours ago

          GOTO considered harmful, except in this case

      • ChickenLadyLovesLife@lemmy.world
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        1 day ago

        More like all the On Error Resume Next statements. Which wasn’t even the worst thing about Visual Basic! VB also had the On Error Resume statement. On Error Resume Next at least moved on to the next line after an error occurred; On Error Resume just re-executed the error-generating line, I guess on the assumption that something would eventually change there.

        • locuester@lemmy.zip
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 day ago

          There would just be one of those, at the top of the 1 file…

          • ChickenLadyLovesLife@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 day ago

            On Error was used within a function, so you would have one (or more … or less) per function.

            • I Cast Fist@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              10 hours ago

              One function per file is definitely what grok would output

            • locuester@lemmy.zip
              link
              fedilink
              English
              arrow-up
              4
              ·
              1 day ago

              Oof indeed! After 40 years, I forgot it even had fns

              • ChickenLadyLovesLife@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                1 day ago

                I started with VB3, which didn’t have custom classes. I have no idea how I did anything back then, but at least it was better than TurboBasic.

                • locuester@lemmy.zip
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 day ago

                  I did years of gw-basic, then ms quickbasic, j++, java, c#, now rust.

                  • voodooattack@lemmy.world
                    link
                    fedilink
                    arrow-up
                    3
                    ·
                    1 day ago

                    Interesting to meet another person that went through the “GW-BASIC to Rust” journey. Mine was through FreeBasic and C++ in the middle but we ended up in the same neighbourhood.

                  • ChickenLadyLovesLife@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    edit-2
                    1 day ago

                    I did BASIC on the Apple IIe, then TurboBasic, Visual Basic (3, 4, 5 and 6 with some C in there somewhere), VB.Net, C#, Java, Objective-C and finally QT. Now I drive a school bus.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.76K users / day
  • 4.38K users / week
  • 8.02K users / month
  • 19.9K users / 6 months
  • 1 local subscriber
  • 25K subscribers
  • 1.22K Posts
  • 29.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org