Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I personally almost always use loops (in Java) unless I know the dataset being dealt with is small, unless I'm writing stuff in Scala where maps and flatMaps are first class, but diving into Scala is its own can of worms.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: