3 ms·
If C++ supported the backwards comment "\\" meaning "everything before this is a comment" described by Stroustrup in http://www2.research.att.com/~bs/whitespace
by ot 16y ago
If C++ supported the backwards comment "\\" meaning "everything before this is a comment" described by Stroustrup in http://www2.research.att.com/~bs/whitespace98.pdf http://www2.research.att.com/~bs/whitespace98.pdf, it could be compilable right out of Paint
- gaius 16y agoHaha brilliant! Why didn't they adopt this? Or is there a C++ compiler that does support it?
- jcl 16y agoThat doesn't strike you as a really bad idea? Quite apart from the maintenance nightmare, consider what happens if you need to include a backslash in a string. Read the paper... It also proposes limiting all identifiers to one character, using Wingdings as variables, and overloading whitespace as an operator. ;)
- gaius 16y agoYou've not used APL then ;-) Nesting comments is always a pain in the arse, and \\ would make it unnecessary.
- ot 16y agoHave you noticed the publication date, in the abstract?