News for hackers. Stuff that matters.
Re:Apple JavaScript Coding Guidelines [pdf] by coyul on Tuesday July 05, 2011 @03:28PM (#2731184)
I find it strange that you refer to comments starting with # as Ruby-style comments.
Re:Apple JavaScript Coding Guidelines [pdf] by Hovertruck on Tuesday July 05, 2011 @04:03PM (#2731320)
Or any other language that denotes comments with an octothorpe, but I opted for brevity.
Re:Apple JavaScript Coding Guidelines [pdf] by chc on Tuesday July 05, 2011 @04:38PM (#2731465)
I'm pretty sure Ruby is bigger than Perl and sh put together now, at least in mindshare.
Re:Apple JavaScript Coding Guidelines [pdf] by mark_story on Tuesday July 05, 2011 @10:25PM (#2732357)
python and PHP also support # for making comments. It could be argued that python has just as much if not more mindshare than ruby. :)
Re:Apple JavaScript Coding Guidelines [pdf] by chc on Thursday July 07, 2011 @12:48PM (#2739197)
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.