[prev] [thread] [next] [lurker] [Date index for 2006/12/17]
Dave Hodgkinson wrote: > Reach for the root cause: regexps themselves are hateful. Nasy, > cryptic line noise. Oh sure, reach for the easy target. Hating regexes is easy because they look weird. Wait until you try string processing in Java where some lunkhead only knows about "substr" and "indexof". You come across several pages of code to do what some simple regex could. Only it's inflexible and a maintenance nightmare. And /then/ you discover that it doesn't cope with backslashed strings. Bleargh. -Dom, annoyed that an interview candidate sent in something like this as his "code sample"...There's stuff above here
Generated at 22:02 on 27 Dec 2006 by mariachi 0.52