Best Practices

Best practices evolve. Even though they change, they tend to change in the direction of “better”, not “worse”.


The novice thinks he is an individual.

The novice says: “Best practices are always changing; why bother adhering to something that I know will change? I am free to do what I feel like without referring to best practices.”

This is not freedom; it is license.

The master realizes he stands at the end of a long trail of experience and knowledge from others, that surpasses his own personal experience and knowledge.

The master says: “This is my current understanding; these are my expected circumstances; these are the known best practices; these are their tradeoffs. I will choose the best practice I can for the tradeoffs I am willing to endure.”

This is not slavery; it is clear thinking.

Are you stuck with a legacy PHP application? You should buy my book because it gives you a step-by-step guide to improving your codebase, all while keeping it running the whole time.

7 thoughts on “Best Practices

  1. In order to use best practice efficiently you should understand why it suggests doing something, understand trade-offs and be ready to take one of best practices as a base and modify it to suit your needs. The problem with novices is not having enough experience to truly understand what’s behind best practices and thus either not using them of using them fanatically (both are equally bad).

    • I don’t think both are “equally” bad. I’d rather see a novice attempting to apply them, fanatically or otherwise, than not attempting to apply them.

      • I think what Alexander meant is that extremes are equally dangerous no matter whether you don’t use best practices at all, or use them too much without the need (e.g., code/logic complexity may increase instead of being reduced because of choosing a wrong tactic/approach).

        Alexander, correct me if I’m wrong.

        • > extremes are equally dangerous

          Again, they’re not *equally* dangerous. Some extremes are more dangerous than others.

Leave a Reply

Your email address will not be published. Required fields are marked *