Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jonahx
on July 30, 2023
|
parent
|
context
|
favorite
| on:
The bigger the interface, the weaker the abstracti...
You could, but this is not Go's convention. Go's convention is that when you have an interface with a single method "x", you name the interface "xer".
This has the advantage of being simple and mnemonic. It has the downside I already mentioned.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
This has the advantage of being simple and mnemonic. It has the downside I already mentioned.