Talk:Make Interfaces Easy to Use Correctly and Hard to Use Incorrectly

From Programmer 97-things

Jump to: navigation, search

Broadly speaking I do not disagree with the message in this contribution.

However, perhaps some lessons could be drawn from EiffelMath for some of the details. Perhaps it is worthwhile to replace long argument lists with a setter method per argument. That way, arguments which are typically given the same values do not need to be specified at every invocation. This would also counteract the issue of ordering the parameters.

Personal tools