logoalt Hacker News

jeffbeetoday at 5:48 PM3 repliesview on HN

That is both really useful and a great example of why they should have stopped writing code in C decades ago. So many kernel bugs have arisen from people adding early returns without thinking about the cleanup functions, a problem that many other language platforms handle automatically on scope exit.


Replies

overfeedtoday at 6:34 PM

Must we do this on every thread about the Linux kernel?

show 2 replies
nurettintoday at 8:40 PM

> stopped writing code in C decades ago.

And what were they supposed to use in 2006? Free Pascal? Ada?

show 1 reply