3 ms·
This is rookie-level shittifying. What it needs to do is insert `with` blocks at random, with various levels of nesting, so you completely lose track of the sco
by ljm 3y ago
This is rookie-level shittifying. What it needs to do is insert `with` blocks at random, with various levels of nesting, so you completely lose track of the scope of any object property.
- WorldMaker 3y agoToo "bad" that `with` blocks are forbidden in strict mode and most JS is strict mode by default now. You could somewhat approximate it with lots of unadorned blocks and complex object destructuring. { const { prop1: a, prop2: A, prop3: xTy } = obj // … { const { prop1: A, prop2: xTy, prop3: a } = obj // … } } Something like that.
- specialist 3y agoHeh. And randomly add "-Decorator" suffix to class names. Ages ago, I tried to diplomatically explain to our Senior Architect Grand Poobah (and my team lead) that one set of Decorators are actually Chain of Commands. And that they shouldn't be silently swallowing exceptions. After a few minutes, he says "u/specialist, I'm surprised someone with your experience doesn't understand architecture." Then gets up and walks away.