News for hackers. Stuff that matters.
Re:On Comments in Code by nicoburns on Wednesday June 16, 2021 @02:19PM (#27531721)
If you're mutating variables then I'd agree that it might be best to encapsulate that in a function. But I'd argue that except for performance sensitive code, that's bad practice. The vast majority of code I write has 95% immutable variables. So even in a large function they'll typically be at most one or two mutable variables to keep track of (and very often zero).

There are no comments on this comment yet.