Click here to Skip to main content
15,916,412 members
Home / Discussions / C#
   

C#

 
GeneralRe: Form disappearing Pin
Philippe Mori18-Apr-16 12:34
Philippe Mori18-Apr-16 12:34 
AnswerRe: Form disappearing Pin
ChizI19-Apr-16 7:25
ChizI19-Apr-16 7:25 
Questionusing Enums as a design-strategy ? Pin
BillWoodruff16-Apr-16 21:59
professionalBillWoodruff16-Apr-16 21:59 
AnswerRe: using Enums as a design-strategy ? Pin
Garth J Lancaster16-Apr-16 23:01
professionalGarth J Lancaster16-Apr-16 23:01 
GeneralRe: using Enums as a design-strategy ? Pin
BillWoodruff16-Apr-16 23:29
professionalBillWoodruff16-Apr-16 23:29 
AnswerRe: using Enums as a design-strategy ? Pin
John Torjo18-Apr-16 1:37
professionalJohn Torjo18-Apr-16 1:37 
GeneralRe: using Enums as a design-strategy ? Pin
BillWoodruff18-Apr-16 4:45
professionalBillWoodruff18-Apr-16 4:45 
GeneralRe: using Enums as a design-strategy ? Pin
John Torjo18-Apr-16 9:12
professionalJohn Torjo18-Apr-16 9:12 
BillWoodruff wrote:
Thanks, John, for your comments !

My pleasure Wink | ;)

I'm quite interested in the results, since as I said, I pretty much love Enums, especially how they are implemented in C# (clearly, they're not perfect, but I would say I'm quite happy with the current implementation).

About "pushing the limits" - I used to sometimes do that when I actually had the time Smile | :) , back in my C++ days (for instance, SMART_ASSERT).

Some of my "pushing the limits" experiments ended up as purely theoretical - that is, it's cool to be able to do it, but who's ever gonna understand/use it?

I am aware of the named constants instead of enums, I think I actually saw some java examples of it a long time ago. My take is that with disciplined (and smart) programmers, usually enums are enough.

And if we add the multitude of tools we now have at our disposal (such as, Resharper comes to mind; go inside the body of an enum switch -> Alt-Enter -> generate case labels), I still favor enums (vs named constants).

BillWoodruff wrote:
See what happens when you don't have to work for a living ? Smile | :)

He he, don't we all wish to be able to not work for a living? Big Grin | :-D

Best,
John
-- Log Wizard - a Log Viewer that is easy and fun to use!

QuestionHow do i establish a ADO.NET application without installing SqlServer in client side. Pin
Member 1246281515-Apr-16 20:44
Member 1246281515-Apr-16 20:44 
AnswerRe: How do i establish a ADO.NET application without installing SqlServer in client side. Pin
OriginalGriff15-Apr-16 21:07
mveOriginalGriff15-Apr-16 21:07 
GeneralRe: How do i establish a ADO.NET application without installing SqlServer in client side. Pin
Member 1246281515-Apr-16 22:34
Member 1246281515-Apr-16 22:34 
GeneralRe: How do i establish a ADO.NET application without installing SqlServer in client side. Pin
Richard MacCutchan15-Apr-16 22:42
mveRichard MacCutchan15-Apr-16 22:42 
GeneralRe: How do i establish a ADO.NET application without installing SqlServer in client side. Pin
Dave Kreskowiak16-Apr-16 3:07
mveDave Kreskowiak16-Apr-16 3:07 
AnswerRe: How do i establish a ADO.NET application without installing SqlServer in client side. Pin
Pete O'Hanlon16-Apr-16 2:08
mvePete O'Hanlon16-Apr-16 2:08 
QuestionHow to covert longitude and latitude to x and y values for state plane coordinate systems Pin
Member 1234906415-Apr-16 10:55
Member 1234906415-Apr-16 10:55 
AnswerRe: How to covert longitude and latitude to x and y values for state plane coordinate systems Pin
Sascha Lefèvre15-Apr-16 11:40
professionalSascha Lefèvre15-Apr-16 11:40 
AnswerRe: How to covert longitude and latitude to x and y values for state plane coordinate systems Pin
M Sukhdeep15-Apr-16 13:35
M Sukhdeep15-Apr-16 13:35 
AnswerRe: How to covert longitude and latitude to x and y values for state plane coordinate systems Pin
Patrice T15-Apr-16 19:34
mvePatrice T15-Apr-16 19:34 
AnswerRe: How to covert longitude and latitude to x and y values for state plane coordinate systems Pin
V.16-Apr-16 5:06
professionalV.16-Apr-16 5:06 
QuestionRead specific bytes continually from a file Pin
Tirumaleswara Reddy.K15-Apr-16 1:33
Tirumaleswara Reddy.K15-Apr-16 1:33 
AnswerRe: Read specific bytes continually from a file Pin
Richard MacCutchan15-Apr-16 1:53
mveRichard MacCutchan15-Apr-16 1:53 
AnswerRe: Read specific bytes continually from a file Pin
Pete O'Hanlon15-Apr-16 2:18
mvePete O'Hanlon15-Apr-16 2:18 
GeneralRe: Read specific bytes continually from a file Pin
Mycroft Holmes15-Apr-16 15:02
professionalMycroft Holmes15-Apr-16 15:02 
GeneralRe: Read specific bytes continually from a file Pin
Patrice T15-Apr-16 19:52
mvePatrice T15-Apr-16 19:52 
GeneralRe: Read specific bytes continually from a file Pin
Pete O'Hanlon16-Apr-16 2:09
mvePete O'Hanlon16-Apr-16 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.