Monday, 2 November 2015

single word requests - Verb to describe "to enable or to disable"

As I'm new, I'm not allowed to comment or vote up, but I like RegDwigнt's suggestion of set and availability wrapped around the item/control name. For example, I have a Secure Team picker control that I am enabling/disabling in script, and I was wondering what to call it. I'm going to adopt that convention and name the method SetSecureTeamPickerAvailability(). It's a bit long-winded, but very descriptive and self-documenting.

No comments:

Post a Comment