PHP is extremely inconsistent, has pitfalls that are easy to fall into, but it&#x27;s useful because you practically don&#x27;t need to worry about importing much because they just put everything in the core.<p>Javascript was actually fairly consistent, despite having some pitfalls, until they decided to add classes and lexical scoping (e.g. you can&#x27;t actually bind a context to a fat-arrow function, while you can for the older syntax), so now there&#x27;s like 5 different ways to do everything and some have more pitfalls than others. At least I know how I can use the updates to make my own code cleaner, and new coders can just ignore that prototypal inheritance ever existed and the unique design patterns that came with it.