4 ms·
I think Javascript also suffers from something like this: functions inside functions inside functions inside functions. If Java is the king (queen?) of horrible
by orangethirty 14y ago
I think Javascript also suffers from something like this: functions inside functions inside functions inside functions. If Java is the king (queen?) of horrible naming conventions, Javascript is the prince(ss) of horrible code structure. It might be why both are named Java...
var foo = function(foo, bar){
var bar = function ( function (x) {
this.something = function (z) {
return function (y){}}}}};
//or something like that. Only a fool would
think the code above is real or even correct.
- swang 14y agoThere is a name for this: callback hell.