On 12/10/2007, Bill Ward [EMAIL PROTECTED] wrote:
On 10/11/07, A. Pagaltzis [EMAIL PROTECTED] wrote:
* Eric Wilhelm [EMAIL PROTECTED] [2007-10-11 01:05]:
http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm
If I saw this in production code under my responsibility, I'd
submit
On 10/11/07, A. Pagaltzis [EMAIL PROTECTED] wrote:
* Eric Wilhelm [EMAIL PROTECTED] [2007-10-11 01:05]:
http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm
If I saw this in production code under my responsibility, I'd
submit it to DailyWTF. However, I have nothing against its use
Bill Ward [EMAIL PROTECTED] writes:
What worries me is someone's gonna submit an otherwise useful module
to CPAN that uses this feature.
Unfortunately, that is inherent to the nature of CPAN.
Personally, I have to reject many potential useful CPAN modules
because they use a plethora of other
Eric Wilhelm [EMAIL PROTECTED] writes:
IMO, shortcuts for typing long things will lead us to Eclipse.
And precisely, what's wrong with that?
ducks
-- Johan
Isn't that just a way of saying that we reach for the stars by standing
on the shoulders of giants?
-Original Message-
From: Johan Vromans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 9:44 AM
To: module-authors@perl.org
Subject: Re: lambda - a shortcut for sub {...}
Bill
# from Bill Ward
# on Friday 12 October 2007 01:23:
What worries me is someone's gonna submit an otherwise useful module
to CPAN that uses this feature.
What worries me is that anyone is worried about that. Do you audit your
dependencies to make sure that none of them says 'use utf8'?
--Eric
Eric Wilhelm wrote:
The great thing about maintenance programmers is that they come from the
future (the one where utf8 just works.)
Wow. Which parallel future do you come from ? :)
On 12 Oct 2007, at 15:04, Andy Lester wrote:
What worries me is someone's gonna submit an otherwise useful module
to CPAN that uses this feature.
Oh no, THEN what? What's the tragedy there?
You're just being meta-negative Andy :)
--
Andy Armstrong, Hexten
On Oct 12, 2007, at 3:44 AM, Johan Vromans wrote:
Personally, I have to reject many potential useful CPAN modules
because they use a plethora of other modules that most of the time are
not even related to the problem at hand.
I find that annoying too. Usually I just bite the bullet and
--- Eric Wilhelm [EMAIL PROTECTED] wrote:
http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm
Combined with that vim shortcut, this is just too cool :)
I'd probably have put it in the Acme:: namespace, though.
Cheers,
Ovid
--
Buy the book -
# from Ovid
# on Thursday 11 October 2007 00:54:
I'd probably have put it in the Acme:: namespace, though.
Why? AFAICT, the Acme stuff isn't typically intended for production
use.
I plan to use it early and often.
--Eric
--
Because understanding simplicity is complicated.
--Eric Raymond
Eric Wilhelm [EMAIL PROTECTED] writes:
Cute, but doesn't it break programs that already use non-ascii (e.g.,
Latin1)?
How?
Because it's no different from the utf8 pragma:
$ cat t.pl
my $x = ë;
$ perl -w t.pl
$ perl -Mutf8 -w t.pl
Malformed UTF-8 character (unexpected continuation
# from Ovid
# on Thursday 11 October 2007 02:08:
but if it shows up in your CPAN modules, you
might get a few complaints since this sugar,
Oh well ;-) It's not an API element, just an internal dependency. It
works with perl 5.6.2 and 5.8.8. Would anyone even notice?
If you're editing the
# from Johan Vromans
# on Thursday 11 October 2007 09:41:
doesn't it break programs that already use non-ascii (e.g.,Latin1)?
How?
Because it's no different from the utf8 pragma:
$ cat t.pl
my $x = ë;
$ perl -w t.pl
$ perl -Mutf8 -w t.pl
Malformed UTF-8 character (unexpected
# from David Golden
# on Thursday 11 October 2007 11:25:
Uh, what about a vim shortcut that just does sub {. E.g.:
And why do we have an 'eq' operator instead of 'equals' ?
IMO, shortcuts for typing long things will lead us to Eclipse.
--Eric
--
...our schools have been scientifically
On 10/11/07, Ovid [EMAIL PROTECTED] wrote:
Combined with that vim shortcut, this is just too cool :)
Uh, what about a vim shortcut that just does sub {. E.g.:
imap ,{ sub {Space
Or even:
imap ,{ sub {SpaceSpace}LeftLeft
-- David
--- Eric Wilhelm [EMAIL PROTECTED] wrote:
And why do we have an 'eq' operator instead of 'equals' ?
IMO, shortcuts for typing long things will lead us to Eclipse.
lambda - a shortcut for sub {...}
my $code = #955; {...}; # instead of sub {...}
;)
Cheers,
Ovid
--
Buy the book -
* Eric Wilhelm [EMAIL PROTECTED] [2007-10-11 01:05]:
http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm
If I saw this in production code under my responsibility, I’d
submit it to DailyWTF. However, I have nothing against its use
in code I’ll never see. Carry on.
This opinion brought
On 10/10/07, Eric Wilhelm [EMAIL PROTECTED] wrote:
http://search.cpan.org/~ewilhelm/lambda-v0.0.1/lib/lambda.pm
For golfing with closures?
David
19 matches
Mail list logo