this post was submitted on 15 Nov 2024
0 points (NaN% liked)

Programming Horror

1889 readers
8 users here now

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

Credits

founded 1 year ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 0 points 19 hours ago

Why settle on cammel case ("saveGame") or upper cammel case ("SaveGame") when you can have one of each?

[โ€“] [email protected] 0 points 21 hours ago

Nested json ๐Ÿ‘ฝ

[โ€“] [email protected] 0 points 22 hours ago (1 children)

I WILL NOT USE ANOTHER LINE. I DON'T NEED IT

[โ€“] [email protected] 0 points 20 hours ago

The best code has the fewest lines.

[โ€“] [email protected] 0 points 23 hours ago

In German we say "doppelt hรคlt besser". Is there an English saying like that? "Twice is stronger/more stable/holds better."

[โ€“] [email protected] 0 points 1 day ago (1 children)

smh, could have used the short form ()=>{ instead of function ๐Ÿ˜ค

[โ€“] [email protected] 0 points 1 day ago

I've been coding long enough that I still think of that as a fairly new thing in JS.