develooper Front page | perl.perl5.porters | Postings from July 2020

Re: Announcing Perl 7

Thread Previous | Thread Next
Paul "LeoNerd" Evans
July 3, 2020 18:33
Re: Announcing Perl 7
Message ID:
On Fri, 3 Jul 2020 11:29:46 -0700
Scott Baker <> wrote:

> As far as I know no other language requires you to *opt in *to latest 
> version like this. Certainly not the languages I play in: C, C++, 
> Python, PHP, Javascript.

I respectfully beg to differ, at least on the C front.

C compilers are well known to be notoriously conservative; you are
often stuck with C89 features unless you ask on the commandline to get
C99 or maybe if you are extremely lucky, you might be allowed C11.

And compilers differ on what the commandline flags might be - maybe
it's -std=c99 for gcc; but that might not be the case for all the weird
UNIX ones. It's a total mess.

As an often-C programmer I would dearly love to have the "use VERSION"
mechanism in C as well. How wonderful I would find it to be able to

  use C11;

at the top of my .c files, and know that any C compiler will understand
what I mean.

Perl has a great mechanism in "use VERSION" - I don't want to see it go
to waste.

Paul "LeoNerd" Evans      |  |

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About