TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Go code: Line of sight principle

8 pointsby blacksmytheover 7 years ago

1 comment

flavio81over 7 years ago
TL;DR:<p>Since Go does not have any decent error handling system, regular code will tend to have convoluted if-then-else blocks, thus the author proposes simple, effective ways to simplify them, so you can enjoy Go and keep handling exceptions as if it was early 1960s, but without the hassle of using punched cards.