From: Marco <prenom_nomus@yahoo.com>
Subject: Re: Naming convention to identify functions with side effects
Date: Sat, 4 Oct 2008 05:30:22 -0700 (PDT)
Date: 2008-10-04T05:30:22-07:00 [thread overview]
Message-ID: <d49286ef-faa1-4b1b-8e23-0ed80c015dd2@p10g2000prf.googlegroups.com> (raw)
In-Reply-To: ek2wg7tewjyn$.wuz3bh673et9$.dlg@40tude.net
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. I think the
proper expression is "unrelated side-effects are bad" which violates
the Principle of Least Surprise.
next prev parent reply other threads:[~2008-10-04 12:30 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 [this message]
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
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