4 ms·
Why not use both? -er’s do stuff to things while -able’s get stuff done to them and use them as it make sense. Use the one that makes the most sense given the
by tareqak 3y ago
Why not use both? -er’s do stuff to things while -able’s get stuff done to them and use them as it make sense.
Use the one that makes the most sense given the situation.
- jonahx 3y agoYou 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.