• esa
      link
      fedilink
      223 months ago

      >What is C++? A miserable huge pile of "should"s

      • @[email protected]
        link
        fedilink
        23 months ago

        should have a space after „>” and two new lines after „?”.

        I guess markdown is miserable as well.

        • Colonel Panic
          link
          fedilink
          33 months ago

          not being able to master markdown might hint at why the commenter is struggling with C++

        • @[email protected]
          link
          fedilink
          English
          53 months ago

          Hey now, markdown serves it’s purpose. It’s not great, but as a web dev, I don’t want people expecting full WYSIWYG editors in every website cause fuck that!

      • Lucy :3
        link
        fedilink
        1
        edit-2
        3 months ago

        Still love it tho. You can make it whatever you want!

      • Lucy :3
        link
        fedilink
        103 months ago

        Should ≠ Needs to

        You can do it, and it will work, but it’s unclean and not best-practice. I wouldn’t be surprised if it’s undefined behaviour.

        • @[email protected]
          link
          fedilink
          223 months ago

          Just to clarify. It is defined behavior - there’s plenty of undefined behavior in C but that ain’t one of them.

      • Fonzie!
        link
        fedilink
        12 months ago

        And sensible compile times.

        I’m trying to write a game in Bevy but my laptop’s Intel 7400 taking almost a minute to compile even small changes is really killing me.
        I’ve looked up rustc compile times on different CPUs and am seriously considering getting a new laptop with a Snapdragon X Elite or something in that vein for this.