Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
clausecker
8 months ago
|
parent
|
context
|
favorite
| on:
Lies we tell ourselves to keep using Golang (2022)
Yes and that syntax sucks.
lionkor
8 months ago
[–]
That sounds like your opinion rather than a "it sucks because it encouraged bad practices" or something
clausecker
8 months ago
|
parent
[–]
if err != nil { return err; } is an antipattern. Codifying it through builtin constructs does not change this, but instead encourages such poor error handling. That's why try sucks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: