I do this in my code. It’s easier to read when you write functions as sanitize->validate->execute. If you do it that way, you rarely need else, and you end up creating clear opportunities to break your code into smaller pieces.
buff.ly/3he9zZq by @dglsparsons
Leave a Reply