Hacker News new | ask | show | jobs
by userbinator 1877 days ago
That's partly the reason why the term "best practice" has become a bit controversial in some communities --- it's seen as mindless dogmatic cargo-culting. I've heard the saying "best practices are best not practiced" from the opposition.

There is nothing more frustrating than working on a codebase that puts 12 lines of code in each file and then spreads that code into 1,000 files.

In other words, "Enterprise" code, which is in my experience usually designed more to hit all the "best practices", and often according to the opinion of some idiotic tool (as in computer program, although sometimes a person too...), than do anything sanely.

1 comments

If you are having difficulty navigating a project because it has many modules, I really don't think that is an argument for disavowing whatever best practices. Rather, it is more of an argument against whomever organized the code base in a way that they like and you don't.