On Sun, 4 Sep 2011, Hans-Christoph Steiner wrote:

I think you are missing the point of what I am saying. I am not saying with we implement a strict duck typing mimicing Ruby or Python.

I think you are missing the point of what I am saying. I am saying that you are using the wrong words for that.

So in the sense of Pd, anything that can be intepreted as a number should be. But that's in conflict with having symbols that have things that can be intepreted as a number. So make Pd consistent, either it needs to be illegal to have symbols that can be interpreted as a number,

This could break some existing patches.

or maybe symbols that can be interpreted as a number behave like a float when something is expecting a float.

That's what Tcl and Perl do for ints, floats and strings.

They don't call it duck-typing though, and no-one does.

 _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to