11 ms·
keyword arguments are, internally, syntactic sugar over a hash. It probably doesn't easily work with typing the explicit values of a raw hash
by t-writescode 10mo ago
keyword arguments are, internally, syntactic sugar over a hash. It probably doesn't easily work with typing the explicit values of a raw hash
- anamexis 10mo agoThis hasn’t been true since Ruby 3.0. Keyword arguments are a core language feature with their own semantics.
- t-writescode 10mo agoOh huh, TIL. Thanks for sharing!