From: Massimo Z. <mas...@vi...> - 2006-02-09 11:12:13
|
I'm a poor english writer, sorry. Proposal #1 and #2 are a very big improvement respect the previous API. So the choice between the two proposals is a "minour issue", because both solve the main problem. > However proposal #2 has its share of issues too. It makes the types in > various functions more complex because we have to distinguish between > functions which work on untyped and typed views (eg some work on both, > others only on typed views). Could you give an example of a function that has both a typed view and untyped view type declaration? What is the type declaration under proposal #1 and #2? How many functions of this type are there? If there aren't many functions of this type I prefer proposal #2. Instead if the API explode under the weight of static-type constraints I prefer the more dynamic-typed (and lighter) API of the proposal #1. Massimo. |