/* // ' % # Comment on Comments. */ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

/* // ' % # Comment on Comments. */

/* // ' % # Why, Why, Why, do so many languages decide to use different characters to delimit comments? */

27th Oct 2016, 1:53 AM
Tom
Tom - avatar
4 Answers
+ 4
You are coding in Ruby and only complain about the synthax of comments? The whole synthax is throwing me off.
27th Oct 2016, 9:34 AM
Zen
Zen - avatar
0
Because there is not a convention, that restricts the comment syntax Jast for the record, Transact-SQL uses '--' as single comment.
1st Nov 2016, 2:59 PM
Vladimir Honcharenko
Vladimir Honcharenko - avatar
0
it's up to the compiler or interpreter and the developer who developed .who developed that language
2nd Nov 2016, 8:29 AM
Paul P Joby
Paul P Joby - avatar
0
DOS Batch files use REM REM this is a line containing a remark How many others can we think of? I'm pretty sure I've seen "!" used somewhere anyone know where?
4th Nov 2016, 4:12 PM
Tom
Tom - avatar