block-comments

Lack of block comments in VB .NET?

风流意气都作罢 提交于 2019-12-19 12:52:19
问题 Just a question of interest: Does anyone know why there's no block comment capability in VB .NET? (Unless there really is - but I've never yet come across it.) 回答1: It is a side-effect of the Visual Basic syntax, a new-line terminates a statement. That makes a multi-line comment pretty incompatible with the basic way the compiler parses the language. Not an issue in the curly brace languages, new-lines are just white space. It has never been a real problem, Visual Basic has had strong IDE

How do I comment in CoffeeScript? “/* this */” doesn't work

杀马特。学长 韩版系。学妹 提交于 2019-11-29 22:43:41
In what ways can you comment in CoffeeScript? The documentation say you can use three hash symbols to start and close a comment block: ### Comments go here ### I've found that I can sometimes use the following two formats `// backticks allow for straight-JavaScript, // but the closing backtick can't be on a comment line (I think?) ` Are there a simpler way to insert short comments in CoffeeScript? Do NOT use this style** Since this is getting a lot of views, I want to emphasize that /* Comment goes here */ produces a MATH error when the /* is on its own line. As Trevor pointed out in a comment

How do I comment in CoffeeScript? “/* this */” doesn't work

人盡茶涼 提交于 2019-11-28 19:24:16
问题 In what ways can you comment in CoffeeScript? The documentation say you can use three hash symbols to start and close a comment block: ### Comments go here ### I've found that I can sometimes use the following two formats `// backticks allow for straight-JavaScript, // but the closing backtick can't be on a comment line (I think?) ` Are there a simpler way to insert short comments in CoffeeScript? Do NOT use this style** Since this is getting a lot of views, I want to emphasize that /*