Ruby Rogues cover image

Linguistic Antipatterns With Jimmy Koppel - RUBY 583

Ruby Rogues

00:00

How to Avoid Booing Arguments

Since Ruby doesn't have the strong typing, I mean, you can pass basically anything into any argument. As long as it matches the call signature, right, has two arguments, three arguments, ten arguments. It'll at least call it, right? I mean, it may error out further down the line, but it will call it. And you mentioned the keyword arguments. That's something that I use pretty heavily. If it just takes one argument, I may or may not use keyword arguments. But once I get to three, I'm looking for ways to start using keyword arguments because, yeah, I can't keep it straight.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app