Re: L2R/R2L syntax (was Re: Everything is an object.)

2003-01-17 Thread Petras
* David Storrs [EMAIL PROTECTED] [2003-01-17 19:29:25]:
 On Fri, Jan 17, 2003 at 10:59:57AM -0500, Dan Sugalski wrote:
  At 7:13 AM -0800 1/17/03, David Storrs wrote:
  Do we at least all agree that it would be a good thing if Unicode were
  the default character set for everything, everywhere?  That is,
  editors, xterms, keyboards, etc?
  No. No, we don't.
 Could you explain why not?  I'd like to be able to easily exchange
 mail and scripts with people in other countries.

Hi,

I am a native Lithuanian, and the issue of different charsets and unicode is 
very important to me. We used to use iso-8859-4 charset and our current standard
is iso-8859-13. Now, when I say standard, it means an official standadrd de jure
, not the standard de facto. Desktop systems are dominated by Windows, and 
Microsoft has a terrible attitude towards this charset issue. Windows still
uses iso-8859-4 and a bastardised version of iso-8859-13, which is called 
windows-1257. Things would be great if everyone used Unicode, but again, this 
presents a lot of problems. I usually use utf-8 but this means that most windows
users will not be able to read my writings in emails (Outlook just scrables the 
whole thing). So my point would be that the world is not ready for unicode. At
least until major companies start to take it seriously. 

Sure, it would be a nice thing to have everything in unicode, but I am afraid 
that is not possible yet. Especially when we have a lot of old systems, where 
the only editor is vi via ssh. And I am telling you this, because I know how
hard it is to live in a world where your charset characters are not in ASCII
(and I'm talking not 7-bit ascii, but ascii as a whole).

So, yes, it would be nice to live in a perfect world, but we are not quite there
yet.

Petras Kudaras
--
Just Another Lithuanian Perl Hacker




Re: L2R/R2L syntax

2003-01-17 Thread Petras
* Mr. Nobody [EMAIL PROTECTED] [2003-01-17 19:55:41]:
 --- Michael Lazzaro [EMAIL PROTECTED] wrote:
 @out ~ grep { ... } ~ map { ... } ~ @in;  # (3)
 @in ~ map { ... } ~ grep { ... } ~ @out;  # (4)
 I have to wonder how many people actually like this syntax, and how many only
 say they do because it's Damian Conway who proposed it. 

Just for statistical purposes I would like to say that I do like this syntax and
this has nothing to do with Damian. I would have liked it if it was proposed
by anyone else anyway.

  2) You might be able to combine L2R and R2L piping in one statement.  
  Maybe.

I think this is great. At least it caries the true Perlish philosophy of doing
things in an obfuscated way. However, although I like it because I am a Perl
programmer, these kind of things scare new people away because they think that
Perl is an awful language which is write-only. I thought this was going to
change with Perl6.

  3) How pretty you think the above is depends almost entirely on how the 
  tilde is rendered in your font.
 I have a font where ~ is in the center, and I still hate it.

I have a font where ~ is rendered above, and I still like it.

  4) Some people like the idea of having Unicode operators in perl6.  
  Some don't.  There are issues with it.  Larry hasn't come up with a 
  ruling yet.  We should wait for his decision.

As long as there is a [alternative] way to input (and read) Perl scripts in 
simple ascii, I'm happy. Should there be an approach that Java used to have -- 
where \u escape sequences are parsed first and then the code is parsed?
(I am not terribly familiar with unicode technologies in programming languages,
so you can think of me as an ordinary newbie at this point ;)

Petras Kudaras
--
Just Another Lithuanian Perl Hacker