Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
neeshie@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

there goes my motivation

lemmy.world

message-square
66
fedilink
702

there goes my motivation

lemmy.world

neeshie@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
66
fedilink
  • 🇸‌🇵‌🇪‌🇨‌🇺‌🇱‌🇦‌🇹‌🇪‌🇷‌@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Sometimes starting from someone else’s code and stripping only to the functions you need is fun!

    • db2
      link
      fedilink
      arrow-up
      8
      ·
      2 years ago

      That’s how you find that one variable that isn’t used anywhere but breaks everything if you remove it.

      • 🇸‌🇵‌🇪‌🇨‌🇺‌🇱‌🇦‌🇹‌🇪‌🇷‌@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        Then you fill the fucking code with print statements because you don’t know to use debug, realize the variable feeds some stupid fucking function that does nothing but has to be there and a few hours later comment out said print statements and just re add the variable.

        • db2
          link
          fedilink
          arrow-up
          6
          ·
          2 years ago

          You know, it occurs to me that doing that with print really isn’t any different than the accepted method of debug logging other than where the output is directed to.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 572 users / day
  • 768 users / week
  • 2.47K users / month
  • 9.71K users / 6 months
  • 441 local subscribers
  • 35.9K subscribers
  • 1.74K Posts
  • 37.5K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org