Coding Blocks cover image

Clean Code – How to Write Amazing Functions

Coding Blocks

00:00

Is There a Single Argument in a Method?

The book recommends using the am a, the factory method pattern. This is where you have a ah create supreme piza method that doesn't need you to pass in the ingredients it already knows and just returns back the object type. Soik, in the case of a, like, like a what you might pass into, like a string format method or string buffer, some like that, they're not counting it as an infinite list. They'r counting it only as the one. That's about the only example that i could think of where i might want a really long list of variables that isn't um like prams, a li a list of things.

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