//Big Ball of Mud Pattern
Deadlines are more important than good & solid code. I found myself between a rock and a hard place. I guess to keep your job, you just have to do what works as opposed to doing it right. It’s sad, but you just have to do what the business wants, even if you know it’s not what’s best for them.
private void setMenuHeadHTML(UserProfile userProfile) {
…
bigMoStringBuffer = bigMoStringBuffer.append( DisplayElementHome.getNEW_LINE() + “<script language=\”JavaScript\” type=\”text/javascript\” src=\”http://[server-port]/[blah1]/com/[blah2]/treasury/client/javascript/sniffer.js\”>” ) ;
…
}
private void setMenuHeadHTMLForASP(UserProfile userProfile) {
…
}