4 ms·
By that standard every programming language is functional, since the compiled program is a function.
by ummonk 7y ago
By that standard every programming language is functional, since the compiled program is a function.
- ummonk 7y agoSince I got downvoted let me elaborate: it isn’t relevant that the universe is a function. What matters is whether the universe can be modeled better as the composition of pure functions or as some stateful composition (e.g. interacting stateful objects). Programming languages aren’t about the final result but about how you decompose the result into modular abstractions.