ext_7991 ([identity profile] keristor.livejournal.com) wrote in [personal profile] seanan_mcguire 2009-11-02 07:04 pm (UTC)

At work the other day someone asked for comments on a piece of code. I gave them:
/* C / C++ */
// C++, Java
{ Pascal }
C Fortran (in first column)
# most scripting languages
; assembler (various)
% some .rc files (e.g. SLRN)
" VIM files
' Visual Basic
rem DOS batch
dnl M4 (autoconf and the like)
-- SGML / XML DTD (within a tag) --
<!-- XML / HTML -->


I think I ran out at that point, having forgotten how to do them in Lisp and COBOL and VMS DCL...

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting