Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: The future of Perl?

by Anonymous Monk
on Nov 05, 2014 at 15:31 UTC ( #1106216=note: print w/replies, xml ) Need Help??


in reply to Re: The future of Perl?
in thread The future of Perl?

We have a language where no new big changes can happen, We are not going to get sub routine signatures, no try/catch, never a class key word, never get all the OO goodies default out of the bag, We are never going to move out of XS
We'll never even get strict and warnings by default, or UTF-8 ...

Replies are listed 'Best First'.
Re^3: The future of Perl?
by Jenda (Abbot) on Nov 06, 2014 at 09:19 UTC

    What does it matter what the default is? Besides the default, at least for strict and warnings, does make sense. In one-liners and in scripts that have five lines, they would be just a nuisance and in longer script a

    use strict; use warnings; no warnings 'uninitialized';
    are just an unimportant and ignorable part of the boilerplate.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      Sane default are important for beginners, and for people who don't exactly want to become experts in a language. This is a LOT of people (for example, various biologists that frequently post on this forum).
      Besides the default, at least for strict and warnings, does make sense. In one-liners and in scripts that have five lines
      Does such a big and complex language as Perl have a future in 'one-liners and scripts that have five lines'? Why does it have to be optimized for 'one-liners'? What makes it better than Bash in that role? Besides, one-liners work just fine even if you write them as if you had strictures and warnings enabled.
      are just an unimportant and ignorable part of the boilerplate
      'use strict; use warnings' is probably the most frequent advice ever in the history of Perl. These features are especially good for people who don't yet have good knowledge of Perl. And it is exactly these people that are the future. On the other hand, having to type 'my' in one-liners is no big deal at all.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1106216]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (1)
As of 2021-03-08 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (123 votes). Check out past polls.

    Notices?