Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
spirit-sparrow
· 2y ago · 0 comments
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.
Comments
[–]
linhns
2y ago
Sometimes it's better to to return interfaces, like contract style programming.