• 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.

    • esa
      link
      fedilink
      223 months ago

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

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

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

      • @[email protected]
        link
        fedilink
        23 months ago

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

        I guess markdown is miserable as well.

        • @[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!

        • Colonel Panic
          link
          fedilink
          33 months ago

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