On Sun, Aug 2, 2009 at 5:58 AM, DrunkenMonk<[email protected]> wrote:
>
> Having a math function can give shorter code, which is good. However,
> if you want a counter set to a math function, then having to invoke
> two functions is annoying.
Can you explain what you mean by a counter set to a math function?
What I'm suggesting is it makes more sense to write:
[(math "(3 * (8 + 2)) / 4")] than [(counter "(3 * (8 + 2)) / 4")]
As far as the all the other capabilities of counter they would be the
same. You would be able to change increments, increase/decrease, set
multiple id's, etc., none of that will change.
One other change is that the var shortcut would probably only work for
math now, that is you could equally do:
{ (3 * (8 + 2)) / 4 }
but not other counter kinds of functions unless you used the full
[(counter)] markup. This might cause problems on some plugins.
Another change is the math function would automatically output data,
while the counter would be invisible unless displayed, as current.
> I currently have the old math plugin enabled, and use both.
Actually, this plugin is completely unnecessary at present because
everything in it is available in counter. I'm suggesting we move it to
core, and then use the counter function just for its intended
purpose--counting.
> I would simply include a math function, but not remove the
> funtionality from counter.
Certainly this is doable, but it seems a bit confusing to me.
Redundant. Less aesthetic. :) It would be better to not add a new
function than to have two functions doing the same thing. At least now
we have the aesthetics of economy. But to me the more important
aesthetic is intuitiveness. Software like BoltWire is challenging
enough to learn. Anything we can do to make it easier is a step in the
right direction.
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---