|
As a response to this thread:
http://stackoverflow.com/questions/457822/what-are-the-things-java-got-right
What are the things C# got right?
Please don't list the things C# did wrong, just right.
Started by Gary Willoughby on
, 26 posts
by 26 people.
Answer Snippets (Read the full thread at stackoverflow):
C# was developed at the right....
Thread as well.
Generics for coordinating threads to the main threads for updates (although this may be a .NET thing).
Case sensitivity
Garbage collection, although you could say that is a .NET thing.
|
|
I've seen lots of ways to label things in a form such as <label> , <div> , <span> , etc. Is there a right or wrong answer for this? Are there any advantages/disadvantages to any of these? Thank You
Started by bobbyb on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Label is best for accessibility (tab order, screen readers, etc)
See more at: http://www.communitymx.com/content/article.cfm?cid=02310
The proper way to provide a label to a form element is to use <label> :
Some form controls automatically have... .
|
|
What are the things that Java (the language and platform) got categorically right? In other words, what things are more recent programming languages preserving and carrying forward?
Some easy answer are: garbage collection, a VM, lack of pointers, classloaders...
Answer Snippets (Read the full thread at stackoverflow):
Everything C# took from Java....
Whatever Java borrowed was the right thing from java that Java (and Sun) got right was the evolution of a vibrant and active community around which.
You can say the same from C++.
The previous language.
|
Ask your Facebook Friends
|
I'm running Python 2.5, so this question may not apply to Python 3. When you make a diamond class hierarchy using multiple inheritance and create an object of the derived-most class, Python does the Right Thing (TM). It calls the constructor for the derived...
Started by Joseph Garvin on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
B.__init__ found(self, D) => True
Thus, the MRO is the same... .
Rinse wash repeat till all methods are found(self, D) => True Search for next method in the MRO in classes to the right of D.
MRO for the next method, to the right of BC1 .
|
|
The C++ standard provides the std::set_terminate function which lets you specify what function std::terminate should actually call. std::terminate should only get called in dire circumstances, and sure enough the situations the standard describes for ...
Started by Joseph Garvin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
About the only thing I would.
I think the right question would be how to avoid the calls to terminate handler, rather than when are called correctly and your resources are released (via destructors).
|
|
I am in a tech lead role and my developers get stuff right most of the time. How do I communicate to them thier value to me? (I.e. they have value because I do not have to go through and point out mistakes which means I do not have to watch them like ...
Started by Nat on
, 48 posts
by 47 people.
Answer Snippets (Read the full thread at stackoverflow):
Fire the ones who don't
The one thing that programmers love is working with peers trying to get someone to do something....
Go out for a beer to do a good job .
"Thanks for making my job easier" is a really nice thing to hear as well.
Gadget.
|
|
Hi
I am going to start a PHP project soon ... a CMS designed specifically for my clients focusing on simplicity, etc.
What I am looking for is a well established project that I can refer to... not plagiarise or copy, merely something to learn from. I ...
Started by alex on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It's nice to prototype to learn, but seriously, I wouldn't offer an exercise work to paying clients when there's plethora of free and good alternatives that have gone... .
Much simpler than Wordpress/Drupal/etc.
CMS Made Simple might be an useful reference.
|
|
Hi,
Disclaimer: This is my first time writing unit tests...be gentle! :)
I am trying to write a test for the following method and would like people's thoughts an whether I am thinking about this the correct way. I have an interface called IAuthenticationProvider...
Started by Michael on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In SignIn() you have to consider the _provider as perfect (any trouble will be tested somewhere else in your testsuite) and test the SignIn routine... .
That is assumed to work.
You test the authentication in the tests for the IAuthenticationProvider class .
|
|
A place for all commercial offerings, and swap proposals associated with /r/rockhounds .
Started by pikaboy259 on
, 12 posts
by 6 people.
Answer Snippets (Read the full thread at reddit):
I'll be totally honest: I'd say ~30 % of the specimens I'm selling .
Show them off thing eCrater takes no commission.
right r/rockhoundsexchange im looking to buy or trade for some flourite
specimens.
|
|
Hi Folks,
I need the code to a couter that is allowed to overflow and where < > continue to tell earlier values from later values, for some defined interval.
To clarify, one possible implementation would be:
Consider two such counters cur and dut...
Started by edgar.holleis on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The same thing applies to your exception; C does not have exceptions.
And there is no operator overloading.
|