logoalt Hacker News

Fervicusyesterday at 11:58 PM3 repliesview on HN

I really want to like Go, but I can't stand looking at Go code. The error handling is such a turn off.


Replies

vrosastoday at 12:09 AM

Why would you say something so controversial yet so brave?

kajika91today at 12:20 AM

Not that I like go at all but because of it my C++ is starting to look like it as I am returning tuples of [result, error].

I try to avoid exceptions, is there any better ways? (Variant looks a bit more complicated but could be a totally OK alternative)

show 1 reply
whalesaladtoday at 12:24 AM

Personally I feel go has many issues and is ugly as hell but the error handling is really the least of my worries.