comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.tsoh.plus-bug.bauhaus@maps.futureapps.de>
Subject: Re: Naming convention to identify functions with side effects
Date: Sat, 11 Oct 2008 19:49:29 +0200
Date: 2008-10-11T19:49:33+02:00	[thread overview]
Message-ID: <48f0e72d$0$6599$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <C5168D49.FC100%yaldnif.w@blueyonder.co.uk>

(see below) wrote:
> On 11/10/2008 12:32, in article
> d032eee0-fbaf-43f4-a18d-9cdf9aeee7d3@b38g2000prf.googlegroups.com, "Marco"
> <prenom_nomus@yahoo.com> wrote:
> 
>> On Oct 4, 6:05 am, "(see below)" <yaldni...@blueyonder.co.uk> wrote:
>>> On 04/10/2008 13:30, in article
>>> d49286ef-faa1-4b1b-8e23-0ed80c015...@p10g2000prf.googlegroups.com, "Marco"
>>>
>>> <prenom_no...@yahoo.com> wrote:
>>>> On Oct 3, 5:28 am, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
>>>> wrote:
>>>>> Side-effects are bad in any subprograms, be them functions or procedures.
>>>>   Technically "side-effects" are being used whenever you change an
>>>> internal state in a module, which is not always undesired.
>>> These are not "side-effects", they are just effects.
>>> The whole point of using computers is to cause changes of state.
>> http://en.wikipedia.org/wiki/Side_effect_(computer_science)
>>
>>  the functional programming folks would disagree with your "whole point"

(I'm probably dense, how is this an inevitable conclusion
to be drawn from the article?)

> I had a very distinguished group of them as colleagues for nearly 15 years,
> so I am only too aware of their profound misunderstanding of what computers
> are actually for.

Maybe Simon Peyton Jones has finally found a way to
make real computers visible to scientists with a preference
for world-excluding static functions. In
 "Tackling the Awkward Squad" (2005) he introduces Haskell
as "the world's finest imperative programming language"
using monads), drawing attention to I/O ("I/O is the raison d'�tre
of every program. ---a program that had no observable effect
whatsoever (no input, no output) would not be very useful."),
error detection and recovery, concurrency, and interfacing to
components of the OS or written in other languages.

Maybe computer operations need declarative paint and a
mathematical superstructure more abstract than that of
IF and GOTO in order to be on a CS teacher's radar?



  reply	other threads:[~2008-10-11 17:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 18:17 Naming convention to identify functions with side effects Hibou57 (Yannick Duchêne)
2008-09-29 18:45 ` Hibou57 (Yannick Duchêne)
2008-09-29 18:55 ` Adam Beneschan
2008-09-29 19:52   ` Dmitry A. Kazakov
2008-09-29 20:48     ` Georg Bauhaus
2008-09-29 21:10       ` Adam Beneschan
2008-09-30 15:17         ` Georg Bauhaus
2008-09-30 17:40           ` Ray Blaak
2008-10-02 12:33       ` Ole-Hjalmar Kristensen
2008-10-03  9:18         ` Georg Bauhaus
2008-10-06  7:24           ` Ole-Hjalmar Kristensen
2008-10-03 11:51       ` Brian Drummond
2008-10-03 12:28         ` Dmitry A. Kazakov
2008-10-04 12:30           ` Marco
2008-10-04 13:05             ` (see below)
2008-10-04 15:14               ` Gary Scott
2008-10-11 11:32               ` Marco
2008-10-11 14:57                 ` Dmitry A. Kazakov
2008-10-11 16:05                 ` (see below)
2008-10-11 17:49                   ` Georg Bauhaus [this message]
2008-10-11 18:42                     ` (see below)
2008-10-03 13:15         ` Jeffrey Creem
2008-09-29 20:57 ` Georg Bauhaus
2008-09-29 22:22 ` Dr. Adrian Wrigley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox