Discussion

Ask HN: Why does Linux Kernel use goto statements?

I noticed this goto statement while going through the kernel code. Why is it there and isn't it an indication of bad design? https://github.com/torvalds/linux/blob/19901165d90fdca1e57c9baa0d5b4c63d15c476a/kernel/acct.c#L490
9 points soheil 4 years ago 17 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton