Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Sometimes it's better to to return interfaces, like contract style programming.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: