Click here to Skip to main content
15,904,497 members
Home / Discussions / C#
   

C#

 
GeneralRe: Application Crashes during AppDomain.Unload Pin
Benny_Lava13-Apr-11 22:06
Benny_Lava13-Apr-11 22:06 
AnswerRe: Application Crashes during AppDomain.Unload Pin
jschell13-Apr-11 8:46
jschell13-Apr-11 8:46 
Questionrefreshing second combo by first not working Pin
uglyeyes13-Apr-11 1:11
uglyeyes13-Apr-11 1:11 
AnswerRe: refreshing second combo by first not working Pin
#realJSOP13-Apr-11 2:16
professional#realJSOP13-Apr-11 2:16 
GeneralRe: refreshing second combo by first not working [modified] Pin
uglyeyes13-Apr-11 2:51
uglyeyes13-Apr-11 2:51 
GeneralRe: refreshing second combo by first not working Pin
gavindon13-Apr-11 3:30
gavindon13-Apr-11 3:30 
QuestionScreen Shield Pin
Enobong Adahada13-Apr-11 0:59
Enobong Adahada13-Apr-11 0:59 
AnswerRe: Screen Shield Pin
Richard MacCutchan13-Apr-11 2:50
mveRichard MacCutchan13-Apr-11 2:50 
AnswerRe: Screen Shield Pin
Dave Kreskowiak13-Apr-11 6:07
mveDave Kreskowiak13-Apr-11 6:07 
AnswerRe: Screen Shield Pin
Eddy Vluggen13-Apr-11 10:43
professionalEddy Vluggen13-Apr-11 10:43 
AnswerRe: Screen Shield Pin
wizardzz13-Apr-11 11:25
wizardzz13-Apr-11 11:25 
Questionwebsite publishing problem Pin
S.Aijaz13-Apr-11 0:05
S.Aijaz13-Apr-11 0:05 
AnswerMy Vote of 1 [modified] Pin
Keith Barrow13-Apr-11 2:13
professionalKeith Barrow13-Apr-11 2:13 
QuestionOperator overloading, when to Pin
Niklas L12-Apr-11 22:23
Niklas L12-Apr-11 22:23 
AnswerRe: Operator overloading, when to Pin
_Erik_12-Apr-11 22:37
_Erik_12-Apr-11 22:37 
AnswerRe: Operator overloading, when to Pin
David198712-Apr-11 22:50
David198712-Apr-11 22:50 
AnswerRe: Operator overloading, when to Pin
BobJanova13-Apr-11 1:20
BobJanova13-Apr-11 1:20 
AnswerRe: Operator overloading, when to Pin
PIEBALDconsult13-Apr-11 2:59
mvePIEBALDconsult13-Apr-11 2:59 
GeneralRe: Operator overloading, when to Pin
jschell13-Apr-11 9:04
jschell13-Apr-11 9:04 
GeneralRe: Operator overloading, when to Pin
PIEBALDconsult13-Apr-11 15:29
mvePIEBALDconsult13-Apr-11 15:29 
GeneralRe: Operator overloading, when to Pin
jschell14-Apr-11 9:24
jschell14-Apr-11 9:24 
GeneralRe: Operator overloading, when to Pin
David198713-Apr-11 19:30
David198713-Apr-11 19:30 
GeneralRe: Operator overloading, when to Pin
jschell14-Apr-11 9:20
jschell14-Apr-11 9:20 
David1987 wrote:
The "no operator overloading" along with the "no structs" (though that one is
not as bad) restrictions make it impossible to create proper new numeric types
in Java, and that just sucks. It makes the predefined types more magic, and it
makes working with any non-predefined numeric type a pain.



Since the vast majority of programming in the world does not involve that it isn't a significant problem.

And since most programs that do deal with specialized numerics often have other requirements, such as performance and or significant other functionality (non-numeric) then one should either choose an appropriate language or live with the small amount of code that java entails.

The obvious analogy to that is that SQL is very poor candiate for string manipulation and regexes and thus applications used widely, such as editors, should not be written in SQL. That however doesn't mean that SQL suffers because of it.


David1987 wrote:
As for the abuse, sure, you can do that. You can also have overloads Foo(int)
and Foo(long) and have them do something completely different - that's on the
same level as operator overloading abuse, but Java still allows that. You can
also override some method (accidentally even, in Java) and have it completely
break the Liskov substitution principle.


No.

It is not a question of whether abuse can happen.

The point is that it does happen.

Enough so that me and others have seen it.

And it is not accidental.
GeneralRe: Operator overloading, when to Pin
David198714-Apr-11 9:47
David198714-Apr-11 9:47 
GeneralRe: Operator overloading, when to Pin
jschell15-Apr-11 8:36
jschell15-Apr-11 8:36 

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.