Re:T-Ruby is Ruby with syntax for types
by t-writescode on Friday December 26, 2025 @10:25PM
(#46398799)
keyword arguments are, internally, syntactic sugar over a hash. It probably doesn't easily work with typing the explicit values of a raw hash
[ Parent
| on HN ]
Re:T-Ruby is Ruby with syntax for types
by anamexis on Saturday December 27, 2025 @01:29AM
(#46399638)
This hasn’t been true since Ruby 3.0. Keyword arguments are a core language feature with their own semantics.
Re:T-Ruby is Ruby with syntax for types
by t-writescode on Saturday December 27, 2025 @03:54AM
(#46400287)
Oh huh, TIL. Thanks for sharing!