I think there's a fundamental problem with the idea of PDL. Only the human brain can completely parse English, or any other language. Any attempt to convert this into a form understandable by a computer will be bound by the same strict syntax requirements as any other programming language, only with more typing. Sure you could make it accept multiple ways to do each thing, but that wouldn't necessarily make anything easier. Now, there's only one if statement (broadly speaking). What if there were 17 different right ways to create an if, but also 9 wrong ways? It would be impossible to keep track of, and guess what? you would end up always doing it the same way to avoid confusion. So you end up having a cumbersome language with the same capabilities as a normal language, but far less efficient. In short, I'd like to see an idea like this implemented. I'd also like to use my mental powers to think a nice cup of coffee into existence right about now.
When's the last time you used duct tape on a duct? --Larry Wall
-
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.
|