@[email protected] to Programmer [email protected]English • 9 months agoWhatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewriteprogramming.devimagemessage-square90fedilinkarrow-up1600
arrow-up1600imageWhatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewriteprogramming.dev@[email protected] to Programmer [email protected]English • 9 months agomessage-square90fedilink
minus-square@[email protected]linkfedilink25•9 months ago inexperienced big brain developer see nested loop and often say “O(n^2)? Not on my watch!” complexity demon spirit smile This hits too close to home.
minus-squaremagic_lobster_partylinkfedilink23•9 months agoNew code is O(n log n), but the time benefits only kicks in when n is above 1 trillion. Otherwise it’s much slower.
This hits too close to home.
New code is O(n log n), but the time benefits only kicks in when n is above 1 trillion. Otherwise it’s much slower.
And 90% of the time, n is about 3
and 99.9% of the time it is less than 10