Skip to Content.
Sympa Menu

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

Subject: Developers of Sympa

List archive

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

Hi Soji,


On 22/02/2018 01:05, Soji Ikeda wrote:
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).
I think Marc/eiro summed it up with the sentence: "die early". It allows failures to be found early, even in places developers did not expect.
As using it enforces usage of try/catch patterns at high level in the code, failures will always be caught.

——
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.
Yes, I noticed in your earlier contributions.
Well, that's something you can bond with with Marc.
I'm not fan of it and I'm afraid a lot of people will have difficulties reading it.
But if a lot of contributors want to use it, I will adapt.

Cheers,

David


Regards,
— Soji

David
Regards
Racke


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

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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page