3 ms·
I once had a boss that forbade regular expressions, including split(). The task was parsing datasets in a variety of formats (one per vendor, hundreds of vendo
by joshu 17y ago
I once had a boss that forbade regular expressions, including split().
The task was parsing datasets in a variety of formats (one per vendor, hundreds of vendors.)
The only acceptable way was substr. Everything else causes "memory fragmentation," apparently.
The language was Perl.
- Dilpil 17y agoThe only thing better than ridiculous coding standards are the fanciful explanations for them.
- jrockway 17y agoYeah, Perl shops can be weird. I was told not to use map or grep because they are "too hard to understand". How?!?
- deleted 17y ago[deleted]
- joshu 17y agoSadly, it was not a Perl shop. I was one of only a few developers. My next job was at Morgan Stanley, which had great infrastructure, both for Perl and otherwise.