From jay at jays.net Tue Oct 21 15:35:23 2014 From: jay at jays.net (Jay Hannah) Date: Tue, 21 Oct 2014 17:35:23 -0500 Subject: [Omaha.pm] Worlogog::Restart Message-ID: You got Lisp in my Perl! https://metacpan.org/pod/Worlogog::Restart j From jay at jays.net Tue Oct 21 15:41:04 2014 From: jay at jays.net (Jay Hannah) Date: Tue, 21 Oct 2014 17:41:04 -0500 Subject: [Omaha.pm] Try::Tiny declared Uncool Message-ID: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> Did you know https://metacpan.org/pod/Try::Tiny is Uncool? Apparently the Cool thing now is: eval { ... ; 1 } || do { ... }; Apparently Catalyst6 is threatening to move to that pattern. Are we having fun yet? :) j From tedkat at gmail.com Wed Oct 22 06:42:40 2014 From: tedkat at gmail.com (Theodore Katseres) Date: Wed, 22 Oct 2014 08:42:40 -0500 Subject: [Omaha.pm] Try::Tiny declared Uncool In-Reply-To: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> References: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> Message-ID: On Tue, Oct 21, 2014 at 5:41 PM, Jay Hannah wrote: > Did you know https://metacpan.org/pod/Try::Tiny is Uncool? > > Apparently the Cool thing now is: > > eval { ... ; 1 } || do { ... }; > > Apparently Catalyst6 is threatening to move to that pattern. > > Are we having fun yet? :) > > j > Where is the finally block pattern? Is this an attempt to make Catalyst6 ::Tiny? -Ted -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Wed Oct 22 09:22:32 2014 From: jay at jays.net (Jay Hannah) Date: Wed, 22 Oct 2014 11:22:32 -0500 Subject: [Omaha.pm] Try::Tiny declared Uncool In-Reply-To: References: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> Message-ID: On Oct 22, 2014, at 8:42 AM, Theodore Katseres wrote: > On Tue, Oct 21, 2014 at 5:41 PM, Jay Hannah wrote: >> Apparently the Cool thing now is: >> >> eval { ... ; 1 } || do { ... }; > > Where is the finally block pattern? It's not Cool I guess? :) >> Apparently Catalyst6 is threatening to move to that pattern. > > Is this an attempt to make Catalyst6 ::Tiny? Exactly the opposite. Current Catalyst uses Try::Tiny like crazy, and they're threatening to stop. Try::Tiny is WAY more code than simply using the eval pattern above. :) j From jay.hannah at iinteractive.com Wed Oct 22 09:52:02 2014 From: jay.hannah at iinteractive.com (Jay Hannah) Date: Wed, 22 Oct 2014 11:52:02 -0500 Subject: [Omaha.pm] Indirect object syntax BAD Message-ID: <25C11548-8111-47E0-9E51-B05FDB8D8F70@iinteractive.com> Recapping in case you don't follow the same folks I (@deafferret) do on Twitter: Bad: my $obj = new Foo; Good: my $obj = Foo->new; Why? http://markmail.org/message/vooz7qqlm6b23hy7#query:+page:1+mid:o7d5sxnydya7bwvv+state:results :) j From sterling at hanenkamp.com Wed Oct 22 13:28:02 2014 From: sterling at hanenkamp.com (Sterling Hanenkamp) Date: Wed, 22 Oct 2014 15:28:02 -0500 Subject: [Omaha.pm] Try::Tiny declared Uncool In-Reply-To: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> References: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> Message-ID: On Tue, Oct 21, 2014 at 5:41 PM, Jay Hannah wrote: > Did you know https://metacpan.org/pod/Try::Tiny is Uncool? > > Apparently the Cool thing now is: > > eval { ... ; 1 } || do { ... }; > > Apparently Catalyst6 is threatening to move to that pattern. > Why? What's the proposed reason for the change? > > Are we having fun yet? :) > > j > > > > > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- Andrew Sterling Hanenkamp sterling at hanenkamp.com 785.370.4454 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jay at jays.net Wed Oct 22 17:05:47 2014 From: jay at jays.net (Jay Hannah) Date: Wed, 22 Oct 2014 19:05:47 -0500 Subject: [Omaha.pm] Try::Tiny declared Uncool In-Reply-To: References: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> Message-ID: <3FBF4EFC-FB2F-482E-9A95-E74957805216@jays.net> On Oct 22, 2014, at 3:28 PM, Sterling Hanenkamp wrote: > On Tue, Oct 21, 2014 at 5:41 PM, Jay Hannah wrote: >> Apparently Catalyst6 is threatening to move to that pattern. > Why? What's the proposed reason for the change? One less dependency, simpler to not use Try::Tiny when apparently eval { ... ; 1 } || do { ... }; covers all the cases that prompted the adoption of Try::Tiny into Catalyst. j From sterling at hanenkamp.com Wed Oct 22 19:11:46 2014 From: sterling at hanenkamp.com (Sterling Hanenkamp) Date: Wed, 22 Oct 2014 21:11:46 -0500 Subject: [Omaha.pm] Try::Tiny declared Uncool In-Reply-To: <3FBF4EFC-FB2F-482E-9A95-E74957805216@jays.net> References: <49C20090-BCA0-4318-8953-D7763DDD2C20@jays.net> <3FBF4EFC-FB2F-482E-9A95-E74957805216@jays.net> Message-ID: The latter argument makes some sense, though I can see that being an idiom easily mistyped. The first argument, though, when Catalyst already depends on the whole of CPAN doesn't make any sense to me unless they are eliminating a very large number of the other 12,388,473 dependencies (that's only a *slight* exaggeration). On Wed, Oct 22, 2014 at 7:05 PM, Jay Hannah wrote: > On Oct 22, 2014, at 3:28 PM, Sterling Hanenkamp > wrote: > > On Tue, Oct 21, 2014 at 5:41 PM, Jay Hannah wrote: > >> Apparently Catalyst6 is threatening to move to that pattern. > > Why? What's the proposed reason for the change? > > One less dependency, simpler to not use Try::Tiny when apparently > > eval { ... ; 1 } || do { ... }; > > covers all the cases that prompted the adoption of Try::Tiny into Catalyst. > > j > > > > > > _______________________________________________ > Omaha-pm mailing list > Omaha-pm at pm.org > http://mail.pm.org/mailman/listinfo/omaha-pm > -- Andrew Sterling Hanenkamp sterling at hanenkamp.com 785.370.4454 -------------- next part -------------- An HTML attachment was scrubbed... URL: