I was browsing an edition of the national Java Magazine and saw an article about JavaMail. The subtitle caught my attention: "Customized messages and Regular Expressions". I thought: it could not be -- no one uses regular expressions to replace text in a message template. Yes, they use.
Re:REs in email templates
ferreira on 2006-10-24T17:23:25
Unfortunately, all of us are familiar with this kind of trash. It amazes me that someone hires such crappy services. (And no, I don't think it would be good that spammers produced nice-looking messages.) It also amazes me that developers do over and over the same tasks and don't improve their tools. It's against basic laziness - but that should be stuff for real programmers. I hate the "brute force" approach and I suffer having to maintain things that started like this (not talking about spamming code; I abstracted away the discussion for every code that do not respect the DRY principle and, gosh, they are everywhere).