Dave Cheney personal blog

Be wary of functions which take several parameters of the same type

A good example of a simple looking, but hard to use correctly, API is one which takes two or more parameters of the same type. Let’s compare two function signatures:
Points
218
HN comments
234
Submissions
1
Cited by
0 commenters

Software EngineeringCareer & Management2019

On Hacker News

SubmittedTitle on HNPointsComments
Sep 26, 2019Be wary of functions which take several parameters of the same type by ngaut218234

More from Dave Cheney

All 34 posts →

Related posts from the same era