lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@kiri@ani.social to Programmer Humor@programming.dev •
edit-2
3 months ago

C++

ani.social

message-square
87
fedilink
790

C++

ani.social

@kiri@ani.social to Programmer Humor@programming.dev •
edit-2
3 months ago
message-square
87
fedilink

by trg_thanh

  • @heavy@sh.itjust.works
    link
    fedilink
    English
    16•3 months ago

    I mean, the comic is fine I guess, but if it implies the Cpp lady is hitting you, it’s not. That would be the kernel, the lady did what you told her to do.

    • @senkora@lemmy.zip
      link
      fedilink
      13•3 months ago

      If undefined behavior is triggered anywhere in the program, then it is allowed by the standard for the process to ask the anthropomorphized compiler to punch you.

      100% based and standards-compliant comic

    • @qqq@lemmy.world
      link
      fedilink
      3•
      edit-2
      3 months ago

      In some build modes clang will simply put a trap where it sees undefined behavior. https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html

      Not saying your wrong, just a fun fact I guess

      • @heavy@sh.itjust.works
        link
        fedilink
        English
        1•3 months ago

        Yeah that is fun, credit where it’s due, compilers do a lot of cool work behind the scenes.

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
  • 3.11K users / day
  • 5.96K users / week
  • 10.2K users / month
  • 18.6K users / 6 months
  • 23.8K subscribers
  • 1.46K Posts
  • 51.7K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org