3 ms·
The (destructive) assignment is an extra concept in imperative programming compared to functional programming. It is also a form of resource management and inc
by thesz 11y ago
The (destructive) assignment is an extra concept in imperative programming compared to functional programming.
It is also a form of resource management and incur resource management issues (do I need that value in this variable? Can I overwrite it and discard old value?).
The implicit state also is an implicit communication channel between different parts of program. In FP this communication is much more explicit, especially if you use something like Software Transactional Memory.
I think I listed enough points for you to reconsider your stance about Python being easier to grasp.