Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. // Implement

// Implement

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
24 Posts 17 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • maven@lemmy.zipM [email protected]
    This post did not contain any content.
    J This user is from outside of this forum
    J This user is from outside of this forum
    [email protected]
    wrote on last edited by [email protected]
    #21

    Thank goodness for the JIT and compiler optimizations.

    isveryloud@lemmy.caI 1 Reply Last reply
    7
    • M [email protected]

      Yeah, just to say it more clearly: that kind of thing is why lots of people out there insist that operator overloading is a bad idea.

      And yeah, it's a C++ thing that mostly doesn't happen in other languages.

      teamassimilation@infosec.pubT This user is from outside of this forum
      teamassimilation@infosec.pubT This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #22

      Sincerely agree. Explicit is better then implicit, that’s a general engineering axiom.

      Instead of overloading and making the next maintainer hunt for overloads, a clearly named function that does the critical steps would make the code immensely more maintainable. C++ is C gone wild.

      1 Reply Last reply
      2
      • J [email protected]

        Thank goodness for the JIT and compiler optimizations.

        isveryloud@lemmy.caI This user is from outside of this forum
        isveryloud@lemmy.caI This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #23

        ...would JIT optimizations even help here?

        1 Reply Last reply
        1
        • L [email protected]

          As a shotgun. That's why people don't shoot themselves in the foot with a shotgun.

          iavicenna@lemmy.worldI This user is from outside of this forum
          iavicenna@lemmy.worldI This user is from outside of this forum
          [email protected]
          wrote last edited by
          #24

          Actually

          https://neshobademocrat.com/stories/man-accidentally-shoots-his-foot-with-shotgun,121925

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups