[Omaha.pm] Try::Tiny declared Uncool

Jay Hannah jay at jays.net
Wed Oct 22 09:22:32 PDT 2014


On Oct 22, 2014, at 8:42 AM, Theodore Katseres <tedkat at gmail.com> wrote:
> On Tue, Oct 21, 2014 at 5:41 PM, Jay Hannah <jay at jays.net> 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








More information about the Omaha-pm mailing list