Re:Inductive or Deductive? Rethinking the Fundamental Reason...
by astrange on Tuesday September 03, 2024 @03:51AM
(#41432392)
I don't think the concept of encapsulation in programming is a semantic word game.
Any part of a program can become a black box if you decide it is one (if you can figure out an interface anyway…), and that's good because it means you can swap it out.
Any part of a program can become a black box if you decide it is one (if you can figure out an interface anyway…), and that's good because it means you can swap it out.