On Sat, Sep 6, 2008 at 11:47 AM, Owen Winkler <[EMAIL PROTECTED]> wrote:
>
> How does this idea sound? (That last implementation might be tricky.)
Functionality-wise? Kick-ass. I'm a bit concerned, though, that we're going
to have $str = new String('foo'); spamming all over the place now and that
it's not going to be clear what exactly it does for new developers looking
at the code.
Can you elaborate on your vision a little, perhaps? I see the value in
outputting post content, so obviously just about everything in a Post,
Comment, etc. object would need to be a String, but do you envision any
other instances? Wrapping in the MultiByte class is cool, but will people
use it properly?
This really relates to a larger sense of growing complexity I've been
feeling as of late. Having all these wrapper classes that replace normal PHP
methods is great, but how do we make sure people are using them? MultiByte
is a perfect example. As long as people, particularly newer PHP programmers,
have to remember that they need to use MultiByte::substr() instead of just
substr() (like all the code snippets they see on the internet use), how do
we make sure multibyte languages aren't second class citizens?
Kind of a thread hijack, but it does relate... I think.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---