Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
sabreW4K3 ( sabreW4K3@lazysoci.al )  to Programmer Humor@programming.dev · 2 years ago

print('here1');

lazysoci.al

message-square
24
link
fedilink
443

print('here1');

lazysoci.al

sabreW4K3 ( sabreW4K3@lazysoci.al )  to Programmer Humor@programming.dev · 2 years ago
message-square
24
link
fedilink
alert-triangle
You must log in or # to comment.
  • henfredemars ( henfredemars@infosec.pub ) 
    link
    fedilink
    English
    arrow-up
    83
    ·
    2 years ago

    All the debugging tools in the world doesn’t beat an excellent sense of intuition and putting that print statement exactly where it needs to be.

    • ryannathans ( ryannathans@aussie.zone ) 
      link
      fedilink
      arrow-up
      44
      ·
      2 years ago

      As linus says, if you need to use a debugger your code is too complicated

      • flying_sheep ( flying_sheep@lemmy.ml ) 
        link
        fedilink
        arrow-up
        24
        ·
        2 years ago

        He works on Linux where he controls the whole stack down to the metal and I love that for him, but other people have to call library code, and them debug that if it doesn’t work as they thought it would.

        • rbits ( rbits@lemm.ee ) 
          link
          fedilink
          arrow-up
          13
          ·
          2 years ago

          Well then obviously if you use libraries, your code is too complicated

          • Traister101 ( Traister101@lemmy.today ) 
            link
            fedilink
            arrow-up
            6
            ·
            2 years ago

            Yep that’s why I refuse to use standard libraries. It just makes my code too complicated…

      • Cubes ( Cubes@lemm.ee ) 
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 years ago

        The problem is that sometimes it’s not your code that you’re debugging

  • Gamma ( GammaGames@beehaw.org ) 
    link
    fedilink
    English
    arrow-up
    31
    ·
    2 years ago

    And when you need something more complex

    console.log(1);
    […]
    console.log(2);
    […]
    console.log(3);
    
    • Matt/D ( mattd@programming.dev ) 
      link
      fedilink
      English
      arrow-up
      24
      ·
      2 years ago

      More like

      console.log('shit');
      […]
      console.log('fuck');
      […]
      console.log('ass');
      
      • fosho ( fosho@lemmy.ca ) 
        link
        fedilink
        English
        arrow-up
        11
        ·
        2 years ago

        yeah and then you forget about one that makes it into a release and then see it in the console.

        • arendjr ( arendjr@programming.dev ) 
          link
          fedilink
          arrow-up
          11
          ·
          2 years ago

          This is the real reason we have linters.

  • SteveFromMySpace ( SteveFromMySpace@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    20
    ·
    2 years ago

    I feel kind of bad for shooter on the left just using stuff a lot of competitive shooters use and getting roasted for it incessantly lol

    • tyler ( tyler@programming.dev ) 
      link
      fedilink
      arrow-up
      33
      ·
      2 years ago

      wait she’s getting roasted for it? I haven’t seen that. It just looks like people are making fun comparisons to me.

      • SteveFromMySpace ( SteveFromMySpace@lemmy.blahaj.zone ) 
        link
        fedilink
        arrow-up
        12
        ·
        2 years ago

        I guess it feels kind of implied but maybe that’s just me!

        • Gsus4 ( Gsus4@mander.xyz ) 
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          deleted by creator

    • Gsus4 ( Gsus4@mander.xyz ) 
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      2 years ago

      Anybody who knows about this: how do those gizmos help? E.g. earplugs are useful without performance-enhancing.

      • variants ( variants@possumpat.io ) 
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 years ago

        Adjustable frames help keep the lens at the correct angle for your eyes if you tilt your head a certain way from my understanding. So if you tilt your head at a certain angle you can adjust the frame to keep your prescription from getting out of focus at that specific head tilt

      • SteveFromMySpace ( SteveFromMySpace@lemmy.blahaj.zone ) 
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        It’s all about directing eyes and blocking distractions

        • psud ( psud@aussie.zone ) 
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          High tech blinkers

          • zero ( zero@lemm.ee ) 
            link
            fedilink
            arrow-up
            1
            ·
            2 years ago

            if you look closely you can actually see a literal blinder over her left eye! the reason it helps is because precision shooting is all about repeatability, and both eyes open is a more repeatable position than closing one eye exactly the same way every time

  • GBU_28 ( GBU_28@lemm.ee ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 years ago

    Beep

    Boop

    Gloop

    Glorp

    Yeet

    Yo

    • Aabbcc ( Aabbcc@lemm.ee ) 
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      “Hello worl” if I need something quick

      “AAAAAAAAAAAAAAAAA” if I’m lazy and don’t want to have to hunt the output logs for it

    • sheepishly ( sheepishly@fedia.io ) 
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      That’s me… I do that…

  • pimeys ( pimeys@lemmy.nauk.io ) 
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    dbg!(1) all the time…

  • anti-idpol action ( pkill@programming.dev ) 
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    tfw I recently worked on a side project where I was too lazy to change the log level but not sloppy enough to use raw printf so I’d just throw stuff into info and then remove the statements once I solved my issue

    • noproblemmy ( noproblemmy@programming.dev ) 
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      After all, that’s why git is there, to help me remember the shit I put all over the place. (Ok, it might have some other uses.)

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 718 users / day
  • 1.51K users / week
  • 3.32K users / month
  • 7.29K users / 6 months
  • 463 local subscribers
  • 33.6K subscribers
  • 1.53K Posts
  • 25.2K Comments
  • Modlog
  • mods:
  • Feyter ( Feyter@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • BurningTurtle ( BurningTurtle@programming.dev ) 
  • Pierre-Yves Lapersonne ( pylapp@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code