3 ms·
There are ways around the syntactic capture issue, but they're very rare. This is like saying there are ways to avoid an index going off the end of an array, b
by pg 19y ago
There are ways around the syntactic capture issue, but they're very rare.
This is like saying there are ways to avoid an index going off the end of an array, but they're rare. You avoid it by checking the length of the array.
Unintentional variable capture is simply a bug. The only reason it even seems to people that they need a "way around" it is that they don't really understand what macros do.
- akkartik 19y ago> Unintentional variable capture is simply a bug. That's a useful statement if you're discussing programming within a specific language, not so useful to argue the language is fine as it is. Funny you should mention array overflow; for years (we) C programmers insisted it was 'simply a bug'. Then again, lack of hygiene enables anaphora, but lack of bounds checking has no such redeeming qualities.