Re: [Prothon-dev] Implement universal types?
"Mark Hahn" <[email protected]> Sat, 27 Mar 2004 00:59:04 -0800
| Newsgroups | gmane.comp.lang.prothon.user,gmane.comp.lang.prothon.devel |
|---|---|
| Message-ID | <002401c413d9$c15f5d60$d701a8c0@MarkVaio> |
We need to move this to prothon-user since we've decided hypothetical discussions belong there. > a single decimal type would be great idea Very interesting. I'd have to think about that and read the discussion on the PEP. Right now we have 64-bit ints and 64-bit floats, which together cover things pretty nicely. I have Longs covered in the syntax, waiting for someone to implement the module, if they desire, but I don't really see any need for Long with 64-bit Ints around. > Better to implement unicode from the start? (like java) I definitely want to do this, but I've seen lots of threads on the Python mailing list where experts discuss unicode and other issues in this area and I fear I'm not knowledgable enough to know how to do it right. Apprently even Java didn't get it quite right. I'm hoping someone who is an expert will chime in. If no one does soon, I'll go back to those discussions, find the expert's email addresses, and beg them for help. ----- Original Message ----- From: "Mukhsein Johari" <[email protected]> To: "Prothon-dev" <[email protected]> Sent: Friday, March 26, 2004 10:25 PM Subject: [Prothon-dev] Implement universal types? > Hello, > > Just joined ML after reading up on prothon and > prototype-based programming. I'm a long time python > user but I decided to join because this new language > looks quite exciting. > > There is a PEP to add/replace long, int, and float, > long with a single decimal type with bounded precision > and floating point. > > http://www.python.org/peps/pep-0327.html > > Even though from a language implementation point of > view it might be tough, I think that from a prothon > user point of view, a single decimal type would be > great idea - together with the . (what about complex > type?) > > Also, the question of text / strings. Better to > implement unicode from the start? (like java) > > ________________________________________________________________________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > _______________________________________________ > Prothon-dev mailing list > [email protected] > http://lists.prothon.org/mailman/listinfo/prothon-dev > > > >