[chuck-users] One thing that ChucK *really* needs
David Rush
kumoyuki at gmail.com
Thu Aug 27 07:20:16 EDT 2009
Sorry about this. I had forgotten about the isomorphism between
chucking and function calls...Nothing to see here folks...move along
:P
2009/8/27 David Rush <kumoyuki at gmail.com>:
> Is attribute propagation when chucking values. e.g.
>
> class A
> {
> B used;
> }
>
> class B
> {
> float freq;
> }
>
> A a;
>
> 440.0 => a.used.freq; // ICK!
>
> It would be really lovely to have some way to just write
>
> 440.0 => a.freq;
>
> Now this probably means some way of defining synthetic attributes
> (along the lines of what is in C#), but I think that this would
> greatly improve usability for programming geek ChucKists as well as
> musical ChucKists. At the very least, it allows code that uses a class
> to be unaware of it's implementation details. This is an actual
> problem for me as my algorithmic composition framework grows.
>
> Just $0.02 worth
>
> david rush
> --
> GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt
>
--
GPG Public key at http://cyber-rush.org/drr/gpg-public-key.txt
More information about the chuck-users
mailing list