And it's okay because you know Perl. You understand when and why strict, etc. might "get in the way" and how to keep working without them without having the world fall on your head. But the people who already 'know perl' and don't want to change aren't the audience for the future of perl7+. From the announcement, it's clear that the future of perl is targeted towards allowing people who do not currently know Perl to come into it with a standard foundation that even you admit helps you write better code. How many times has a person come here asking why code they found online or pieced together themselves doesn't work when it's something that would have been resolved if they knew to use strict and warnings (and if the message generated made any sense but that's an entire conversation itself)? The first few months of learning Perl is mostly "oh, I forgot to use strict before and now I see what's wrong." After all these years, I don't see how you don't agree that such basic 'best practices' should just be standard practice for people new to Perl who'll be writing "better code" from the start.
As someone who 'knows perl', adding a one line pragma to keep your wild and crazy weekend coding lifestyle intact is hardly an onerous task. Because you'll be aware it exists and understand the impact, it's not nearly as much of a hindrance as flat out not knowing to use strict. ¯\_(ツ)_/¯
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|