swapTempBuffer.append("<tr>");
swapTempBuffer.append("<td colspan=\"3\" class=\"ColText1\">");
swapTempBuffer.append(" <script language='javaScript'> ");
swapTempBuffer.append(" function doElectricPlan(linkValue){");
swapTempBuffer.append(" window.document.location.href=linkValue;");
swapTempBuffer.append("}");
swapTempBuffer.append(" </script>");
swapTempBuffer.append("</td>");
swapTempBuffer.append("</tr>");
This is what happens when one knows HTML. Not only is this block of code a semanticist’s nightmare, but the original developer was compelled to accept false dilemmas, thus tripping into a practice of abusing two other languages (JSP and JavaScript).
Honestly, I’m not the sharpest butterfly knife in the poke, but I find it hard to believe the developer who wrote this code has the intuition to avert complexity. But such an intuition (or talent) must be a common feature of human intelligence: “There just has to be an easier way” or “What the fuckballs am I doing?” — apparently not.
Post a Comment
You must be logged in to post a comment.