|
|
| | Hidden Features Of Perl, PHP, Javascript, C, C++, C#, Java, Ruby, Python, Others (beerpla.net) | | 40 points by archon810 on June 29, 2009 | hide | past | favorite | 7 comments | | |
|

Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
For instance, the highest-ranked Ruby "hidden features" are one-liners that aren't faster than their multiline equivalents, but are incomprehensible if you don't understand obscure syntax.
The highest-ranked C features include Duff's Device, which, if one of your teammates tries to bust it out, go find a real bat. Others are GCC-specific. One overloads the preprocessor to define domain-specific languages for FSMs.