from Hacker News

Clean Code Means Good Code: The Horrible Performance Debate

by pbw on 6/9/24, 11:22 AM with 1 comments

  • by akasakahakada on 6/9/24, 2:35 PM

    Reason why we still don't have AGI is such long excuse for writing slow code.

    Author argue that right tool for right thing, simple app don't need fast algorithm.

    So people will just write 1000 small classes and function and since they are small, they affort to be slow. And then all grouped together as a big app by OOP mindset. Now we have the slowest app world champion.

    Author: and then we optimize hot spot.

    Yep. Every little function is a hot spot.

    Author: or get the optimized version written by other people later.

    Why externalize the responsibility of your own code.