sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Robert Figura <rfigura AT aubergine.zwischengesicht.de>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] multiple depends in one line
- Date: Fri, 18 Aug 2006 16:39:29 +0200
Am Friday 18 August 2006 09:40 schrieb Juuso Alasuutari:
> Summary so far: cast works. What doesn't is storing depends info, and
> that makes at least dispel, gaze, and cleanse uncooperative.
So it is a bug.
<philosophy>
Cool thing in programming is that you can change the language in which you
are stating the solution, i.e. define a function which groups parameters
which belong together to make the source readable and clutter free.
Cool thing in fixed formats on the other hand is that you don't redefine
stuff. Read the specs and you can use automatic refactoring without
hesitating.
</philosophy>
I personally think that as many spell filetypes should be as fixed as
possible. But: It is indeed nice to have a concise format like putting a
series of depends into a single statement, just like you discovered.
It seems like DEPENDS is indeed meant to contain code (please correct me on
this one) so you could just write a wrapper function which does the right
thing...
BTW: Did someone here refactoring of the DEPENDS? Are we better off
considering DEPENDS as a fixed format?
Regards
- Robert Figura
--
/* mandlsig.c v0.23 (c) by Robert Figura <rfigura AT metabit.com> */
I=1702;float O,o,i;main(l){for(;I--;putchar("oO .,\nm>cot.bitamea\
@urigrf <raguFit erobR"[I%74?I>837&874>I?I^833:l%5:5]))for(O=o=l=
0;O*O+o*o<(16^l++);o=2*O*o+I/74/11.-1,O=i)i=O*O-o*o+I%74*.04-2.2;}
-
Re: [SM-Discuss] multiple depends in one line
, (continued)
- Re: [SM-Discuss] multiple depends in one line, Bearcat M. Sandor, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Paul Mahon, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Juuso Alasuutari, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
seth, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Juuso Alasuutari, 08/18/2006
- Re: [SM-Discuss] multiple depends in one line, seth, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Juuso Alasuutari, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Andrew, 08/18/2006
- Re: [SM-Discuss] multiple depends in one line, seth, 08/18/2006
- Re: [SM-Discuss] multiple depends in one line, Pieter Lenaerts, 08/19/2006
-
Re: [SM-Discuss] multiple depends in one line,
seth, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Juuso Alasuutari, 08/18/2006
- Re: [SM-Discuss] multiple depends in one line, Robert Figura, 08/18/2006
-
Re: [SM-Discuss] multiple depends in one line,
Juuso Alasuutari, 08/18/2006
Archive powered by MHonArc 2.6.24.