Coding Blocks cover image

Clean Code – Writing Meaningful Names

Coding Blocks

00:00

The Factory Pattern Method Pattern Pattern Pattern

This is one that i really like, dude. When constructors are overloaded, estatic actory methods with explicit names. The more variables you have to pass in, the worse it gets. If you're having to overload your constructor because you're passing in more variables or different variables, then it would just make more sense to a, use a factory or a factory pattern method pattern.

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