Linked Questions

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

Hidden features of Python [closed]

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

Hidden Features of Java

After reading Hidden Features of C# I wondered, What are some of the hidden features of Java?
174 votes
78 answers
64k views

Hidden Features of PHP? [closed]

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 ...
292 votes
53 answers
37k views

Hidden Features of ASP.NET [closed]

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar ...
389 votes
33 answers
72k views

Are there legitimate uses for JavaScript's "with" statement? [closed]

Alan Storm's comments in response to my answer regarding the with statement got me thinking. I've seldom found a reason to use this particular language feature, and had never given much thought to how ...
141 votes
78 answers
63k 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 ...
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 ...
59 votes
27 answers
17k views

Hidden features of CSS [closed]

I have definitely picked up some useful tips in the hidden features style questions concerning PHP and XHTML. So here is one to cover CSS. While easy to pick up, it takes a little while to learn ...
120 votes
6 answers
48k views

How do I pass the value (not the reference) of a JS variable to a function? [duplicate]

Here is a simplified version of something I'm trying to run: for (var i = 0; i < results.length; i++) { marker = results[i]; google.maps.event.addListener(marker, 'click', function() { ...
ryan's user avatar
  • 2,331
90 votes
4 answers
21k views

JavaScript function declaration and evaluation order

Why does the first one of these examples not work, but all the other ones do? // 1 - does not work (function() { setTimeout(someFunction1, 10); var someFunction1 = function() { alert('here1'); }; })()...
james's user avatar
  • 13.4k
39 votes
13 answers
15k views

What are the top JavaScript pitfalls? [closed]

I'm planing on giving an introduction talk on JavaScript and in the preparation process I wondered what the top pitfalls are that rookies fall into. I know I've had a few gotchas before I fully ...
32 votes
12 answers
38k views

What is the best method to convert floating point to an integer in JavaScript?

There are several different methods for converting floating point numbers to Integers in JavaScript. My question is what method gives the best performance, is most compatible, or is considered the ...
Mathew Byrne's user avatar
  • 3,759

15 30 50 per page