smh, could have used the short form ()=>{ instead of function 😤
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.
… an adult enters the conversation ;-)
Easier maintainability is everything
The best code
Comes with tests what are easy to understand. As bugs are discovered, should be written in such a way, that it’s very easy to add more test cases.
Fewest lines is not necessarily easy to maintain.
Lol, I should have been marking that with a satire tag
Whether you did or not, non-obvious what the answer would be.
Might get 1000 cringe worthy responses that can’t withstand scrutiny
So my eyes need not bleed and my mind not splatter across the room, wrote a worthy response.
Lol