Article View: comp.arch
Article #219Re: Comment delimiters
From: John Savard
Date: Mon, 19 Oct 2026 08:39
Date: Mon, 19 Oct 2026 08:39
19 lines
2433 bytes
2433 bytes
On Sun, 18 Oct 2026 22:54:24 -0400, Robert Finch <robfi680@gmail.com> wrote: >I like the C/C++ style comments. It is handy to have the two types of >comments. // and /* */. I use // for almost all comments, then /* */ to >comment out a block of code for debugging. It should be noted that C originally only had /* and */. // was added with C++, and then proved so popular that it was then added to some versions of C. I included an equivalent of // in my language; I think I used @' or @" for it, so as to fit into my scheme of strict prefix-property decoding. That is: since / means divide, it is always and only divide; * means multiply, so it is always and only multiply. Exponentiation becomes ^, and @" or whatever becomes the end-of-line comment symbol since @ always precedes another special character to make a new token. John Savard
Technical Details
Message-ID:
<6ad5d644.366843@news.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<1791742457-5857@newsgrouper.org> <11agm4p$2tfut$1@dont-email.me> <11ahs8q$38ir0$4@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <11aiqc0$3kr94$3@dont-email.me> <179190779286.25645.14465927900754526737@media.vsta.org> <179190779286.25645.14465927900754526737@media.vsta.org> <vandys@vsta.org> <jwvjynl2cg0.fsf-monnier+comp.arch@gnu.org> <808vclt9i2mso89n1itvnvos5j88g1mopl@4ax.com> <6acfc2b2.1547984@news.eternal-september.org> <HZQzS.6$TYg.3@fx21.iad> <6ad3360e.5069500@news.eternal-september.org> <11b40p0$1mopb$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: quadibloc@invalid.com (John Savard) Newsgroups: comp.arch Subject: Re: Comment delimiters Date: Mon, 19 Oct 2026 08:39:10 GMT Organization: A noiseless patient Spider Lines: 19 Message-ID: <6ad5d644.366843@news.eternal-september.org> References: <1791742457-5857@newsgrouper.org> <11agm4p$2tfut$1@dont-email.me> <11ahs8q$38ir0$4@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <11aiqc0$3kr94$3@dont-email.me> <179190779286.25645.14465927900754526737@media.vsta.org> <179190779286.25645.14465927900754526737@media.vsta.org> <vandys@vsta.org> <jwvjynl2cg0.fsf-monnier+comp.arch@gnu.org> <808vclt9i2mso89n1itvnvos5j88g1mopl@4ax.com> <6acfc2b2.1547984@news.eternal-september.org> <HZQzS.6$TYg.3@fx21.iad> <6ad3360e.5069500@news.eternal-september.org> <11b40p0$1mopb$1@dont-email.me> Injection-Date: Mon, 19 Oct 2026 08:39:11 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1995334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LC6tjLX8rx/Mc5qwkcgGpmPa9oLSNMoM="; posting-host="7731ebff5166d71d56af50095168e4f1" Cancel-Lock: sha1:eKE4/bap6+hKpM5OS5GhLO+ylZw= sha256:+Fm3irUZZSN6XMcFlcXINHY0s4wfCuLn0NF31nAL8DE= sha1:+fHSIc8Tlx+tpuP0VdcQKcTFVTw= sha256:R3fIe1Gp3lXonpfJRzxZJTMpZ66FYsqdzaN2qGTrhFM= X-Newsreader: Forte Free Agent 1.1/32.230