Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #59652

Re: Forth and computer science

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Forth and computer science
Date 2017-05-21 14:20 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2017May21.162059@mips.complang.tuwien.ac.at> (permalink)
References (1 earlier) <2n0xa10cqir6.1c2lgw5iwgwu3$.dlg@40tude.net> <f03ab549-5689-466e-b960-145364474d7d@googlegroups.com> <mo6hwyub1bee$.17ca18ou49qgm.dlg@40tude.net> <57692096-d564-4348-9687-a520bd533135@googlegroups.com> <9f5948fb-8e3d-4255-8184-669d20ad711e@googlegroups.com>

Show all headers | View raw


Julian Fondren <julian.fondren@gmail.com> writes:
>On my scales this isn't much of a problem, but I can easily imagine
>someone who would, rather than laugh and say "oh, that's due to some
>incomplete refactoring", would be angry and humiliated by someone
>patching SWAP SWAP -tier stack manipulation out from his code. Better
>for a person like that to stick to languages that give the programmer
>much less opportunity to be shown up.
>
>Those languages aren't free of messy people, they just don't express
>the messiness of those people as well.

In my experience every language makes it easy to express the
functionality in code that can be easily condensed further.  In our
introductory programming course, I see more people writing

if (a<b)
  return true;
else
  return false;

than 

return a<b;

And even though we don't teach them to, there are lots of people
writing getter and setter methods for all fields of a class (and
getters and setters have recently been advocated as good practice
here).

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2017: http://www.euroforth.org/ef17/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Forth and computer science lehs <skydda.barnen@gmail.com> - 2017-05-20 05:48 -0700
  Re: Forth and computer science Coos Haak <htrofhc@gmail.com> - 2017-05-20 20:19 +0200
    Re: Forth and computer science lehs <skydda.barnen@gmail.com> - 2017-05-20 11:35 -0700
      Re: Forth and computer science Coos Haak <htrofhc@gmail.com> - 2017-05-20 20:50 +0200
        Re: Forth and computer science lehs <skydda.barnen@gmail.com> - 2017-05-21 00:08 -0700
          Re: Forth and computer science Julian Fondren <julian.fondren@gmail.com> - 2017-05-21 05:37 -0700
            Re: Forth and computer science anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-21 14:20 +0000
            Re: Forth and computer science lehs <skydda.barnen@gmail.com> - 2017-05-21 10:00 -0700
              Re: Forth and computer science anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-22 11:35 +0000
                Re: Forth and computer science albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2017-05-22 16:25 +0200
                Re: Forth and computer science anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-22 14:47 +0000
                Re: Forth and computer science lehs <skydda.barnen@gmail.com> - 2017-05-22 10:00 -0700
  Re: Forth and computer science lehs <skydda.barnen@gmail.com> - 2017-06-05 02:52 -0700
    Re: Forth and computer science Julian Fondren <julian.fondren@gmail.com> - 2017-06-05 11:18 -0700

csiph-web