News for hackers. Stuff that matters.
Re:Linux: Using goto In Kernel Code (2003) by shaggie76 on Saturday July 17, 2021 @08:32AM (#27865328)
> "discipline doesn't scale"

Brilliant observation!

Re:Linux: Using goto In Kernel Code (2003) by jiggawatts on Saturday July 17, 2021 @09:03AM (#27865482)
I can't take credit. I got that phrase from the article linked to from this discussion: https://news.ycombinator.com/item?id=24834965
Re:Linux: Using goto In Kernel Code (2003) by dmatech on Saturday July 17, 2021 @02:39PM (#27867814)
Discipline can scale, but only among very smart and careful programmers. If you're going to have a one-size-fits-all standard that expects to include novice programmers, it can't include anything dangerous.

Even smart and careful programmers make mistakes, though, and they don't use goto for laughs. Likewise, even a novice programmer can probably use it safely in a small function.

Re:Linux: Using goto In Kernel Code (2003) by smitty1e on Saturday July 17, 2021 @10:11AM (#27865878)
I'd vary that to say: "Everything has a learning curve."

I can have disciplined new hires, but they don't know what they don't know yet about what is at stake.