Is it preferable to explicitly set enum's fields instead of just defining their names?
E.g. any pros and cons for Enum1 vs Enum2?
Enum1:
enum SomeEnum
{
Something1 = 0,
Something2 = 1
}
Enum2:
enum SomeEnum
{
Something1,
Something2
}
P.S. This question doesn't relates to enums that would be stored in database, which i...
Hello,
I've learned much languages, but now I want to choose one, but the language that I most liked was Haskell, it is like a interpreted language, but is a compiled. Then I want to know the pros and cons of this powerfull language(just to make the correct choice).
...
I've recently been working on streamlining my website and leaning up my HTML and Javascript. I've already begun replacing the MS Ajax.Net JavaScript on my site with jQuery JavaScript, and now I'm looking at some of the html I'm using for things like popups, tab controls, and buttons.
JQuery UI was brought to my attention a few weeks ago...
TortoiseSVN is good for this?
What about best practices to work fine?
Any special care about tricky issues using that way?
...
What advantages are there to programming for a non-cache-coherent multi-core machine? Cache_coherence has many benefits, but how would one take advantage of the opposite of this feature - an independent cache for each individual core. What programming paradigm and to what particular practical problems would such an architecture be benefi...
Hello experts,
I have to develop an elearning application. For which I wanted to know which platform is best. PHP or .Net. I would be integrating third party applications in my project.
Someone pls guide me in right direction.
Thanks.
Kavitha
...
Where can I find some information on the uses and benefits of an enterprise service bus (ESB)?
I am looking for information about:
the kinds of problems and ESB helps to solve
the alternatives to an ESB - and the tradeoffs in selecting between them
what you need to do as a developer to build ESB-compatible systems
I'm looking for a ...
So I've seen three ways to add html/DOM elements to a page. I'm curious what the pros and cons are for each of them.
1 - Traditional JavaScript
I beleive the strait JS way to do it is by constructing each element, setting attributes, and then appending them.
Example:
var myRow = document.createElement("tr");
myRow.class = "myClass...
I made a website that has a hierarchical structure and has search engine friendly (SEF) URLs like:
/seeds-1/
/seeds-1/fruits-2/
/seeds-1/fruits-2/black-berries-5/
/seeds-1/fruits-2/blue-berries-6/
/seeds-1/fruits-2/strawberries-7/
/seeds-1/vegetables-3/
/seeds-1/vegetables-3/potato-8/
/seeds-1/vegetables-3/onion-9/
/seeds-1/vegetables-3...
I am trying to build a theme right now for the Spree eCommerce platform for Rails. Because Spree is already a fairly large project, it has chosen a certain set of patterns and frameworks for skinning: Less and YUI. But from reading around on Google, other skinners seem to work faster/better using other frameworks. So I am wondering wh...
We can write CSS as following types:
1. inline css
2. embedded css
3. external css
I would like to know pros and cons of each. Thanks everyone.
Regards,
thlaing
...
On my first job interview, I was asked why did I build my own CMS? Why not to use one of existing CMS, Wordpress, Joomla, Drupal...? At first, I was stunned. I couldn't immediately recall all of my reasons for building my own CMS, but this was definitely one of the main reasons: It's my code and if I want to change something in that CMS ...
I don't mean this to be opinionated.
What are serious pros/cons of various server-side languages in regards to creating/modifying xml. I'm currently researching new platform/language direction and we deal with a lot of xml.
We also do a lot of string manipulation, what advantages/disadvantages do different languages have in regards to...
Recently Zed Shaw (a programmer who blogs) mentioned that ODBC references should be removed from the popular python book Dive into Python. I have never worked with ODBC and I just wanted to understand why ODBC is so "bad". What are the pros and cons of the technology? What alternatives are there?
...
Thus far worked with asp.net mvc1 and just started with asp.net mvc2..... what are good candidates for executing a controller asynchronously? Should i use it for long running process or some background processing? What are the pros and cons choosing asynchronous controller in asp.net mvc 2? Any suggestion...
...
Can be autonomous transactions dangerous? If yes, in which situations? When autonomous transactions are necessary?
...
Hi guys, looking for opinions/recommendations/links for the following scenario im currently facing.
The Platform:
.NET 4.0 Web Application
SQL Server 2008
The Task:
Overhaul a component of the system that performs (fairly) complex mathematical operations based on a specific user activity, and updates numerous tables in the databas...
I am trying to figure out the use of Maven and I got many articles describing its features and uses. But I am just not able to understand the actual use of Maven from productivity standpoint.
I am fresh out of school and working as an intern and these guys want me to use Maven for my project. So, from what I am used to in our school pr...
can somebody please explain why do we need this error at all, it is really strange, when You use one compiler program works perfectly, but with other it crashes, who invented this thing?
...
Searching SO and Google, I've found that there are a few Java HTML parsers which are consistently recommended by various parties. Unfortunately it's hard to find any information on the strengths and weaknesses of the various libraries. I'm hoping that some people have spent some comparing these libraries, and can share what they've learn...