Re:The use of `class` for things that should be simple free ...
by orisho on Friday May 29, 2020 @12:19PM
(#23351906)
The difference I was aiming at is that you (a library author, whether public or internal) shouldn't implement adder, you should implement add. And let your caller implement adder using add, if they require it. If you only expose adder, you limit possible uses for your library.
[ Parent
| on HN ]
There are no comments on this comment yet.