From mboxrd@z Thu Jan 1 00:00:00 1970 From: usotsuki@buric.co (Steve Nickolas) Date: Wed, 21 Mar 2018 22:19:12 -0400 (EDT) Subject: [TUHS] Comments in early Unix systems In-Reply-To: <20180322014003.2184E18C085@mercury.lcs.mit.edu> References: <20180322014003.2184E18C085@mercury.lcs.mit.edu> Message-ID: On Wed, 21 Mar 2018, Noel Chiappa wrote: > Although assembler is often so cryptic, the habit of putting a comment on each > instruction isn't so unreasonable. > > So maybe the sort of comments one sees in assembler code (line-by-line > descriptions of what's happening; for subroutines, which arguments are in > which registers; etc) aren't needed in C code, and it took a while for them to > work out what sort of commenting _was_ appropriate/useful for C code? I tend to use more comments in my ASM than my C, for what it's worth. (Most of my coding lately has been in 6502 assembly.) -uxo.