30 ms·
> Often it's easier to read this code than it would be if everything were split out into separate named methods. This might actually be a shortcoming of our co
by stcredzero 13y ago
> Often it's easier to read this code than it would be if everything were split out into separate named methods.
This might actually be a shortcoming of our code organization/reading tools.
- ufo 13y agoWhy should that be the case? Creating all the extra methods is going to create lots of new points of indirection, the new methods are likely to be tightly coupled anyway and breaking the nesting might mean you have to hoist a bunch of variables into an outer scope.
- stcredzero 13y agoExercise: list all of the implicit assumptions about how code organizing and reading tools have to work from those two sentences.