3 ms·
where it doesn't have most of these problems due to static typing
by kragen 3y ago
where it doesn't have most of these problems due to static typing
- olliej 3y agoyeah, it cannot be emphasized enough the hazards of with() like constructs in languages with dynamic types and dynamic variable lookup are drastically different. That's why it was a mistake for it to be in JS, and why it was deprecated and blocked in strict mode.
- deleted 3y ago[deleted]