Grouping margins into a single object is such a clean fix. Nice point here Maxi Contieri on how AI usually makes this mess worse by just stacking parameters. How do you decide the cutoff point before a group of arguments becomes its own class?
Code Smell 10 - Too Many Arguments
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
chevron_left
89Posts
5Comments
16Connections
Learn something new every day
Software Engineer and author of Clean Code Cookbook (https://amzn.to/4... Show moreLearn something new every day
Software Engineer and author of Clean Code Cookbook (https://amzn.to/4o5USZK)
Software Design, SOLID, TDD, Legacy Systems & Code Smells
Write, teach, and share Show less
Software Engineer and author of Clean Code Cookbook (https://amzn.to/4... Show moreLearn something new every day
Software Engineer and author of Clean Code Cookbook (https://amzn.to/4o5USZK)
Software Design, SOLID, TDD, Legacy Systems & Code Smells
Write, teach, and share Show less
More From Maxi Contieri
Related Jobs
- OS Tools Software Engineer42dot · Full time · Poland
- iOS Developer Tools Engineer - Car Experience, Wireless Technologies & EcosystemsApple · Full time · Cupertino, CA
- Field Service Technician - Intermediate - McCully Barracks, Wackernheim, Germany (5598)SMX · Full time · Germany
Commenters (This Week)
nutts5796
1 comment
MProG10
1 comment
SMRN75
1 comment
Contribute meaningful comments to climb the leaderboard and earn badges!