• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle















  • In my experience (Javascript and PHP, which both have plenty of footguns), these pitfalls can be avoided by using good practices.

    Just because they are dynamically typed doesn’t mean you have to use dynamic typing. Don’t type switch your variables.

    Just because you don’t have to use brackets in a certain scenario doesn’t mean you can’t. Use them as needed for clarity.

    That kind of thing.