3 ms·
That feels like an ad-hoc reinvention of half a type system. If you want to keep track of your values' types (and you should), why not use a typed language?
by lmm 11y ago
That feels like an ad-hoc reinvention of half a type system. If you want to keep track of your values' types (and you should), why not use a typed language?
- RodericDay 11y agothe job is in Python? I like type systems when I play around with personal projects in well-typed languages
- JadeNB 11y agoAs dragonwriter points out (https://news.ycombinator.com/item?id=11690914 https://news.ycombinator.com/item?id=11690914), Haskell best practice in naming includes things like `head (x:xs) = x`, and I think that one would not accuse this definition of involving an ad hoc reinvention of half a type system.