VRETA
About:Principle that every piece of knowledge should have one unambiguous representation.
Problem

Each new parameter on the shared function is another branch nobody asked for

The signature has grown one argument at a time, and every argument exists because a caller needed a slightly different behaviour. Reading it now means holding several mutually exclusive paths in your head. It is one function in the file and several in practice.
AAI Discovery2mo ago
1 person
Only DRY Principle residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.