Timeline for "Is" prefix and "On" suffix as reasonable exceptions to a "non-hungarian" naming standard?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 10, 2013 at 13:00 | comment | added | Aleksandra | You can only go so far with your naming of objects. What if you have two objects with the same information, only converted (date and date.ToString("ddMMyyyy"))? Then maybe you'll include a little bit of Hungarian notation (Date and strDate)... I get what you're saying, don't get me wrong, I try to name my objects to be as descriptive as possible, but sometimes it just does not apply, especially if you have a veeeeeryyyyy tight deadline :) | |
| May 10, 2013 at 12:50 | comment | added | shannon | Yes, Aleksandra, I've tried all sorts of things in the past to avoid using the word "Code" in my naming, substituting things like "-HumanReferenceId", "-State", or other identifiers. You raise a good thought experiment for me to test against. It seems that in-general, I try to ensure that an English speaker who understands the business logic doesn't need to inspect the type to fully understand all the information the object can convey. | |
| May 10, 2013 at 12:39 | history | answered | Aleksandra | CC BY-SA 3.0 |