News for hackers. Stuff that matters.
Re:Reasons to avoid static type checking by code_biologist on Sunday January 28, 2024 @04:40AM (#39163997)
Very fragmented codebases like that have turned "inline function/method" into my favorite automated refactoring. I'm not an IDE person generally, but I open one up for that specific use. My favorite game to play is to see how many times I can inline with unchanged or net negative lines of code in a commit.

Getting rid of dumb tests is often where the real line savings is. No need to test your specialized internal function that's just wrapping filtering an array. Like, yes, array filter does in fact filter according the predicate you give it.

There are no comments on this comment yet.