Hidden Features
2009-06-24 13:15:40.390005+00 by Dan Lyke 3 comments
Hidden Features of Perl, PHP, JavaScript, C, C++, C#, Java, Ruby, Python and others. I've learned things from the C, C++ and Perl pages.
2009-06-24 13:15:40.390005+00 by Dan Lyke 3 comments
Hidden Features of Perl, PHP, JavaScript, C, C++, C#, Java, Ruby, Python and others. I've learned things from the C, C++ and Perl pages.
[ related topics: Perl Open Source Software Engineering C++ ]
comments in ascending chronological order (reverse):
#Comment Re: made: 2009-06-25 15:36:57.462181+00 by: other_todd
Hmm. I'm not impressed with the "hiddenness" of some of these allegedly hidden features on the Perl page. Three in particular I checked at random are not especially obscure:
- use of qw() - chaining || for multiple-choice evaluation - use strict
Is it really hidden to say that 'use strict' is a good thing? I don't think I've written a Perl script that didn't have 'use strict' in the boilerplate at the top for over a decade.
I guess I was hoping for really esoteric, undocumented stuff, not tips-n-tricks stuff.
#Comment Re: made: 2009-06-25 17:03:49.274394+00 by: ebradway
From the comments:
I've always found Perl itself to be a hidden feature. ;) Paul Nathan Apr 16 at 14:00
What he said...
#Comment Re: made: 2009-06-25 17:36:02.771745+00 by: markd
The C and Objective-C ones were pretty pedestrian. Most times I wander over into Stack Overflow, it's a mass of "do my homework for me" questions.