Coding Blocks cover image

Clean Code – How to Write Amazing Functions

Coding Blocks

00:00

The More Arguments You Add, the More Difficulties You Have to Deal With

Bhohows if you had to look at a function just to see what the options are for passing in, and you go down tike eleve, line 17 of the function, realized, oh, i could have passed this argument tooyo now. Yeandan: The more argument you add, the more difficult it is to isolate things to that one particular method. But to play devil's advocate, i like to create functions in classes that take in the minimal required information. And so if you don't take the stuff in via functions, then you have to find them as propertiesor or some other way of getting that information.

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