this post was submitted on 23 Mar 2025
251 points (98.1% liked)

LinkedinLunatics

5261 readers
164 users here now

A place to post ridiculous posts from linkedIn.com

(Full transparency.. a mod for this sub happens to work there.. but that doesn't influence his moderation or laughter at a lot of posts.)

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Boomkop3@reddthat.com 10 points 4 months ago* (last edited 4 months ago) (2 children)

No mutable types? So like.. no lists? no for ... i++?

I get that there are alternative approaches, but I don't quite see why you'd want to go to that extreme with this idea? It's useful for some applications but even for a simple video game it's likely not helpful.

[–] monotremata@lemmy.ca 6 points 4 months ago

Pure functional programming is often like this.

Erlang/Elixir doesn't have muteable variables/types. Appending to a list would just create a "new" lists.