Skip to Content.
Sympa Menu

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

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Soji Ikeda <address@concealed>
  • To: David Verdin <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-developpers] Why autodie?
  • Date: Thu, 22 Feb 2018 09:05:51 +0900

David,

2018/02/22 0:41、David Verdin <address@concealed>のメール:


On 21/02/2018 16:35, Stefan Hornburg (Racke) wrote:
address@concealed">
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,

I’m okey giving up autodie.

However, I wanted to know why some people are fond of it.  I wanted to know what improvement they expect even by changing behavior of builtin functions (I really don’t understand).

——
Btw I’m a fun of map/grep style. Some people are fond of it.  I think this is one of possible options without changing Perl.


Regards,
— Soji

David
address@concealed">
Regards
          Racke


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



Archive powered by MHonArc 2.6.19+.

Top of Page