Re: Prothon should not borrow Python strings!
From: Mark Hahn (mark_at_prothon.org)
Date: 05/24/04
- Next message: Mark Hahn: "Re: Prothon vs. Python integers"
- Previous message: Paul Prescod: "Prothon vs. Python integers"
- In reply to: Paul Prescod: "Prothon should not borrow Python strings!"
- Next in thread: Paul Prescod: "Re: Prothon should not borrow Python strings!"
- Reply: Paul Prescod: "Re: Prothon should not borrow Python strings!"
- Reply: Roger Binns: "Re: Prothon should not borrow Python strings!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 May 2004 11:28:26 -0700
"Paul Prescod" <paul@prescod.net> wrote
> I can understand why you might be afraid to tackle all of Unicode for
> version 1.0. Don't bother. All you need to do today to avoid the dead
> end is DO NOT ALLOW BINARY DATA IN STRINGS. Have a binary data type.
> Have a character string type. Give them a common "prototype" if you
> wish. Let them share methods. But keep them separate in your code. The
> result of reading a file is a binary data string. The result of parsing
> an XML file is a character string. These are as different as the bits
> that represent an integer in a particular file format and a logical
integer.
This is very timely. I would like to resolve issues like this by July and
that deadline is coming up very fast.
We have had discussions on the Prothon mailing list about how to handle
Unicode properly but no one pointed this out. It makes perfect sense to me.
Is there any dynamic language that already does this right for us to steal
from or is this new territory? I know for sure that I don't want to steal
Java's streams. I remember hating them with a passion.
- Next message: Mark Hahn: "Re: Prothon vs. Python integers"
- Previous message: Paul Prescod: "Prothon vs. Python integers"
- In reply to: Paul Prescod: "Prothon should not borrow Python strings!"
- Next in thread: Paul Prescod: "Re: Prothon should not borrow Python strings!"
- Reply: Paul Prescod: "Re: Prothon should not borrow Python strings!"
- Reply: Roger Binns: "Re: Prothon should not borrow Python strings!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|