Linus rants about new programming interfaces

The newest distros the lastest Nvidia driver, gadgets .....

Moderators: b1o, jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8379
Joined: 14 Mar 2010, 20:29
Contact:

Linus rants about new programming interfaces

Postby dedanna1029 » 11 Sep 2015, 23:59

His rants are great! It's just that this one is too tame. lol

Read here.
Linus Torvalds wrote:I really am very tired indeed of these "trivially obvious improvements" that are buggy and actually introduce whole new ways to write buggy code. Yes, the old code could miss an error. But the old code wouldn't then create invalid pointers like the new code does.

Linus Torvalds wrote:Let me show you:

if (isdigit(*str)) {
- io_tlb_nslabs = simple_strtoul(str, &str, 0);
+ str += parse_integer(str, 0, &io_tlb_nslabs);
and obviously nobody spent even a *second* asking themselves "what if
parse_integer returns an error".


However, this is what's really great...
BoomierBoom wrote:I wish the projects I test for had Linus as a project manager.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

Return to “Linux News”