Ponder.cat
  • Communities
  • heart
  • search
    • Login
    • Sign Up
    • Communities

    • heart
      Support Lemmy
    • search
      Search

    • Login
    • Sign Up
    cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago

    Tell me the truth ...

    piefed.jeena.net

    message-square
    168
    fedilink
    1.16K

    Tell me the truth ...

    piefed.jeena.net

    cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month ago
    message-square
    168
    fedilink
    • ethancedwards8@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 month ago

      Why is this a big mistake? I’m not a c++ person

      • bitcrafter@programming.dev
        link
        fedilink
        arrow-up
        5
        ·
        1 month ago

        The mistake was that they created a type that behaves like an array in every case except for bool, for which they created a special magical version that behaves just subtly different enough that it can break things in confusing ways.

        • ethancedwards8@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          1 month ago

          Could you provide an example?

          • timhh@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            The biggest problem is that each element doesn’t have a unique memory address; iterators aren’t just pointers.

    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.

    • 103 users / day
    • 3.2K users / week
    • 9.83K users / month
    • 18K users / 6 months
    • 1 local subscriber
    • 24.4K subscribers
    • 913 Posts
    • 16.3K Comments
    • Modlog
    • mods:
    • adr1an@programming.dev
    • Feyter@programming.dev
    • BurningTurtle@programming.dev
    • Pierre-Yves Lapersonne@programming.dev
    • UI: unknown version
    • BE: 0.19.8
    • Modlog
    • Instances
    • Docs
    • Code
    • join-lemmy.org