Re:A Defer Mechanism for C
by CyberRabbi on Monday December 14, 2020 @09:00AM
(#25417555)
It’s even more explicit to just call your cleanup routines manually, so by that logic “defer” is inferior to existing methods of handling cleanup in C
[ Parent
| on HN ]
subroutine calls requires implicit allocation and deallocation of stack frames. Real Programmers™ use goto and manage the stack by hand.
Re:A Defer Mechanism for C
by drsozesakamoto on Tuesday December 15, 2020 @03:05AM
(#25428100)
> subroutine calls requires implicit allocation and deallocation of stack frames. Real Programmers™ use goto and manage the stack by hand.
Could u point to an example of programmers doing this ?
sorry, I had forgotten the /sarcasm tag.
Although I guess Cheney on the MTA counts.( https://dl.acm.org/doi/10.1145/214448.214454 )