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

I find it strange that the "Global Scope Considerations" section uses Ruby-style inline comments (#) rather than actual JS inline comments (//).


I find it strange that you refer to comments starting with # as Ruby-style comments.


Or any other language that denotes comments with an octothorpe, but I opted for brevity.


I'm pretty sure Ruby is bigger than Perl and sh put together now, at least in mindshare.


python and PHP also support # for making comments. It could be argued that python has just as much if not more mindshare than ruby. :)


I agree. I think "Python-style comments" would be just as reasonable a term. My impression was that the comment I was responding to was objecting on historical grounds, since Ruby and Python borrowed that comment style from Perl, which in turn borrowed it from shell scripts.




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

Search: