News for hackers. Stuff that matters.
Re:Uncle Bob and Silver Bullets (2017) by layer8 on Monday July 04, 2022 @03:04PM (#31980639)
Uncle Bob gives some very bad advice. For example, he advocates passing temporary state between methods implicitly in instance variables instead of explicitly (and nonshared) via arguments and return values, increasing the statefulness of the code and creating complex ordering constraints and preconditions for method invocations. E.g. https://softwareengineering.stackexchange.com/questions/2887...

One can’t recommend his books with good conscience to anyone who doesn’t already have a very good judgment regarding software design and can pick out the parts that actually make sense.

Re:Uncle Bob and Silver Bullets (2017) by eurasiantiger on Monday July 04, 2022 @04:27PM (#31981410)
Uncle Bob sees classes as animals with internal state, not as abstract structures grouping together consumable APIs and their internal workings.

Calling bound functions ”methods” is perhaps a bit misleading.