News for hackers. Stuff that matters.
Re:Auto-Threading Compilers Are Here by MatthewPhillips on Tuesday December 04, 2012 @02:56PM (#4872925)
You had me until you knocked goto.
Re:Auto-Threading Compilers Are Here by bmohlenhoff on Tuesday December 04, 2012 @03:18PM (#4873042)
I found the analogy to be pretty accurate. It's very easy to shoot yourself in the foot with both goto and inheritance, it's common to see both of them abused, and in either case there are alternatives that generally equivalent but result in cleaner code.

Of course, both of them can also come in handy if you are careful and know what you're doing.

Re:Auto-Threading Compilers Are Here by pjscott on Tuesday December 04, 2012 @03:18PM (#4873040)
Are you sure he knocked goto? Like inheritance, it has great potential to turn code into spaghetti. Like inheritance, it can be useful if you're careful.
Re:Auto-Threading Compilers Are Here by michaelochurch on Tuesday December 04, 2012 @03:40PM (#4873142)
Goto is fine in self-contained uses, but turns catastrophic on large, enterprise codebases, like inheritance.

http://michaelochurch.wordpress.com/2012/08/15/what-is-spagh...

Re:Auto-Threading Compilers Are Here by akkartik on Tuesday December 04, 2012 @03:54PM (#4873201)
I'll include part of my comment to that post:

"Are goto’s always bad eventually? Who cares? There’s far bigger problems with gradual change in codebases, let’s think harder about them. My peer reviewers, hold off review until you’ve used what I’ve built and found problems with it. Managers and programmers, wrestle with judgement everyday, the stuff not easily put into rules. Leave the comforting shallows and engage with the abyss."

http://michaelochurch.wordpress.com/2012/08/15/what-is-spagh...