News for hackers. Stuff that matters.
Re:Less is exponentially more by rogerbinns on Monday June 25, 2012 @11:07PM (#4160050)
True, but so what. The code I like the best is the code I don't even have to write. Having to write all the intermediary code between where an exception happens and where I'd like to handle it is annoying.

And the "understanding" argument applies to other things, such as using a compiled language instead of assembly or GC instead of manual memory allocation.

Re:Less is exponentially more by enneff on Tuesday June 26, 2012 @01:04AM (#4160393)
That's funny. I don't mind writing code. The code I like the best is the code I don't have to debug.
Re:Less is exponentially more by eta_carinae on Tuesday June 26, 2012 @03:07AM (#4160661)
> I don't mind writing code.

You should mind writing code that the compiler can write for you, which is exactly what you do when you don't have exceptions (you simulate bubbling up the error manually).

Re:Less is exponentially more by batista on Tuesday June 26, 2012 @04:53AM (#4160854)
>That's funny. I don't mind writing code. The code I like the best is the code I don't have to debug.

The code you don't have to write, you also don't have to debug.

So you SHOULD mind writing code.

Re:Less is exponentially more by nightski on Tuesday June 26, 2012 @05:28AM (#4160926)
The assumption here being that if you do not have exceptions, one must write all the intermediate code. That exceptions are the only way of avoiding this.

While in Go this may be the case, it is not true in general. One could use an error monad to achieve the exact same thing, albeit in a much safer manner.

Re:Less is exponentially more by batista on Wednesday June 27, 2012 @04:08AM (#4166035)
Sure, and in some next generation language yet to be invented you might not even need the error monad!

But we're talking Go here.