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

He probably just did a str.reverse instead of str.split(' ').map {|w| w.reverse}.join ' '


"... He probably just did a str.reverse instead of str.split(' ').map {|w| w.reverse}.join ' ' ..."

Nothing so elaborate, just in my head.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: