C#, C++, Objective-C and Java developer/trainer primary. Ruby, Python, F#, Smalltalk and some Lisp interested person secondary.
|
Apr
28 |
|
awarded | Informed |
|
Apr
28 |
|
revised |
Tabcontrol in WPF C# Just corrected a typo. |
|
Apr
24 |
|
awarded | Civic Duty |
|
Feb
26 |
|
awarded | Caucus |
|
Nov
27 |
|
comment |
Why are Postfix ++/-- categorized as primary Operators in C#? I see! With your comment the content of your answer makes sense (+1). Would you codify your comment somehow into the answer? - So other readers can follow your argumentation. According philosophy: please mark clearly, which feature is present in which language(undefined order-of-execution in C++, precedence is immutable etc.). Regards |
|
Nov
19 |
|
comment |
Why are Postfix ++/-- categorized as primary Operators in C#? - Neither in C# nor in C++ programmers can change the precedence of operators, maybe you wanted to express something different. Some of your statements are correct, but have nothing to do with the question. |
|
Nov
19 |
|
comment |
Why are Postfix ++/-- categorized as primary Operators in C#? - In fact the order of execution is strictly defined to be l->r in C# (in opposite to C++). So if i = 0 is an int, then following function call in C#: function(i++, i++, i++); will always result in this execution: function(i, i+1, i+2); |
|
Nov
19 |
|
comment |
Why are Postfix ++/-- categorized as primary Operators in C#? Most readers of this question will know the difference between the expressions ++i and i++, but this is not the essence of this question. Both operators have different precedences and I only wanted to know, whether this is the only reason having them in different catgories. Some of your statements are not correct: |
|
Oct
18 |
|
revised |
Paging a collection with LINQ added 1 characters in body |
|
Sep
19 |
|
awarded | Yearling |
|
Aug
26 |
|
revised |
When to remove TFS 2010 automatically created Workspaces deleted 5 characters in body |
|
Aug
3 |
|
comment |
What is the Java equivalent for LINQ? Thanks for that info, of course Scala is a good point here. But these abilities where not integrated into the Java language. You could use the Scala language to implement the nice query code and use the resulting binary then from Java. |
|
Jul
18 |
|
comment |
Initializing private static members Hi Jason. I didn't find a comment on default initialization of static members (esp. integral ones). In fact you need to write int foo::i so that the linker can find it, but it will be automatically initialized with 0! This line would be sufficient: int foo::i; (This is valid for all objects stored in the static memory, the linker is in charge of initializing the static objects.) |
|
Jul
12 |
|
accepted | Is there something like Edulinq for PLINQ? |
|
Jul
3 |
|
revised |
Difference between Covariance & Contra-variance deleted 1 characters in body |
|
Jun
27 |
|
revised |
Does dynamic work with IUnknown and Typelib added 1 characters in body |
|
Jun
13 |
|
comment |
How to get a runtime context, when exection a script on the DLR scripting host? Yes, I also think that this is a way to do it... but it is as you said; it is difficult to find a documentation. |
|
Jun
13 |
|
revised |
How to get a runtime context, when exection a script on the DLR scripting host? edited tags |
|
Jun
13 |
|
asked | How to get a runtime context, when exection a script on the DLR scripting host? |
|
Jun
9 |
|
awarded | Caucus |