• @Maalus@lemmy.world
    link
    fedilink
    178 months ago

    You can call it whatever you like, the fact of the matter remains - code readibility is more important than most optimizations you can ever hope to make.

    Bad programmers optimize everything and produce code that is not understandabe and 0.001% “faster”

    • @spudwart@spudwart.com
      link
      fedilink
      English
      28 months ago

      Optimization isn’t inherently better than Readable code.

      What’s most important is what matters to your project.

      If your project manages itself with limited resources, Optimization is better than Readable code, and it should be supplemented with comments.

      If your project has a wealth of resources, readable code is probably the better option.

      The “This is the ONLY WAY” mindset in coding is the only thing that I would argue is completely wrong. The “One-size fits all” mindset in development is short sighted, sure. but what makes it the worst, is when it becomes “One-Size fits all ONLY”.

      “One-size fits all” means the project runs well on everything. “Optimized for one” means the project runs exceptionally on one Architecture/OS.

      Basically, this situation is the highly unsatisfying “It’s your preference”.

      But given the context of Yandere Dev and the Target Audience of Yandere Simulator, his code is perfect. It’s code that runs terribly on everything and the project is for no one.