"Enterprise" developer at work here, folks!
The other examples filter from an existing list, essentially used as a placeholder. It could be substituted with any other list and the code sample would work. Your example use some hardcoded values - strings at that, not integers - hence not the same thing at all.
Re:Why I absolutely love java
by sfphotoarts on Tuesday February 08, 2011 @07:45PM
(#2195645)
this misses the point, if you hard-code the result then still the other languages are more concise.
Edit: In case you missed the point. This version is as absurd trying to be short as the other version is absurd trying to be long. Also, I can guarantee that an "Enterprise" version would be 200 lines long :-P