News for hackers. Stuff that matters.
Re:Faster Command Line Tools in D by mhh__ on Wednesday May 24, 2017 @04:21PM (#14413139)
I can only give my own biased opinion: Go's only advantage is it's commercial adoption e.g. builtin in support in AppEngine and co. I am not referring to it's ecosystem: While gofix and friends are very good, D has similar tools available + the usual bells and whistles for IDEs.

By chance, I found (while looking for a rob pike quote) this article critiquing Go's design: It uses D to demonstrate it's arguments. http://nomad.so/2015/03/why-gos-design-is-a-disservice-to-in...

Re:Faster Command Line Tools in D by aisofteng on Wednesday May 24, 2017 @07:26PM (#14414249)
The first code comparison in that article compares Go error handling with doing a `catch Exception` in D. I don't find that a fair comparison; `catch Exception` for a block of code that can fail in different ways at different points is a bad practice.
Re:Faster Command Line Tools in D by gorthol on Thursday May 25, 2017 @03:04AM (#14415777)
It depends. If you don't care about the specific error and just want to notify the failure up the stack or recovering is perfectly fine. A lot of Go code with the same intent just do a lot of "if err!=nil return err" which is the same but writing for every function call.