smh, could have used the short form ()=>{ instead of function ๐ค
Programming Horror
Welcome to Programming Horror!
This is a place to share strange or terrible code you come across.
For more general memes about programming there's also Programmer Humor.
Looking for mods. If youre interested in moderating the community feel free to dm @[email protected]
Rules
- Keep content in english
- No advertisements (this includes both code in advertisements and advertisement in posts)
- No generated code (a person has to have made it)
Credits
I've been coding long enough that I still think of that as a fairly new thing in JS.
Nested json ๐ฝ
Someone's handed me nested base-64 encoded JSON before and to this day I am moderately annoyed at them.
unity kinda does this ! there is a json file wirh a base-64 encoded string (UTF-16 encoding) and is a completely different data structure with embedded json
I just had to add URL-encoded TOML to something due to a certain Rust crate's constraints.
Why settle on cammel case ("saveGame
") or upper cammel case ("SaveGame
") when you can have one of each?
In German we say "doppelt hรคlt besser". Is there an English saying like that? "Twice is stronger/more stable/holds better."
I WILL NOT USE ANOTHER LINE. I DON'T NEED IT
The best code has the fewest lines.