|
I was wondering, what does everyone think about when they are writing their code and what procedures do you like to follow?
Generally I write in C# or VB.NET.
I write my code adhering to:
Naming conventions Code Standards Best Practices And personally...
Started by w4ymo on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
Describe what variables do, describe what every....
Comment, comment and comment.
The two main practices I try to follow are
DRY - Don't Repeat Yourself Each method performs one action I will be brief and state a single thing I consider important: comment .
|
|
So I am making a piece of software in WPF, and I want to be able to make graphs out of the data I am storing. Just line graphs with x and y axises. Ideally I would want them to have a nice elegant simplicity to them.
I know WPF doesn't come with graphs...
Started by Alex Baranosky on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I have used the underlying dundas functionality and....
Microsoft purchased some of the IP from Dundas and supplied their winforms/asp.net charts as Microsoft Chart Controls
Since they will render as images they should be integrate without too much effort .
|
|
That is my question....
I have plans to move to Florida in or around November.. just so that I can save and pay bills off etc... I am doing research for jobs since I will have to find a job hopefully before I move... I was looking this morning and one...
Started by darthspud on
, 15 posts
by 8 people.
Answer Snippets (Read the full thread at disboards):
If I had plans to move there....
The harm in the fall.
Only apply now if you are willing to move earlier for the job.
Hey! I agree with the others.
If it is no then I wouldn't waste anyone's time .
Plans for? If the answer is yes then apply.
|
Ask your Facebook Friends
|
With apply-templates is easy to write difficult for understanding code.
are there rules to write apply-templates easy-to-read-and-maintain?
for example, "avoid using //* in select", "try to write all apply-templates in one template" or "don't use apply...
Answer Snippets (Read the full thread at stackoverflow):
That's what will you give best performance across the different... .
In fact you should use apply-templates much in favor of for-each as an example.
Sorry if you find apply-templates to be hard to maintain - but that's the XSLT way of doing things.
|
|
Hi,
Is it possible to apply MVC pattern to javascript?
Started by Sarfraz on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Is there a Javascript MVC (micro-)framework? MVC is a general concept that can be implemented by any language ....
|
|
Every now and then I have to work with hardware, be it assembling a new box, or just cleaning it a little bit, and I always have this question: how should I apply the thermal compound to the CPU? When should I have to do it (should I clean it and apply...
Started by Flávio Amieiro on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at serverfault):
I apply a very small amount and then user want to apply just enough that....
I always apply thermal compound to a CPU just before I install the heat sink.
Edit : If you meant "how" as in what with - a razor blade would be perfect .
|
|
Of course software doesn't wear out, but few decades ago it was generally believed, that late in application's life-cycle code maintenance introduces more bugs, then it fixes.
But does the bathtub curve apply to the modern software developed with modern...
Started by vartec on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Even that takes.
Releases, with a general upward trend starting farther into the life of the software.
|
|
What are your opinions and experiences regarding using TDD when developing an user interface?
I have been pondering about this question for some time now and just can't reach a final decision. We are about to start a Silverlight project, and I checked...
Started by JacobE on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
Test-Driven Development lends itself more to developing....
If you separate you logic from the actual GUI code, you can easily use TDD to build the logic and it will be a lot easier to build another interface on top of your logic as well, if you ever need that .
|
|
I'd like to apply a template with different parameters based on the result of a conditional. Something like this:
<xsl:choose> <xsl:when test="@attribute1"> <xsl:apply-templates select='.' mode='custom_template'> <xsl:with-param name...
Started by conciliator on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This will lead to just one xsl:apply-templates , but several xsl:template elements
An alternate method would be to put the xsl:choose statements within the xsl:param elements
<xsl:apply:choose> </xsl:with-param> ....
Attribute.
|
|
When I apply picture for submit button, it appears like this
http://www.flickr.com/photos/41695354@N08/4106014382/
how to apply picture to a submit button help.
My code:
HTML
<input type="submit" class="search_icon" value="" />
CSS
.search_icon ...
Started by Rajasekar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
As a general rule, don't try to reimplement existing HTML semantics with javascript.
Have problem.
|