I stumbled upon this video of Uncle Bob , talking about the SICP book and the expression about the assignment, and it made me think (and read the corresponding chapter from SICP ).
I am wondering if the arguments listed (local state, side effects, etc.), given the first edition in 1984 , are still a problem in modern languages like Java and C #. Perhaps this was a problem. Is it still? Or has something changed?
For example, in Java there is an immutable String
s. A separate area in which I can think that assignment is harmful is concurrency (correct me if I am wrong). No assignment means no synchronization and no deadlocks in resources, right?
source share