[HN Gopher] Design better software abstractions using bipartite ...
___________________________________________________________________
Design better software abstractions using bipartite composition
(2019)
Author : dmarto
Score : 10 points
Date : 2024-03-13 21:32 UTC (1 hours ago)
(HTM) web link (cep.dev)
(TXT) w3m dump (cep.dev)
| golyi wrote:
| This feels unnecessarily fragmented and complex.
|
| Sorry don't see the benefits of designing your classes in this
| fashion.
| turkey99 wrote:
| So the opposite of encapsulation?
| jprete wrote:
| I've done this myself implicitly when trying to break down
| kitchen-sink classes. Often they were never really one class to
| begin with, so a lot of the contents can be separated into two or
| more new classes such that there are only a small number of
| dependencies between them.
___________________________________________________________________
(page generated 2024-03-13 23:02 UTC)