Quantcast
Channel: Shorter naming convention for types - Stack Overflow
Browsing latest articles
Browse All 10 View Live

Answer by DJClayworth for Shorter naming convention for types

In general I believe in classnames that accurately describe their function, and that's it's OK to have long names. If you think the names are really getting long, what I would suggest is finding a...

View Article



Answer by Ask Bjørn Hansen for Shorter naming convention for types

Don't remove the vowels or something crazy like that.I'm with the "stick with the long name" people.One thought is that if the names are that awkward, maybe some deeper rethinking of the system is needed.

View Article

Answer by mP. for Shorter naming convention for types

Some criticisms on your naming...Why DOES your component have the word "model" in its name - isnt that a bit redundant.Since your component seems to be a messaging hub of some sort why not include...

View Article

Answer by Jim Petkus for Shorter naming convention for types

If you need to go through that much effort to find an alternative name, you already have the correct name. Object/method/property names should be self documenting. If they do not describe their exact...

View Article

Answer by Don Branson for Shorter naming convention for types

Years ago when I was in a programming class, the prof quoted the statistic that a piece of code is typically read 600 times for each single time it got modified. Nowadays, I would assume that this is...

View Article


Answer by Pat for Shorter naming convention for types

I would just suggest using the most concise naming that describes the object. If EventModelSocketObjectReceivedEventArgs does that, move on. My 2 cents.

View Article

Answer by John MacIntyre for Shorter naming convention for types

Push some of it into the namespace.For example:EventModelSocketObjectReceivedEventArgsbecomesEventModel.Sockets.ReceivedEventArgs

View Article

Answer by David Basarab for Shorter naming convention for types

I for one use the long name. With intellisense typing out the name isn't that important, unless you are using a 15 inch monitor.If I had to reduce the name I might go with EvtMdlSck just make the work...

View Article


Answer by Marc Gravell for Shorter naming convention for types

Well, are the long names hurting something?(edit) two other thoughts:use var in C# 3.0 - that'll save half the widthif you are using the type multiple times in a file, consider a type alias if it is...

View Article


Shorter naming convention for types

I am developing a framework, and some of the objects have reaaally long names. I don't really like this, but I don't like acronyms either. I am trying to come up with a shorter name for...

View Article
Browsing latest articles
Browse All 10 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>