this post was submitted on 17 Jan 2024
84 points (91.2% liked)

Programming

17342 readers
378 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] mvirts@lemmy.world 56 points 9 months ago (2 children)

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 26 points 9 months ago (1 children)

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 8 points 9 months ago* (last edited 9 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@programming.dev 11 points 9 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.