Once I had to fix a website with everything in the same script. Every page, every bit of html with inlne CSS and Javascript, was there in a gigantic sequence of else if, with functions (with embedded business logic) to output the common bits.
I mean, the streets of R’yleh were more navigable than… that.
Once I had to fix a website with everything in the same script. Every page, every bit of html with inlne CSS and Javascript, was there in a gigantic sequence of else if, with functions (with embedded business logic) to output the common bits.
I mean, the streets of R’yleh were more navigable than… that.
You can write bad code in any language. Looks like you hit the jackpot with that one.