53 karma · joined January 4, 2012
Research into the nature of the SO population and its relation to the programmer population at large needs to be conducted, in order to support inferences to the programmer population. Further investigation is needed of how SO measures, such as user reputation and question scores translate in to programming knowledge and ability. Research on the relationship between age and knowledge on SO should be related to the existing literatures on aging and on the development of expertise.[1]
"Use of a supplier's language extensions and non-standard-conforming features limits the portability of your code and can prevent you from choosing a new implementation supplier."
String x = "foo";
String y = "foo";
// Appears to work but compares references
System.out.println(x[0] == x[1]);
There's no substitute for knowing your tools well. struct person { int age; };
std::list<person> people;
people.push_back(person());
people.back().age = 42;Rather than asking the interview candidate to use recursion for a problem that shouldn't be solved using recursion (unless in a language where recursion is the idiomatic iteration method), it would be better to ask about a problem that is best solved using recursion rather than printing "Hello world" -- perhaps something from Project Euler (http://projecteuler.net/).
exec "print 'Hello world'\n" * 100if (index !== -1) value = value.slice(index + length);