Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by t-writescode

11 hours 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

2 comments

t-writescode

Reply

anamexis  8 hours ago

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

  • t-writescode  6 hours ago

    Oh huh, TIL. Thanks for sharing!

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities