4 ms·
Even worse, the Java 1.4 world. I've seen people avoid generics and other Java 5+ features for "compatibility reasons".
by zeckalpha 11y ago
Even worse, the Java 1.4 world. I've seen people avoid generics and other Java 5+ features for "compatibility reasons".
- nobleach 11y agoWow, you didn't even get forEach with 1.4, right???
- zeckalpha 11y agoPeople get in the habit of writing loops with indices.
- meddlepal 11y agoI still people doing that shit in Java 8 and Groovy... I can probably count on one hand the situations when a counter-based loop is necessary.
- vorg 11y ago> I can probably count on one hand the situations when a counter-based loop is necessary Such counting is analagous to counter-based looping. If you'd said "I can probably filter down to the fingers of one hand..." I might have believed you.