Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

keyword arguments are, internally, syntactic sugar over a hash. It probably doesn't easily work with typing the explicit values of a raw hash


This hasn’t been true since Ruby 3.0. Keyword arguments are a core language feature with their own semantics.


Oh huh, TIL. Thanks for sharing!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: