From mboxrd@z Thu Jan 1 00:00:00 1970 From: rochkind@basepath.com (Marc Rochkind) Date: Wed, 8 Feb 2017 19:28:16 -0700 Subject: [TUHS] // comment in C++ In-Reply-To: References: Message-ID: Those were JCL COMMANDS??? Damn! I thought they were comments. No wonder nothing ever worked. --Marc On Wed, Feb 8, 2017 at 5:03 PM, Paul McJones wrote: > I'm fairly certain it was originally in BCPL. > > You could just drop a note to Bjarne Stroustrup and ask. :-) > > > On page 44 of _The Design and Evolution of C++_ (Addison-Wesley, 1994), > Stroustrup says: > > “However, only C, Simula, Algol68, an in one case BCPL left noticeable > traces in C++ as released in 1985. Simula gave classes, Algol68 operating > overloading, references, and the ability to declare variables anywhere in a > block, and BCPL gave // comments.” > > He says a bit more about // comments on page 93, including an example of > how they introduced an incompatibility with C. > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: