The dev who looks at your code 3 years later might not appreciate this…

Editing someone else’s old code is pretty scary. Sometimes editing my own old code is even scarier. Try banging your head against the wall trying to figure out why your PHP code isn’t saving data correctly to the database only to realize an hour later it’s because you forgot about the MySQL trigger you setup 3 years ago. Fun stuff. This certainly could add to the fun. According to the online manual here, you can override built-in php functions. While potentially very useful in special situations, it could also lead to a long time of debugging 3 years later.

Leave a Reply

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