Blåhaj Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 1 年前

"Source code file"

gregtech.eu

message-square
188
link
fedilink
  • cross-posted to:
  • fuck_ai@lemmy.world
849

"Source code file"

gregtech.eu

Lena@gregtech.eu to Programmer Humor@programming.devEnglish · 1 年前
message-square
188
link
fedilink
  • cross-posted to:
  • fuck_ai@lemmy.world
  • locuester@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 年前

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

    • ChickenLadyLovesLife@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 年前

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

      • locuester@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 年前

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

        • ChickenLadyLovesLife@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 年前

          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 年前

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

            • voodooattack@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              1 年前

              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
              ·
              1 年前

              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.

              • locuester@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 年前

                Omg you landed my dream job. Another couple years and I can quit this desk shit and go make kids lives better.

                • ChickenLadyLovesLife@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  1 年前

                  Lol “landed”. We are fucking desperate for drivers. So desperate that one of our drivers totaled two cars in one day last year and didn’t even get suspended.

                  • locuester@lemmy.zip
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    1 年前

                    Yeah probably similar a lot of places. It is the same here. Always signs up everywhere begging for bus drivers. Crazy

      • I Cast Fist@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 年前

        One function per file is definitely what grok would output

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.

  • 149 users / day
  • 2.06K users / week
  • 5.92K users / month
  • 16.1K users / 6 months
  • 578 local subscribers
  • 32.1K subscribers
  • 2.32K Posts
  • 79K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org