logoalt Hacker News

groestl • today at 5:53 AM • 1 reply • view on HN

> why would you ever design a program where a change in one place affects the other

If that would be possible, there would be no function signatures.


Replies

fc417fc802 • today at 7:33 AM

Exactly. It's painfully easy to break duck typed functional code in confusing ways by subtly changing the semantics of a higher order library function that's used all over the codebase. I love lisps but IMO in general not having static types is on par with not having a debugger. It's probably my only real complaint about standard scheme.