I once had to work with a front-end code that did pack 6 boolean flags into an integer by bit manipulation. Only to send it as one of the stringified JSON values, of course.
I mean, I get that, and the URL length limit in some browsers especially with multi-byte character possibilities, but I don't understand why you wouldn't name the variables full words once you pull the strings from the params map.
View all comments
Show parent comment
128
u/ILikeLenexa Sep 30 '26
My absolute favorite one was an app that took 14 single letter URL parameters on every GET request and assigned them to single letter variables.
You'd think they were being charged by the keystroke.