Y
Hacker News
new
|
ask
|
show
|
jobs
by
kansface
4459 days ago
Closures are fine, but avoid seagulls:
function() {
function() { function() { function() { } } } }
3 comments
prezjordan
4459 days ago
"Seagulls" amazing! I'm used to calling them pyramids of doom, or laser guns.
link
ufo
4459 days ago
Looks a bit less like seagulls if you do "});" instead of plain "}" though
link
manyxcxi
4459 days ago
We call it arrow code. The arrow points down a path of deep despair and frustration.
link
possibilistic
4459 days ago
I think this is going to catch on.
link
comrh
4459 days ago
Seagulls?
link
bhauer
4459 days ago
First I've heard the word used in this context, but I assume it refers to the appearance of the braces forming a 'V' pattern of what look like seagulls.
link