

If it could be repeated 49 times, that might start to add up a little


If it could be repeated 49 times, that might start to add up a little


Even Haskell is higher on the list than Go, which surprises me a lot
That is just the tip of the iceberg:
This is exactly why it should throw an error, to make it incredibly obvious something isn’t working correctly so it can be fixed. Otherwise you have wrong logic leading to hard to notice and hard to debug problems in your code


The hate and down votes are not for having an opinion on the language, they are for self-righteously proclaiming that opinion in inappropriate places. Someone sharing a cool project they made is not the place to start gatekeeping their choice of tech. That’s just being an asshole.


This is close, but as someone already said, an index into a list just means you are mutating the list.
Your stable “identifier” needs to be a function, ie. a reused design pattern. Compared to the list, this would be an index function which gets an element from an arbitrary list, meaning you don’t have to mutate your list anymore, you just build a new one which still works with your function.
This is why languages which avoid mutation and side effects are always (to my knowledge) functional languages.


He is like tony stark in a timeline where Tony stark decided to join the terrorists instead of building the suit to escape. Oh and in this timeline Tony Starks brain has been rotted away by ketamine
Brainfuck is genuinely a fun toy language, and not that hard to use (for fairly simple stuff anyway). For really anti-human check out malbgolge 🫣


But what is it in reference to? What’s the “infamous if loop”?
I know right, while reading it I kept thinking “I can totally see how people might start to believe these models are sentient”, it was fascinating, the way it was “thinking”


Some say it skips a generation. Your kinks are a combination of your grandmother’s kinks.
If you have some good PowerShell examples, feel free to contribute them, I’m sure they’d be welcome
If you are bored of writing Brainfuck in your spare time, try Lambda Calculus instead as an exciting alternative!
Some of the examples seem to be more “unintuitive for newbies”, but there are still some good ones in there
The second syntax isn’t actually enums at all, it’s closer to a union type definition. You can’t even define enum Colour = Red | Green | Blue using your second syntax.
Factor, Prolog, and Python has the fractions module
Forth is fairly different AFAIK. If you want a “Forth style” language for general purpose, with more “batteries included”, try Factor! It’s a really nice language.
Surely “compiled” Vs “scripting” langs is better than throwing around (at best) meaningless terms like “real”
Python has the Fraction type, and there are many more