Article View: alt.folklore.computers
Article #620680Re: Nostalgia
From: Jorgen Grahn
Date: Mon, 26 Feb 2018 06:43
Date: Mon, 26 Feb 2018 06:43
44 lines
3009 bytes
3009 bytes
On Mon, 2018-02-26, Dan Espen wrote: > 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 max_supported_fingers=5; # Nothing more to say /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o .
Technical Details
Message-ID:
<slrnp97b4c.eu5.grahn+nntp@frailea.sa.invalid>Path:
mbox-mo1.pugleaf.net!10ni2663ite.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!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> <p6vrnc$ue5$1@dont-email.me>Show Full Headers
Complete Article Headers
X-Received: by 10.36.103.203 with SMTP id u194mr8244726itc.0.1519627407678; Sun, 25 Feb 2018 22:43:27 -0800 (PST) X-BeenThere: alt.folklore.computers@googlegroups.com Received: by 10.107.162.147 with SMTP id l141ls913361ioe.23.gmail; Sun, 25 Feb 2018 22:43:26 -0800 (PST) X-Received: by 10.107.70.21 with SMTP id t21mr7743031ioa.134.1519627406574; Sun, 25 Feb 2018 22:43:26 -0800 (PST) MIME-Version: 1.0 Path: mbox-mo1.pugleaf.net!10ni2663ite.0!nntp.google.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jorgen Grahn <grahn...@snipabacken.se> Newsgroups: alt.folklore.computers Subject: Re: Nostalgia Date: 26 Feb 2018 06:43:24 GMT Lines: 44 Message-ID: <slrnp97b4c.eu5.grahn+nntp@frailea.sa.invalid> 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> <p6vrnc$ue5$1@dont-email.me> X-Trace: individual.net HNERa080tHuKulW1nutjUAuCrKy/ywBcmVnGRTlzWs9ezphogM Cancel-Lock: sha1:9TPeQDlVJshljqXBjufK0dnF9BQ= User-Agent: slrn/1.0.2 (OpenBSD) Bytes: 2538 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit