Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
spirit-sparrow
on Nov 26, 2024
|
parent
|
context
|
favorite
| on:
Lies we tell ourselves to keep using Golang (2022)
That should not be an issue, unless the code is written in notepad. As for interfaces, a better approach is to return struct and accept interface in your functions wherever it is possible.
linhns
on Nov 29, 2024
[–]
Sometimes it's better to to return interfaces, like contract style programming.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: