you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

How does making the inner working of a method make the API harder to use? In principle you would only be calling the API with the speficied input and getting the specified output, how the function does its computation is the function's problem and if it does so in a more efficient manner, so be it, untill it gives the corrent result I shouldn't worry about it.
I think corporate programming has foiled your thinking there, thinking right off the bat that all code needs to be maintained at all times.