Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] Why autodie?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: "Stefan Hornburg (Racke)" <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] Why autodie?
  • Date: Wed, 21 Feb 2018 16:47:39 +0100

On 02/21/2018 04:41 PM, David Verdin wrote:
>
> On 21/02/2018 16:35, Stefan Hornburg (Racke) wrote:
>> On 02/21/2018 04:29 PM, David Verdin wrote:
>>> Hi Racke,
>>>
>>> On 21/02/2018 16:21, Stefan Hornburg (Racke) wrote:
>>>> Sorry, but I don't see how exception handling would go away in Sympa
>>>> code ...
>>> That sentence is a bit obscure to me.
>>> I can't see if you mean that exception handling could not be externalized
>>> to another module or if there is no exception
>>> handling or something else.
>>> Would you be so kind as to elaborate a little?
>>>
>>> Thanks in advance,
>>>
>>> David
>>>
>> Hello David,
>>
>> I can see that it makes sense to switch to Try::Tiny or something similar
>> to handle errors - but I don't understand how
>> autodie helps us here.
> Oh. Yes. That's what I said: We need Exception handling; autodie is a way
> to /rise/ exception, not to /handle/ it.
> Actually, we had a chat with eiro today (I'm not sure he will be able to
> write right now, as he seems to have caught a
> kind of nasty flu) and we agreed on giving up on autodie.
> As none of the people who answered to the list were really fond of autodie,
> it looked like the logical step to take.
> Regards,
>
> David

Hello David,

sounds good to me. Peer review of changes (PR !) will help to prevent missing
exception rising :-).

Regards
Racke

>>
>> Regards
>> Racke
>>
>
> --
> "Mieux vaut viser la perfection et la rater que viser la médiocrité et
> l'atteindre."
> - Francis Blanche
>


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.



Archive powered by MHonArc 2.6.19+.

Top of Page