[TUHS] Comments in early Unix systems

Steve Nickolas usotsuki at buric.co
Thu Mar 22 12:19:12 AEST 2018


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.



More information about the TUHS mailing list