programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
armchair_progamer to Programmer Humor ·
edit-2
9 months ago

“C has known memory footguns. C++, due to its complexity, has footnukes.” - Hacker News comment

message-square
11
link
fedilink
519

“C has known memory footguns. C++, due to its complexity, has footnukes.” - Hacker News comment

armchair_progamer to Programmer Humor ·
edit-2
9 months ago
message-square
11
link
fedilink
alert-triangle
You must log in or register to comment.
  • smpl@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    92
    ·
    9 months ago

    The quote is a derivative of something Bjarne Stroustrup said himself¹.

    C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off

    1: https://www.stroustrup.com/quotes.html

    • 2pt_perversion@lemmy.world
      link
      fedilink
      arrow-up
      34
      arrow-down
      1
      ·
      9 months ago

      A citation with a superscript number reference in a comment? Impressive.

    • grandma@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      9 months ago

      Makes sense C++ makes everything harder

  • trxxruraxvr@lemmy.world
    link
    fedilink
    arrow-up
    67
    arrow-down
    2
    ·
    9 months ago

    I need a fact check on that first image please

    • GreenEngineering3475@lemmy.world
      link
      fedilink
      English
      arrow-up
      65
      arrow-down
      1
      ·
      9 months ago

      That is real https://www.scmp.com/news/people-culture/trending-china/article/3268091/elderly-woman-china-defies-death-after-using-hand-grenade-hammer-20-years

    • Xyphius@lemmy.ca
      link
      fedilink
      arrow-up
      33
      ·
      9 months ago

      https://www.scmp.com/news/people-culture/trending-china/article/3268091/elderly-woman-china-defies-death-after-using-hand-grenade-hammer-20-years

      https://www.thestar.com.my/tech/tech-news/2024/06/27/elderly-woman-in-china-defies-death-after-using-hand-grenade-as-hammer-for-20-years-stuns-mainland-police-and-social-media

      Found these two articles, seems legit

    • cheddar
      link
      fedilink
      arrow-up
      33
      arrow-down
      1
      ·
      edit-2
      9 months ago

      You’re more cautious with a meme than that lady with a grenade.

    • remotelove@lemmy.ca
      link
      fedilink
      arrow-up
      19
      ·
      9 months ago

      Here is a start for you: https://www.msn.com/ko-kr/news/world/20년간-수류탄을-망치로-써온-할머니에-中-화들짝/ar-BB1oYj9a

      It’s all Korean URL encoding in that link, btw. Here is a screenshot anyway.

      • Lemminary@lemmy.world
        link
        fedilink
        arrow-up
        9
        ·
        9 months ago

        Thanks for including the screenshot!

  • dosuser123456@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    9 months ago

    pretty much any software made by @[email protected] is a ticking time bomb regardless of language tbh

  • werefreeatlast@lemmy.worldBanned
    link
    fedilink
    arrow-up
    1
    ·
    9 months ago

    Was it a sudden realization? Did it make a big big noise?

Programmer Humor

programmer_humor

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: [email protected]

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.11K users / day
  • 4.71K users / week
  • 9.15K users / month
  • 17.9K users / 6 months
  • 2.39K local subscribers
  • 23.1K subscribers
  • 1.37K Posts
  • 51.5K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org