Hacker News new | ask | show | jobs
by k__ 2475 days ago
>this code is relying on inference too much

Is this some TypeScript joke I'm too Hindley-Milner to understand?

1 comments

Not sure. Once upon a time I wrote a small program in Haskell for an exercise in cryptography. It defaulted to Word8 for all arithmetic throughout the program because some of the operands came from a ByteString. Scary. Maybe you are less too Hindley-Milner and more following the advice of explicit types on at least all top-level declarations?
Could be, yes :)