LemmyChan
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 1 month ago

wait what...

feddit.org

message-square
20
link
fedilink
4

wait what...

feddit.org

Hofmaimaier@feddit.org to Programmer Humor@programming.dev · 1 month ago
message-square
20
link
fedilink
alert-triangle
You must log in or # to comment.
  • KoboldCoterie@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Plot twist: The code is written in Whitespace

    • MadMadBunny@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      FFS….

    • Taleya@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 month ago

      I hate whitespace so fucking much. Why must i deal with yaml professionally

      • anomnom@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        All those closing brackets and commas in json suck too. And XML is a fucking waste of time. I’ll take writing yaml any day.

  • Digit@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    Best laugh of the day so far.

    Laughed too loud, scared the wildlife outside.

    PS, just gotta look at lines above. Maybe rainbow delimiters can help.

  • Hellfire103@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    That happens all the time with Python. It often shows me errors in the imported modules, which are easily confused with my own code if I’m tired and don’t read the message properly.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      how’s that the same thing as in the picture?

      • Hellfire103@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        Here it is in greentext form:

        >"error on line 42"
        >look inside
        >no code on line 42
        
        mfw python throws errors about other peoples code
        
        • Eager Eagle@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 month ago

          Python stack traces give you all files involved in the error, with their lines. I don’t know what you’re talking about

          • irelephant [he/him]@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            0
            ·
            1 month ago

            hence the

            which are easily confused with my own code if I’m tired and don’t read the message properly.

  • kionay@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I’ve had negative line number errors in an RPA program before. That one really caught me off guard.

  • marlowe221@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    This happens all the time with TypeScript. The transpiled JS that actually runs will naturally have different line numbers than the TS you wrote!

    To be fair, the reported line number is usually close enough that I can find the issue without much trouble.

    It’s not my favorite back end language, but it’s what everyone on my team knows…

    • folekaule@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      This is what source maps are for. With the right tools you can debug the original source instead of the minified version.

  • pentagon@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    ‎

    • Hofmaimaier@feddit.orgOP
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Exactly.

  • kayzeekayzee@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    When your #includes get flattened before compiling: “Error on line 1103” (file is 190 lines long)

    • flambonkscious@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      Sounds like my time compiling autoit code. Fuck I hated that

  • leds@feddit.dk
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    }

    • Hofmaimaier@feddit.orgOP
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      You scare me!

  • billwashere@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    It’s always a semicolon or parentheses.

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.

  • 894 users / day
  • 4.57K users / week
  • 7.79K users / month
  • 7.99K users / 6 months
  • 9 local subscribers
  • 30.1K subscribers
  • 365 Posts
  • 4.27K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org