Re:Hero – A handy, fast and powerful Go template engine
by Zach_the_Lizard on Tuesday February 14, 2017 @07:01AM
(#13642911)
Can't help but agree.
I write Go professionally now and it's just not a productive language. The concepts are there, but the execution was frankly quite lazy and inconsistent.
Never panic in an external API, but closing closed channels and random number functions panic in the same way Java throws checked exceptions.
Generics aren't important, except for slices, maps, and channels which are generic.
Re:Hero – A handy, fast and powerful Go template engine
by icholy on Tuesday February 14, 2017 @09:21AM
(#13643627)
When a program panics, it's saying that there is a fundamental problem with your logic. Closing closed channels and dividing by zero are both examples of those.
I write Go professionally now and it's just not a productive language. The concepts are there, but the execution was frankly quite lazy and inconsistent.
Never panic in an external API, but closing closed channels and random number functions panic in the same way Java throws checked exceptions.
Generics aren't important, except for slices, maps, and channels which are generic.
Really minor things like this add up