home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.arch:10717 comp.lang.misc:3648
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!uwm.edu!rutgers!news.columbia.edu!psinntp!psinntp!dg-rtp!sheol!throopw
- From: throopw@sheol.UUCP (Wayne Throop)
- Newsgroups: comp.arch,comp.lang.misc
- Subject: Re: Hardware Support for Numeric Algorithms
- Summary: so simple only a programmer could understand it
- Message-ID: <721627374@sheol.UUCP>
- Date: 13 Nov 92 01:08:26 GMT
- References: <1992Nov11.100555.4706@smds.com> <721539025@sheol.UUCP> <BxLupy.M9K@mentor.cc.purdue.edu>
- Lines: 49
-
- : From: hrubin@pop.stat.purdue.edu (Herman Rubin)
- : Message-ID: <BxLupy.M9K@mentor.cc.purdue.edu>
- : There is a price for programming in what the languagists think is clean
- : code. Nobody except a computer programmer can read it at all!
-
- I'm not sure I follow this. If one is "programming", then one is
- playing the role of a "computer programmer", whether one's vocation
- is statistics, or engineering, or (shudder) business administration.
-
- The similar complaint that "those statisticians and their screwey
- sums-over and chi-squares and their standard deviations! Nobody can
- read their arcana except other statisticians! Boy are they silly and
- introverted!" is clearly false to me, despite my not being a
- statistician. Since this sort of statement, whether about mathematics,
- or medical jargon, or blueprints, or (even) programming seems so
- clearly false, I'm left wondering what Herman might mean by his
- comments about "clean code" above.
-
- If you want to play the game, you at least have to learn the rules.
-
- : [.. I was ..] asked for another copy of the code where the control-path
- : was "clear" and not defined by breaks or gotos.
-
- Well... I agree that if the algorithm is well-modeled by using
- gotos, it is pretty much a DISimprovement to render it into
- if/then-while-sequence form. I am not especially goto-phobic myself,
- nor (seemingly) is Peter da Silva. Did anybody really find Peter's
- rewrite so arcane that "nobody except a computer programmer
- can read it at all"? I, for one, found it much more readable.
-
- : We still have the problem of what is comprehensible to whom.
-
- That's true, but if one wants to program a computer, it seems to me
- it behooves one to become familar with the jargon of the trade. Just
- as (say) a biologist had better become fluent in statistics if that
- biologist wants to do sound work in population genetics.
-
- : And what
- : is one supposed to do if the hardware operations wanted are not even
- : expressible in the language?
-
- Use another language (or implementation).
-
-
-
- ( Use of the term "jargon" above is in its "techspeak" meaning,
- not in the cannonical "hacker's" jargon meaning... )
- --
- Wayne Throop ...!mcnc!dg-rtp!sheol!throopw
-