[PD-dev] strings

Hans-Christoph Steiner hans at eds.org
Mon Dec 18 15:45:26 CET 2006


On Dec 18, 2006, at 1:23 AM, carmen wrote:

>> Automatic type conversion sounds like a really bad idea if the  
>> language only partially supports it.  Pd is strongly typed
>
> is it? it mainly has numbers that occasionally look like symbols,  
> and symbols that more than occasionally look like lists and/or  
> strings..

There are set rules which defined what is a float, symbol, or  
pointer.  You cannot change that type, often even with a special  
method.  Ever tried to turn a float into a symbol?  Doesn't really  
work, only partially.

.hc

>> , so what Martin says is definitely appropriate.
>>  Perl is the opposite, everything can be automatically cast, so  
>> there it makes sense.
>
> it is definitely a design decision which way to go. could PD  
> flexibly support both at once? or does there need to be an OCaml  
> edition, and a Perl edition?
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev



------------------------------------------------------------------------

Mistrust authority - promote decentralization.  - the hacker ethic






More information about the Pd-dev mailing list