Is it worth learning the convention or is it a bane to readability and maintainability?
相关问题
- How can I create a Fluent NHibernate Convention th
- Entity Framework Ignore property by conventions
- Firestore datamodelling articles and categories
- Round brackets or not? Whats the difference?
- Should EventHandler always be used for events?
相关文章
- Should EventHandler always be used for events?
- An interesting detail about variable name
- Which namespace does operator<< (stream) go
- What is build-by-convention in Gradle deep explana
- Are there any benefits to using HtmlTextWriter if
- Named numbers as variables [closed]
- An Ideal Folder Structure for .NET MVC [closed]
- Best way to get rid of hungarian notation?
It is pointless (and distracting) but is in relatively heavy use at my company, at least for types like ints, strings, booleans, and doubles.
Things like
sValue
,iCount
,dAmount
orfAmount
, andbFlag
are everywhere.Once upon a time there was a good reason for this convention. Now, it is a cancer.
When using a dynamically typed language, I occasionally use Apps Hungarian. For statically typed languages I don't. See my explanation in the other thread.