6 ms·
I use ^$ vs \A\z as an interview question for senior engineers. Sadly, it filters a lot of them out.
by getsat 11y ago
I use ^$ vs \A\z as an interview question for senior engineers. Sadly, it filters a lot of them out.
- llasram 11y agoSounds like a pretty successful bidirectional filter to me. (As in: you apparently don't want engineers who don't know this detail, and I wouldn't want to work at a company where that kind of trivia is a litmus test.)
- getsat 11y agoIt's not trivia. If someone doesn't know the difference, they're going to allow bad data into our database. Large webapps with poor model validations are security and maintenance nightmare.
- getsat 11y agoActually, I am reminded of an error that happened which was similar to this. After I left a past company, an engineer flubbed a validation which allowed a subtle bug to go undetected for 10 days which cost the company $500,000. $50,000/day is an expensive lesson!