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

(context: I'm the author)

I do agree with you, but through some failing of my own I still quite enjoy that trick. I included it to highlight the syntax, but I'll add a note saying it's maybe not the best idea to actually use it.



I often use it when I'm running through code in a console.

I put it in production code once, but removed it when I realised the "# This comma is important" comment was longer than just using `.first`




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

Search: