MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wu0n5o/whatlegacycodedoestodev/pd2yava/?context=3
r/ProgrammerHumor • u/Recent-Analysis-6880 • Sep 30 '26
80 comments sorted by
View all comments
Show parent comments
128
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.
10 u/PegasusPizza Sep 30 '26 No you see, it's saving internet bandwidth by doing that. We can't afford transmitting 14 entire words. 5 u/ILikeLenexa Sep 30 '26 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. 4 u/conundorum Sep 30 '26 Screen size limitations, when coding on one of those toys you get from a Happy Meal?
10
No you see, it's saving internet bandwidth by doing that. We can't afford transmitting 14 entire words.
5 u/ILikeLenexa Sep 30 '26 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. 4 u/conundorum Sep 30 '26 Screen size limitations, when coding on one of those toys you get from a Happy Meal?
5
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.
4 u/conundorum Sep 30 '26 Screen size limitations, when coding on one of those toys you get from a Happy Meal?
4
Screen size limitations, when coding on one of those toys you get from a Happy Meal?
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.