Re:Fear of Macros
by taeric on Wednesday June 10, 2015 @11:09PM
(#9697222)
I think you just picked a bad example, though.
To be specific, I find it an antipattern to think that memory or other resources can be pushed behind some lexical tricks. You still had better be able to account for your resources, in all places. Having first class control over them is often a matter of when you will need it, not if.
Re:Fear of Macros
by spion on Thursday June 11, 2015 @02:03AM
(#9697893)
This is a classic case of overgeneralization which we programmers tend to do. Depending on the subfield that we work in (and sometimes the concrete problems), manual memory management can range from totally useless to always necessary
To be specific, I find it an antipattern to think that memory or other resources can be pushed behind some lexical tricks. You still had better be able to account for your resources, in all places. Having first class control over them is often a matter of when you will need it, not if.