• ugo@feddit.it
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    14 hours ago

    No, that’s what good programmers say (measure first, then optimize). Bad programmers use it to mean it’s perfectly fine to prematurely pessimize code because they can’t be bothered to spend 10 minutes to come up with something that isn’t O(n^2) because their set is only 5 elements long so it’s “not a big deal” and “it’s fine” even though the set will be hundreds or thousands of elements long under real load.

    It would be almost funny if it didn’t happen every single time.