Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Still annoys me about Ruby.
It actually does have multiline comments, but they are stupid.
Look at this shit!
And why does it begin with a freaking equals?
and here is another one.
Everything after this, unto infinity, is ignored
It’s alright, I guess.
But seriously, why can’t we have the standard // and /* ... */ comments? Or maybe ### ... ### if it really really needs to be a hash?
I for one like to know if a line is a comment by looking at that line alone, so when I grep, I don't need to look around for context. So I do
* a comment
This is probably one of the reason against multilines.
Ranchonyx683345dLet's be glad.
Without that pesky shite polyquines wouldn't be possible
Wisecrack471245dpython has triple quotes, technically not a comment though.
That's true, specially if you wanna comment inside of function calls:
# inline comments are fine
""" but triple-quotes would be considered a string """
I also hate that HTML does not allow comments inside tags
<img <!-- I can't comment here --> src="my_butt.svg">
Oktokolo169045dNot having multiline comments is fine - it is the lack of single line comments wich keeps annoying me in CSS.
Also, comments should start with a single glyph (# prefered because it already is the standard for shell scripts).