Re:Grokking Big Unfamiliar Codebases
by patrickthebold on Friday January 27, 2023 @12:56PM
(#34549361)
I've come around on this one. I (now) like having a separate interface, having just method signatures separated out makes it easy to get an overview of the class. It also makes it a bit easier to agree on the interface.
[ Parent
| on HN ]
Re:Grokking Big Unfamiliar Codebases
by yCombLinks on Saturday January 28, 2023 @12:28AM
(#34555433)
You have an interface already, without separating it from the implementation: the public methods of the class. In java any IDE will quickly give you the class outline showing you the public methods.