|
Hi... What's the Practical usage of new (modifier) functions?
Started by odiseh on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The....
It's an attempt to work around an aspect of the fragile base class problem .
I would mainly use it for modifying a non-virtual method in a subclass .
The new modifier in C# allows you to redefine a method in a subclass hiding the base class method .
|
|
What 's the practical usage of virtual functions in c#?
Started by odiseh on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Like any other language..when you want polymorphism....
From here :
In object-oriented programming, a virtual function or virtual method is a function or method whose behavior can be overridden within an inheriting class by a function with the same signature .
|
|
AST Transformations are implemented in Groovy. What's a practical example of using an AST Transformation?
Started by boardtc on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This page has practical examples of how to use: @Singleton, @Lazy, @Immutable, @Delegate<.
I've languages.
Most of the practical examples of using the AST transformations are provided on that page.
|
Ask your Facebook Friends
|
Where can I find lists of practical programming problems for a novice? Something similar to http://www.projecteuler.net , but for practical problems.
I am asking for problems even less complex than this question
Started by Yuval Langer on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
They are definitely more practical.
But that are a nice match for Python and its extensive standard library ) .
|
|
What would be the practical side of the ability to define a class within an interface in Java:
interface IFoo { class Bar { void foobar () { System.out.println("foobaring..."); } } }
Started by Totophil on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
In those cases I tend to consider those inner classes to be an implementation detail... .
Classes nested within classes? Sure, lots of reasons to do that .
I can't think of a reason why you would either .
I can say without hesitation that I've never done that .
|
|
I know it lets visual studio to separate WinForms UI code from the UI events, etc. But are there any practical uses for it?
Started by Joan Venge on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
With C# 3 the partial keyword can be....
The partial keyword is typically used in code generation utilities to allow developers to add additional functionality to the generated code without the fear of that code being erased if the code is generated again .
|
|
I understand the principles but i have a hard time seeing where the practical applications are outside of a few. Please enlighten me ;)
Started by miguel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It quickly....
Recently I used it to partition the http session scope using an additional cookie (other than session id) .
AOP is quite useful when you have a large legacy application and you want to do a across the board change throughout the application .
|
|
What practical benefits can my client get if I use microformats on his site for every possible thing?
How can I explain these benefits to a non-technical client?
Started by jitendra on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Search engines already pick up.
Sometimes it seems like the practical benefits are hard to quantify.
|
|
Hi,
I know what does dup or dup2 do ,but I have no idea when it would be used. Any practical examples? Thanks.
Started by pierr on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
One practical.
Derived from Issue 1 of the SVID.
Gt; CHANGE HISTORY First released in Issue 1.
|
|
I read some articles about XForms. Will this standard ever become practical? Any body using this right now? Is it wise to start using now itself?
Started by rajakvk on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
As for wise and practical: one way to judge might be by looking at product conformance.
|