"to comment out" before the era of programming
I think many people here are programmers since stack sites started out as stackoverflow originally, which is about programming.
My question here is about the phrasal verb "to comment out". It makes a lot of sense to those who know that in programming you can easily turn some part of the code (usually a line) into simply a comment that would have no bearing on the code's execution. For example,
print: Hello world
can be easily turned into a comment in this way:
; print: Hello world
Programmers would say in this case, "I have commented out the line." It is absolutely logical and makes sense to me. However, I wonder if this phrasal verb ever was used before the programming came about. Did it exist in those times? If yes, in what situation it was normally used then?
Solution 1:
As far as I can tell from a few minutes searching on Google Books, comment out has not been used as a phrasal verb other than in the programming sense.
Here's the most interesting use of the collocation:
1689 Abednego Seller, The History of Passive Obedience Since the Reformation 97 We have ſeen Rebellion commented out of Rom. xiii.
Since Romans 13 is all about obedience ("Let every soul be subject unto the higher powers ...") I think this must be comment used in the obsolete sense "devise, contrive, invent" [OED].
Solution 2:
I have never encountered this usage outside programming, and there's no reason to expect it would have existed before then.
"Commenting out" means instructing the compiler or interpreter to ignore the text in question. The primary purpose of incorporating the instruction was to allow the programmer to insert comments which would make his code more intelligible - what you might now, if you were as frivolous as I, distinguish as "commenting in". Programmers quickly realized, however, that the instruction also permitted them to de-activate code segments for test or debugging purposes, and it is that which is the origin of "commenting out".
No such practice is called for in ordinary literary texts. Comments of various sorts may be distinguished "in line" through puncutation or a change of script or type; or inserted in margins or at the foot of a page; or banished to the end of a text. Deletions are accomplished by, well, deletion, or overstriking, or excision.