4 ms·
The article references 'defer' being in several newer languages, but seems to have missed the 'scope' implementation in the D language which I think was impleme
by grok22 6y ago
The article references 'defer' being in several newer languages, but seems to have missed the 'scope' implementation in the D language which I think was implemented long before the other languages got their 'defer' feature.
- lerno 6y agoNo, I'm aware of it. GCC also has a similar feature as a C extension. I picked those languages because they very clearly use the same keyword.