2008/6/4 Larry Bugbee <[EMAIL PROTECTED]>: >> I would like to do something with this language, yet >> I don't know if there are any needs/science fields, that could be used >> as a basis for a thesis. > > Personally, I'd like to see *optional* data typing added to Python > perhaps along the lines of what was done in Pyrex. You declare the > data type when you know it, or when it matters, and skip it > otherwise. Your paper could analyze its pros and cons, analyze any > potential performance gains, and recommend how to implement it. Your > professor will suggest some additional questions. > > I suspect, if the type be known and declared, the interpreter could be > streamlined and quicker, you might get asserts for free, and perhaps, > Python becomes even more self-documenting. Perhaps I've missed it, > but I haven't seen a strong analytical case made for or against > optional data typing. Your paper?
I think what you are talking about is already implemented in Python 3.0 as annotations. Forgive me if I missed your point. > > Larry > > -- > http://mail.python.org/mailman/listinfo/python-list > -- Wbr, Andrii Mishkovskyi. He's got a heart of a little child, and he keeps it in a jar on his desk. -- http://mail.python.org/mailman/listinfo/python-list