2 ms·
Asking because I am curious to learn, how does a language being functional matter here? As I understand it Python is also strongly typed, while JavaScript is n
by spprashant 3y ago
Asking because I am curious to learn, how does a language being functional matter here?
As I understand it Python is also strongly typed, while JavaScript is not.
- AlchemistCamp 3y agoIn Python, variables are mutable and being a class-based OO language, there’s often a lot of state that isn’t immediately clear when inspecting nearby code. By working with immutable structs and pattern matching, you can get many (but not all) of the same guarantees you would from static types.