Lisp commenting convention

What is the Lisp convention about how many semicolons to use for different kinds of comments (and what the level of indentation for various numbers of semicolons should be)? Also, is there any convention about when to use semicolon comments and when to use #|multiline comments|# (assuming they exist and exist on multiple implementations)? Answer … Read more

Is there a way to put comments in multiline code?

This doesn’t work: something = \ line_of_code * \ # Comment another_line_of_code * \ # Comment and_another_one * \ # Comment etc Neither does this: something = \ # Comment \ line_of_code * \ # Comment \ another_line_of_code * … Neither does this: something = \ ”’ Comment ”’ \ line_of_code * \ ”’ Comment … Read more

Nested comments in XML?

Are these nested comments allowed in a XML file? <!– Making only one observation attempting to correct the error code –> <!– <component> <!– Result observation template –> <!– <id root=”2.16.840.1.113883.19.5.10″ extension=”103220″/> </component> –> Answer No, the string — is not permitted to appear within comments in XML. So the fact you have — show … Read more

Todo tasks not appearing in the Task List in visual studio 2012

I’ve recently upgraded to Visual Studio 2012 and haven’t have any problems except for the fact that comments beginning with “//todo” no longer show up in the task list. I have absolutely no idea on where to start looking for a solution to this problem as all of the keywords are too general. I came … Read more

Is ‘# -*- coding: utf-8 -*-‘ also a comment in Python?

As we use # for inserting comments in Python, then how does Python treat: # -*- coding: utf-8 -*- differently? Answer Yes, it is also a comment. And the contents of that comment carry special meaning if located at the top of the file, in the first two lines. From the Encoding declarations documentation: If … Read more