2 ms·
An interface that changes because of the implementation is not really an interface. I can change from ext2 to btrfs and my program won't die because open and r
by eddd-ddde 2y ago
An interface that changes because of the implementation is not really an interface.
I can change from ext2 to btrfs and my program won't die because open and read are a good interface.
- f1shy 2y agoIf 10% of people doing SW would understand this, the world would be much better.
- cpeterso 2y agoI fear good ol’ fashioned information hiding is being forgotten in modern software design. Systems are increasingly complicated and developers are busy just trying to get all their code to fit together to worry about the difference between an interface and encapsulation. https://en.m.wikipedia.org/wiki/Information_hiding https://en.m.wikipedia.org/wiki/Information_hiding