The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@sabreW4K3@lazysoci.al to Programmer Humor@programming.dev • 11 months ago

print(‘here1’);

lazysoci.al

message-square
49
fedilink
778

print(‘here1’);

lazysoci.al

@sabreW4K3@lazysoci.al to Programmer Humor@programming.dev • 11 months ago
message-square
49
fedilink
alert-triangle
You must log in or register to comment.
  • @xmunk@sh.itjust.works
    link
    fedilink
    49•11 months ago

    echo __LINE__ . "Moo\n";

    Honestly if you’re not including the LoC in your debug statement I don’t even fucking understand you.

    But yeah, senior devs know the power of breadcrumb debugging (because most of us were deeply scarred by gdb).

    • @CanadaPlus@lemmy.sdf.org
      link
      fedilink
      25•11 months ago

      Did GDB do something bad at some point?

      • @Sphks@lemmy.dbzer0.com
        link
        fedilink
        17•11 months ago

        Yes. It breaks points.

      • @SpaceNoodle@lemmy.world
        link
        fedilink
        3•11 months ago

        No

    • @quink@lemmy.ml
      link
      fedilink
      9•11 months ago

      That’s console.trace() for all you JS devs out there.

      • @alqloe@lemmy.dbzer0.com
        link
        fedilink
        3•
        edit-2
        7 months ago

        deleted by creator

      • @lemmesay@discuss.tchncs.de
        link
        fedilink
        1•
        edit-2
        10 months ago

        deleted by creator

    • @psud@aussie.zone
      link
      fedilink
      7•
      edit-2
      11 months ago

      Don’t you want it to look a little nicer? echo __LINE__ . “: Moo!”;

      I mean, presuming cowsay is unavailable

    • @flying_sheep@lemmy.ml
      link
      fedilink
      6•11 months ago

      dbg!() for Rust users

Programmer Humor@programming.dev

!programmer_humor@programming.dev
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
  • 47 users / day
  • 285 users / week
  • 1.34K users / month
  • 4.39K users / 6 months
  • 1 subscriber
  • 1.52K Posts
  • 50.9K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org