develooper Front page | perl.perl5.porters | Postings from August 2023

Re: PPC Elevator Pitch for Perl::Types

From:
Martijn Lievaart via perl5-porters
Date:
August 21, 2023 06:37
Subject:
Re: PPC Elevator Pitch for Perl::Types
Message ID:
da81ffce-94d2-d755-42d8-ceaa77fc579c@rtij.nl
Op 16-08-2023 om 09:19 schreef Ovid:
> Yves (demerphq) got right to the point with pointing out that Will's 
> approach is extremely unlikely to work: 
> https://github.com/orgs/Perl-Oshun/discussions/27#discussioncomment-6680632


I would say this is the main thing that needs addressing first. Until 
this is cleared up, I think all other discussion is futile.


To rephrase shortly, Perl duck typing permeates every aspect of the 
language, making the proposal unwieldy at best, but probably impossible 
as it tries to use SVs in a very different way than they are used now. 
But I may miss something obvious, or something very deep. So can anyone 
explain why Perl::Types can work at all, and what changes to the 
implementation of the language are needed for that?


HTH,

M4




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About