Re: Re: Language syntax

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Friday 08 September 2006 03:15, Jonathan David wrote:
> >There is a big difference in the style of these languages. 
> > I find the idea of perl being a "super awk" a bit strange. 
> > awk is a "logic" language.  perl is an "imperitive"
> > language.  The programming style is completely different. 
> > I think many of those who automatically recommend against
> > awk are not comfortable with the logic style programming.
> >
> >The classic logic language is prolog.  awk and make are also
> >logic languages.

On Friday 08 September 2006 03:15, Jonathan David wrote:
> Hm.. might be accurate. The style seemed SO different that I
> didn't want to bother with attempting to learn it. 

That's a mistake.  It is worthwhile to study the different 
languages because they are so different.  It opens you up to 
new ways of doing things.

Disclaimer ...  I have taught a college level course 
called "programming languages", which covered things like this, 
with assignments in several languages.  Fortran-IV, prolog, 
Lisp, FORTH, and a few others.  To get full credit, the 
assignment had to be written in the true style of the language.  
For example, assignment statements were not allowed in Lisp.

For a real challenge, try something like "Malbolge".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.