function {
}
Is for cheaters who want to squeeze as much code as possible onto one screen.
function {
}
Is for cheaters who want to squeeze as much code as possible onto one screen.
only good thing about javascript is that it forces people to put the squiggly brackets on the right
I thought you could put curly brackets on a new line in js? Although I know when returning an object it has to be on the same line… fuck JavaScript man
Exactly, your options are either mixing curly brackets or putting them all on the right and most people aren't crazy enough to mix then
function {
}
but
method
{
}
Don't ask me why.
Why
You don't ask!
Why
Damn it Carl!
This image is cursed!!
I'm sorry, are you saying you indent the braces? Cause if that's not unintentional, those are both horrifying!
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.