Article View: alt.folklore.computers
Article #620678Re: Nostalgia
From: Dan Espen
Date: Mon, 26 Feb 2018 02:34
Date: Mon, 26 Feb 2018 02:34
38 lines
3019 bytes
3019 bytes
Peter Flass <peter...@yahoo.com> writes: > Bob Eager <news...@eager.cx> wrote: >> On Sun, 25 Feb 2018 17:29:16 +0000, Huge wrote: >> >>> On 2018-02-25, Andrew Swallow <am.sw...@btinternet.com> wrote: >>> >>> [15 lines snipped] >>> >>>> Reading Fortran and Assembler code tells you how, it does not tell you >>>> why. Comments are needed for that. >>> >>> *applause* >>> >>> Anyone who writes code like this should be shot; >>> >>> x=5; # Set x to 5 >> >> Strangely, I was doing generic feedback for an assignment about an hour >> ago. I repeated this statement, but not in Huge terms. (the external >> examiner will read it) > > When you start writing assembler everyone says you should put a comment on > every line, so you tend to do a lot of this until you get the idea. Putting a comment on every line makes it simpler to read the whole program as comments. With highlighting this is an easy way to quickly absorb a module. Of course the comments may not be 100% right. In the above case, the code still needs a comment but it should be something like: x=5; # Max supported fingers -- Dan Espen
Technical Details
Message-ID:
<p6vrnc$ue5$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!10ni2513ite.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mailReferences:
<p641l0$7er$1@dont-email.me> <vsedne5li_0xfxjHnZ2dnUU7-fOdnZ2d@giganews.com> <1798275321.540421278.448699.peter_flass-yahoo.com@news.eternal-september.org> <fennrjFber7U1@mid.individual.net> <p671b4212b3@news2.newsguy.com> <p672qv$74m$1@dont-email.me> <p67o2727bv@news1.newsguy.com> <p6967v$t5b$1@dont-email.me> <p6q0kb$t5$1@reader2.panix.com> <2MWdnbgKEKQjRA_HnZ2dnUU78XHNnZ2d@giganews.com> <ffga3cFrifbU1@mid.individual.net> <ffgu5uF5nalU15@mid.individual.net> <1313349967.541300884.430961.peter_flass-yahoo.com@news.eternal-september.org>Show Full Headers
Complete Article Headers
X-Received: by 10.107.82.5 with SMTP id g5mr7437242iob.101.1519612461601; Sun, 25 Feb 2018 18:34:21 -0800 (PST) X-BeenThere: alt.folklore.computers@googlegroups.com Received: by 10.36.101.17 with SMTP id u17ls205778itb.6.canary-gmail; Sun, 25 Feb 2018 18:34:20 -0800 (PST) X-Received: by 10.36.101.12 with SMTP id u12mr1786410itb.30.1519612460704; Sun, 25 Feb 2018 18:34:20 -0800 (PST) Path: mbox-mo1.pugleaf.net!10ni2513ite.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Dan Espen <dan1...@gmail.com> Newsgroups: alt.folklore.computers Subject: Re: Nostalgia Date: Sun, 25 Feb 2018 21:34:20 -0500 Organization: A noiseless patient Spider Lines: 38 Message-ID: <p6vrnc$ue5$1@dont-email.me> References: <p641l0$7er$1@dont-email.me> <vsedne5li_0xfxjHnZ2dnUU7-fOdnZ2d@giganews.com> <1798275321.540421278.448699.peter_flass-yahoo.com@news.eternal-september.org> <fennrjFber7U1@mid.individual.net> <p671b4212b3@news2.newsguy.com> <p672qv$74m$1@dont-email.me> <p67o2727bv@news1.newsguy.com> <p6967v$t5b$1@dont-email.me> <p6q0kb$t5$1@reader2.panix.com> <2MWdnbgKEKQjRA_HnZ2dnUU78XHNnZ2d@giganews.com> <ffga3cFrifbU1@mid.individual.net> <ffgu5uF5nalU15@mid.individual.net> <1313349967.541300884.430961.peter_flass-yahoo.com@news.eternal-september.org> Mime-Version: 1.0 Injection-Info: reader02.eternal-september.org; posting-host="ef15b46907a593ff5c75d6644d25ff8b"; logging-data="31173"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX18dCpLNqZ+Jqtg7/yJcdftVlb/C+LqOkeE=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:t2tfTgSV+JxODhqbbDLaF3mElEc= Bytes: 2593 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit