top | item 46572410

(no title)

helix90 | 1 month ago

The common one I fought long ago was folks who always use regular expressions when what they want is a string match, or contains, or other string library function.

discuss

order

Minor49er|1 month ago

I've seen a lot of the opposite, especially having done a lot of string parsing in PHP: some developers would nest half a dozen string functions just to prepare and extract a line of data while a simple regular expression would have handled the operation much more concisely and accurately