Apparently COMAL created around 1975 had 'em. Anything earlier?
(This Q&A over at the langdev stack doesn't answer this question.)
Apparently COMAL created around 1975 had 'em. Anything earlier?
(This Q&A over at the langdev stack doesn't answer this question.)
The BCPL Reference Manual, Memorandum-M-352, Massachusetts Institute of Technology, July 21, 1967 specified in section 2.1.2:
(b) User’s comment may be included in a program between a double slash '//' and the end of the line.
BCPL was the first language, as the earlier CPL used vertical bars.
Wikipedia states CPL first appeared in 1963. The history articles on the C language refer back to CPL 1963.
According to Section 27 Comments on page 33 of the Combined Programming Language (CPL), Elementary Programming Manual, Edition II (Cambridge) January 1966, comments are two vertical bars and continue to the end of the line.
// random stuff
originate with just making a joke at the expense of OS/360 JCL?