SQL comment header examples [closed]

I know this post is ancient, but well formatted code never goes out of style. I use this template for all of my procedures. Some people don’t like verbose code and comments, but as someone who frequently has to update stored procedures that haven’t been touched since the mid 90s, I can tell you the … Read more

What is the difference between ; and ;; in Clojure code comments?

There is no difference as far as the interpreter is concerned. Think of ; ;; ;;; and ;;;; as different heading levels. Here is my personal use convention: ;;;; Top-of-file level comments, such as a description of the whole file/module/namespace ;;; Documentation for major code sections (i.e. groups of functions) within the file. ;; Documentation … Read more

Single-line comment in HTML

From HTML comments: Since HTML is officially an SGML application, the comment syntax used in HTML documents is actually the SGML comment syntax. Unfortunately this syntax is a bit unclear at first. The definition of an SGML comment is basically as follows: A comment declaration starts with <!, followed by zero or more comments, followed … Read more

How do I add a high-priority TODO comment in Visual Studio?

The priority of the task depends on the keyword you use to tag it. You can see and edit a list of keywords and their priorities by going to Tools->Options->Environment->Task List. For example, on my installation, I’ve got HACK, TODO and UNDONE as normal priority, and UnresolvedMergeConflict as high priority. If you want to add … Read more