[-] auchschonda@feddit.de 2 points 10 months ago

How strange. Thought this is a general issue or 'feature'. Maybe you close it FF differently as me? https://support.mozilla.org/en-US/questions/1291164

[-] auchschonda@feddit.de 2 points 1 year ago

Modularity. Part of it is defining a proper Interface for using the hidden complexity.

Exceptions are only one example. Functions can have behavior, inner states, prior calling requirements etc.. you cannot read from its mere prototype.

Do you really want everyone to read the inner code to learn that?

Chances are that if documentation exists, it’s no longer up to date.

This risk also applies to descriptive function names. They can be poor, wrong or outdated, too.

[-] auchschonda@feddit.de 2 points 1 year ago

But a major point of a function is that you not have to read its implementation details.

view more: ‹ prev next ›

auchschonda

joined 1 year ago