Click here to Skip to main content
15,917,875 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why I hate C# Pin
Colin Angus Mackay28-Nov-07 13:03
Colin Angus Mackay28-Nov-07 13:03 
GeneralRe: Why I hate C# [modified] Pin
Skippums28-Nov-07 13:36
Skippums28-Nov-07 13:36 
AnswerRe: Why I hate C# Pin
Paul Conrad28-Nov-07 12:31
professionalPaul Conrad28-Nov-07 12:31 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 12:59
Skippums28-Nov-07 12:59 
GeneralRe: Why I hate C# Pin
Paul Conrad28-Nov-07 13:42
professionalPaul Conrad28-Nov-07 13:42 
AnswerRe: Why I hate C# Pin
Christian Graus28-Nov-07 12:36
protectorChristian Graus28-Nov-07 12:36 
GeneralRe: Why I hate C# Pin
Jeffrey Walton28-Nov-07 13:07
Jeffrey Walton28-Nov-07 13:07 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 13:13
Skippums28-Nov-07 13:13 
I don't want it to be C++... C++ can be EXTREMELY cryptic. I like MOST of the usability of C#, but the lack of multiple inheritence and typedef'ing is incomprehensible to me (I don't like the unsafe keyword, but I agree with why they included it). I also know that my suggestion on returning something instead of void has yet to be implemented in ANY language that I am aware of, but I don't see why it is not allowed, since it would be easy to implement in the compiler. I just expected that a new language would go the extra mile and give me more flexibility, instead of restricting me so much that I am spending about a tenth of my time jumping through hoops to trick the language into working how I need it to.

As far as your suggestion, "You should probably clean up your design before you start coding", I completely disagree. The type of variable I use for UniqueId should be COMPLETELY decoupled from the class. I shouldn't need to know it's type at all anywhere within the class, and in doing so I strongly couple the implementation of my classes to a particular type. NOT cool!

Oh yeah, and I forgot one more caveat that I find mildly troubling. If I have class A in namespace NA, and class B in namespace NB which inherits from class A, to include class B I am forced to say that I am using namespace NA, despite no reference to NA in my code where I only use class B! This may be to simplify the design of the compiler, and it doesn't reduce my ability to code at all, but it is kind of anoying and unexpected.

Jeff
GeneralRe: Why I hate C# Pin
Christian Graus28-Nov-07 13:31
protectorChristian Graus28-Nov-07 13:31 
AnswerRe: Why I hate C# Pin
Jeffrey Walton28-Nov-07 12:59
Jeffrey Walton28-Nov-07 12:59 
AnswerRe: Why I hate C# Pin
Judah Gabriel Himango28-Nov-07 13:11
sponsorJudah Gabriel Himango28-Nov-07 13:11 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 13:15
Skippums28-Nov-07 13:15 
GeneralRe: Why I hate C# Pin
Anthony Mushrow28-Nov-07 13:22
professionalAnthony Mushrow28-Nov-07 13:22 
GeneralRe: Why I hate C# Pin
Paul Conrad28-Nov-07 14:31
professionalPaul Conrad28-Nov-07 14:31 
GeneralRe: Why I hate C# Pin
Christian Graus28-Nov-07 13:33
protectorChristian Graus28-Nov-07 13:33 
GeneralRe: Why I hate C# Pin
Skippums28-Nov-07 13:39
Skippums28-Nov-07 13:39 
GeneralRe: Why I hate C# Pin
Christian Graus28-Nov-07 15:14
protectorChristian Graus28-Nov-07 15:14 
GeneralRe: Why I hate C# Pin
Luc Pattyn28-Nov-07 22:35
sitebuilderLuc Pattyn28-Nov-07 22:35 
GeneralRe: Why I hate C# Pin
Skippums29-Nov-07 4:18
Skippums29-Nov-07 4:18 
GeneralRe: Why I hate C# Pin
Paul Conrad28-Nov-07 14:32
professionalPaul Conrad28-Nov-07 14:32 
GeneralRe: Why I hate C# Pin
PIEBALDconsult28-Nov-07 14:59
mvePIEBALDconsult28-Nov-07 14:59 
GeneralRe: Why I hate C# Pin
Alaric_29-Nov-07 7:26
professionalAlaric_29-Nov-07 7:26 
GeneralRe: Why I hate C# Pin
Judah Gabriel Himango28-Nov-07 15:27
sponsorJudah Gabriel Himango28-Nov-07 15:27 
AnswerRe: Why I hate C# Pin
PIEBALDconsult28-Nov-07 14:50
mvePIEBALDconsult28-Nov-07 14:50 
GeneralRe: Why I hate C# Pin
Skippums29-Nov-07 4:13
Skippums29-Nov-07 4:13 

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.