"Bald Eagle" <cre### [at] netscapenet> wrote:
>...
> With regard to the current shader, I've run into quite a number of stumbling
> blocks that highlight the deeply ingrained problems and limitations of the
> function parser. I'm not saying that Thorsten didn't do a good job - it's just
> that what we have isn't really adequate to the tasks I would (reasonably) like
> to accomplish, and isn't conducive to moving forward toward 4.0.
>
> When evaluating a pattern, things need to be coded in a certain "static" way.
> What one might do in a macro - declaring variables to store intermediate
> calculation results - isn't possible with functions.
>...
To not have variables in functions is not necessarily a showstopper.
It just requires you to rewire your brain to program in a more "functional" way.
;-)
A lot of people struggle with this when they start programming in functional
languages.
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|