2 ms·
I mean, in non-strawman examples of programming languages. The code will work, but how will it edit outside of your personal environment? Or print? If you quo
by kazinator 6y ago
I mean, in non-strawman examples of programming languages.
The code will work, but how will it edit outside of your personal environment? Or print?
If you quote it in a PDF paper, will it be copy-pastable?
Basically I would worry about all that sort of stuff.
If I have echo '^L' to clear the screen, and that program is sent to a line printer, will I get:
echo '
[ paper ejected ]
'
If you so much as "cat" your code to a terminal, all the codes get interpreted.
- morelisp 6y agoIn Emacs Lisp it's common to to include real ^L specifically to trigger page breaks from when printing code was more common (and it has page-aware navigation commands accordingly).