🔥 Have a function that gets used in about 100 places that you need to behave slightly differently for some new code? Add an optional flag.
@legacy_coder @DannyvanKooten "Have a function that gets used in about 100 places..." -> that's a job for @cansnippet 👍
@legacy_coder 'db_new_user_optimized2', must be twice as good as 'db_new_user_optimized'
@legacy_coder Man, some of us are reading these before our first coffee & you're causing some serious mental anguish...
@legacy_coder Does anyone really write code like that if? 😱
@legacy_coder if( !$dont_escape === false) has to be the most eloquent way to write this if statement. Only takes 4 looks to figure it out 😂
@legacy_coder I like the simplicity of the opening `echo`. So many would have gone for the overly complex `sprintf` when all you actually need is a string
@legacy_coder @mannersd Please for the love of God tell me it is a joke?
@legacy_coder Or, you can just go with spec pattern. Oldie but goodie example write up by @beberlei in Doctrine context
@legacy_coder @adamwathan Cuidado que os hacen la competencia @RealUlaboxEng :)