5. Comments

Single-line comments start with a semicolon (;):

;; This is a single-line comment
(+ 2 3) ; This is also a comment

If they start the line, by convention two semicolons (;;) are used. Whereas if you are leaving a clarification, a single semicolon (;) is used at the end of the line.

Multi-line comments start with #| and end with |#:

#|
    This is a
    multi-line comment
|#

In addition, block comments can have nested levels:

#|
    This is the main
    multi-line comment
    #|
        This is a nested comment
    |#
    This is the continuation of the main comment
|#
Building SPAs with Django and HTML Over the Wire: Learn to build real-time single page applications with Python

Building SPAs with Django and HTML Over the Wire: Learn to build real-time single page applications with Python

The HTML over WebSockets approach simplifies single-page application (SPA) development and lets you bypass learning a JavaScript rendering framework such as React, Vue, or Angular, moving the logic to Python. This web application development book provides you with all the Django tools you need to simplify your developments with real-time results.

Buy the book

Help me keep writing

Every coffee gives me a push toward the next article.

Comments

There are no comments yet.