Re:From Node to Ruby on Rails
by dragonwriter on Thursday December 16, 2021 @02:42PM
(#29582850)
In practice, the Python example is likely to have considerable information hidden in the “blah” from which existing tooling can often infer much of what would be declared in a language with mandatory explicit static typing; and it has existing tooling for optional explicit static typing, too.
[ Parent
| on HN ]
Re:From Node to Ruby on Rails
by OkayPhysicist on Friday December 17, 2021 @12:01AM
(#29587992)
So does Elixir with typespecs and Dialyzer, but I'm talking about quick, at a glance analysis of a function definition. Which is really the only benefit from a brittle type system like C or Java's, in contrast to a proper type system like Rust's or Haskell's, which have their place and cannot be adequately replaced merely with pattern matching.