Linked Questions

1472 votes
296 answers
762k views

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 ...
1414 votes
191 answers
733k views

What are the lesser-known but useful features of the Python programming language? Try to limit answers to Python core. One feature per answer. Give an example and short description of the feature, ...
295 votes
100 answers
225k views

After reading Hidden Features of C# I wondered, What are some of the hidden features of Java?
312 votes
99 answers
157k views

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 ...
174 votes
78 answers
64k views

I know this sounds like a point-whoring question but let me explain where I'm coming from. Out of college I got a job at a PHP shop. I worked there for a year and a half and thought that I had ...
114 votes
64 answers
98k views

No C++ love when it comes to the "hidden features of" line of questions? Figured I would throw it out there. What are some of the hidden features of C++?
141 votes
56 answers
94k views

I know there is a standard behind all C compiler implementations, so there should be no hidden features. Despite that, I am sure all C developers have hidden/secret tricks they use all the time.
159 votes
46 answers
44k views

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 ...
175 votes
20 answers
70k views

Long version... A co-worker asserted today after seeing my use of while (1) in a Perl script that for (;;) is faster. I argued that they should be the same hoping that the interpreter would optimize ...
Copas's user avatar
  • 5,952
123 votes
25 answers
35k views

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

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

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 ...
191 votes
3 answers
8k views

Why is it possible to call function in JavaScript like this, tested with node.js: ~$ node > function hi() { console.log("Hello, World!"); }; undefined > hi [Function: hi] > hi() Hello, World!...
hyde's user avatar
  • 63.1k
27 votes
5 answers
17k views

Which lesser-known but useful features of Clojure do you find yourselves using? Feel free to share little tricks and idioms, but try to restrict yourselves to Core and Contrib. I found some really ...