4 ms·
> there are boxes in memory, assignments put things into memory You are forgetting about functional programming, which has no assignments, only bindings that a
by gnull 4y ago
> there are boxes in memory, assignments put things into memory
You are forgetting about functional programming, which has no assignments, only bindings that are immutable — just like in math. And your program is one big expression that is being reduced by a computer.
I wonder what would happen if your friend started with, say, Haskell.
- Tainnor 4y ago> I wonder what would happen if your friend started with, say, Haskell. They might get confused as soon as they saw "do"-notation which, while technically only being syntactic sugar over monadic functions, still ends up looking an awful lot like a sequence of operations being performed one after another.
- awesomeMilou 4y agoI'm waiting for the reply that explains why teaching Haskell to physics students out of all languages is not only a good, but the right idea.