Also, what do you guys think of software that generates code for the programmer?

what?

aren't programming languages (some of them at least) already pretty high-level. its not like we're working in machine code or assembly. most Perl programs (and Java and even C++ to some extent and probably python) are reasonably easy to understand if they were written well. what exactly would the user tell the program anyway? "write a program that will validate form data, enter it into a database and send the user an email." i guarantee that it wouldn't work out. for a simple language like HTML (which has no control structures, no variables, just text processing) you could do it (and it has been done), but not for higher-level languages. some routines could be automated, but isn't that the idea of OOP, modules and CPAN?

another point. larry wall's a linguist (or was or knows the stuff or whatever). and he designed Perl to be similar to most natural languages. in order to write a program that automatically generates code, we're delving into some heavy-duty AI.

jeff

In reply to RE: Something I wanted to share with the group. by jlistf
in thread Something I wanted to share with the group. by BigJoe

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.