Better HN
topnewbestaskshowjobs
Log inSign up

blobmarley

1 karma · joined Nov 14, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

Had to maintain a web code from the pre JSP era,i.e, servlets and writing UI code in Java classes (think writing html in s.o.p). The beauty of it all was that there were only two classes for the entire application: one was the servlet, and the other held all the UI code for all the pages. Requests bounced between the both of them, held together and dictated by a series of "if" conditions checking for "string equals" in a method with 50 variables, all strings, named s, s1, s2..s49. And no comments anywhere.