Synonyms Need Love Too
In the humane vs inhumane… err, I mean “minimal”… interface debates synonyms don’t seem to get much respect. You would expect this from the minimalist crowd but many otherwise humane people seem to have little regard for method aliases. Here are a couple of examples.
Charles Miller - Having two otherwise equivalent ways to perform the same operation is bad user-interface design, and it’s bad library interface design, because the existence of the synonyms actually adds to your cognitive load by making you choose between them.
Joey DeVilla - I do have one complaint about the Ruby approach — method aliases. While it’s convenient for luring in programmers from other languages, I think it actually detracts from code readability to have two method names mean the same thing." continued ... (Via Peter Williams)

Synonyms.













0 Comments:
Post a Comment
<< Home