Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why the triple semicolons?

semicolons triple
0
Posted

Why the triple semicolons?

0

I thought you only needed one. That’s right, but many Scheme programmers follow the convention of using double, triple, or even quadruple semicolons to set off headers of different degrees of importance. In a long program, each definition might be preceded by a two-semicolon header, each block of related definitions by a three-semicolon header, and each major division of the program by a four-semicolon header. “Wing comments” — those placed to the right of definitions or commands — almost always begin with single semicolons. The number of semicolons has no effect whatever on the execution of the program. Comments are solely for the benefit of human readers. What if a semicolon appears inside a string of characters to be printed out? Suppose we wanted to write “Hello; goodbye” — would the semicolon begin a comment? No. Between double-quotation marks, and in other contexts in which the semicolon designates a character, it is not interpreted as the beginning of a comment. The progr

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123