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

> - Endless method: this one is cute, I love it!

It's a weird name for it. It should probably be called something like 'equational method definitions'



>It should probably be called something like 'equational method definitions'

Yeah, that's not weird


It's sort of a pun, because the method doesn't need an "end".


You're right. Maybe hyphenation would help here: "End-less methods"


It's a bit of whimsy from the originator of that feature:

https://bugs.ruby-lang.org/issues/16746




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

Search: