3 ms·
> Deleting code doesn't necessarily mean you're making it simpler. Compressing a 5 line function into a snazzy 1-liner is almost certainly making the code worse
by rumcajz 9y ago
> Deleting code doesn't necessarily mean you're making it simpler. Compressing a 5 line function into a snazzy 1-liner is almost certainly making the code worse, not better.
What about using something like gofmt? That way you can't get rid of lines by just rearranging the code.