Paulo's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Ragdoll X@sh.itjust.works to Programmer Humor@programming.dev · 12 days ago

Python vs. Java

sh.itjust.works

video
message-square
53
link
fedilink
194
video

Python vs. Java

sh.itjust.works

Ragdoll X@sh.itjust.works to Programmer Humor@programming.dev · 12 days ago
message-square
53
link
fedilink
  • bigboismith@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    11 days ago

    Printing to console is often only used for toy code anyway.

    • silasmariner@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      11 days ago

      Wait, how do you debug your code?

      • Magnum, P.I.@infosec.pub
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        Using a debugger?

      • Traister101@lemmy.today
        link
        fedilink
        arrow-up
        4
        ·
        11 days ago

        A logger? Console prints are shitty in general but especially when you have an actual logger already

        • [object Object]@lemmy.world
          link
          fedilink
          arrow-up
          9
          ·
          11 days ago

          You know what println never did? Run arbitrary code on my toaster.

          • Traister101@lemmy.today
            link
            fedilink
            arrow-up
            1
            ·
            11 days ago

            Neither did Log4j in basically all cases, some maniac just put arbitrary code callbacks into their logger, undocumented and enabled by default. The insane part isn’t the feature itself it’s the fact it’s enabled by default in a logger of all things.

        • silasmariner@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          11 days ago

          Oh man, I thought that was one of the classic jokes :'( I am out of touch

          • Traister101@lemmy.today
            link
            fedilink
            arrow-up
            2
            ·
            11 days ago

            People in my experience are actually very serious about the standard out to debug log which is… baffling. Same people generally outright refuse to learn how to use a debugger in languages where those are pleasant

            • silasmariner@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              11 days ago

              Oh I’m completely serious. The joke is that everyone does it but everyone knows not to do it. I started doing it when I first ran into problems debugging actor contexts, and never stopped.

              The good printlns become logs, obviously

      • Ethan@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 days ago

        … with a debugger

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.71K users / day
  • 4.21K users / week
  • 8.64K users / month
  • 18.1K users / 6 months
  • 1 local subscriber
  • 29.7K subscribers
  • 1.57K Posts
  • 41.7K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org