Linked Questions
39 questions linked to/from Hidden Features of Java
2 votes
0 answers
328 views
Java stuff you didn't know you didn't know [duplicate]
Possible Duplicate: Hidden Features of Java What are some Java language features or Java related tools that you were embarrassed to find that you didn't know about? Examples for me are: jmap ...
1472 votes
296 answers
762k views
Hidden Features of C#? [closed]
This came to my mind after I learned the following from this question: where T : struct We, C# developers, all know the basics of C#. I mean declarations, conditionals, loops, operators, etc. Some ...
972 votes
319 answers
504k views
Strangest language feature
What is, in your opinion, the most surprising, weird, strange or really "WTF" language feature you have encountered? Please only one feature per answer.
312 votes
99 answers
157k views
Hidden Features of JavaScript? [closed]
What "Hidden Features" of JavaScript do you think every programmer should know? After having seen the excellent quality of the answers to the following questions I thought it was time to ask it for ...
914 votes
15 answers
155k views
Efficiency of Java "Double Brace Initialization"?
In Hidden Features of Java the top answer mentions Double Brace Initialization, with a very enticing syntax: Set<String> flavors = new HashSet<String>() {{ add("vanilla"); add("...
141 votes
78 answers
64k views
Hidden features of Perl?
What are some really useful but esoteric language features in Perl that you've actually been able to employ to do useful work? Guidelines: Try to limit answers to the Perl core and not CPAN Please ...
109 votes
36 answers
42k views
Hidden features of HTML
HTML being the most widely used language (at least as a markup language) has not gotten its due credit. Considering that it has been around for so many years, things like the FORM / INPUT controls ...
159 votes
46 answers
44k views
Hidden features of Ruby
Continuing the "Hidden features of ..." meme, let's share the lesser-known but useful features of Ruby programming language. Try to limit this discussion with core Ruby, without any Ruby on Rails ...
123 votes
25 answers
35k views
Hidden features of WPF and XAML?
Here is a large number of hidden features discussed for variety of languages. Now I am curious about some hidden features of XAML and WPF? One I have found is the header click event of a ListView &...
72 votes
43 answers
43k views
Hidden features of Bash
Shell scripts are often used as glue, for automation and simple one-off tasks. What are some of your favorite "hidden" features of the Bash shell/scripting language? One feature per answer Give an ...
78 votes
31 answers
13k views
Hidden features of Groovy?
It seems like Groovy was forgotten in this thread so I'll just ask the same question for Groovy. Try to limit answers to Groovy core One feature per answer Give an example and short description of the ...
21 votes
23 answers
4k views
What are the pitfalls of a Java noob? [closed]
I've gone through a few Java questions on SO. And I must say the content here is pretty well written and the Java guys on SO can really pump out the answers. But what I always found was Java answers ...
27 votes
8 answers
55k views
Overhead associated with Exception vs Throwable in Java
I know throw new Exception(); has a pretty large overhead, since it creates a full stackTrace, etc. Does throw new Throwable(); present the same problem? Is this behaviour inherited, or does ...
68 votes
5 answers
13k views
Why does Java permit escaped unicode characters in the source code?
I recently learned that Unicode is permitted within Java source code not only as Unicode characters (eg. double π = Math.PI; ) but also as escaped sequences (eg. double \u03C0 = Math.PI; ). The first ...
16 votes
18 answers
20k views
Prime number calculation fun
We're having a bit of fun here at work. It all started with one of the guys setting up a Hackintosh and we were wondering whether it was faster than a Windows Box of (nearly) same specs that we have. ...