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

Yes, a library function might be similar, but you would have to write it. s#t_p is already there, so even if it's not as clear, it's all you need.

Did you even read his article? The whole point was "Symbol#to_proc is a litmus test for how you view programming languages. I like it. What do you think of it?"



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

Search: