Comment

Comment by draw_down

No, he’s right. he’s speaking only of what is required and what is provided, all else being equal. The what and the why are different.

If the function started to provide different results for the same arguments, that’s different from what he’s talking about and would be a breaking change.

Worrying about the internals of the function is a violation of encapsulation. We care what we provide and what we receive back.

parent draw_down 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton