• mvirts@lemmy.world
    link
    fedilink
    arrow-up
    57
    arrow-down
    1
    ·
    10 months ago

    I propose a new paradigm:

    Objectional programming

    Functions don’t return

    Everything must be done by side effects

    Global state mutation is inheritance

    Every call is non blocking and spawns a new thread

    ???

    Profit

    • jdnewmil@lemmy.ca
      link
      fedilink
      arrow-up
      26
      ·
      10 months ago

      Functions don’t return… equals goto. Everything must be done by side effects… all variables are global. Global state mutation is inheritance… no grok. Every call is non-blocking and spawns a new thread… atomic bomb for junior software engineers.

      ??? … shorting the stock of the company that adopts this.

      Profit!

      • abhibeckert@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        10 months ago

        ??? … shorting the stock of the company that adopts this.

        Screw that I’m going to invest… how do you think Elon Musk got so rich? He did it with sloppy engineering.

        To get a first mover advantage, you have to be first. You don’t get there by being a perfectionist.

    • Redkey
      link
      fedilink
      arrow-up
      11
      ·
      10 months ago

      I am currently working on a game for the Atari 2600, and you just gave a good outline of my code. And I love it.