Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Professional imperative, objective, functional and logical perl

by Ovid (Cardinal)
on Oct 18, 2005 at 23:09 UTC ( [id://501130]=note: print w/replies, xml ) Need Help??


in reply to Re: Professional perl
in thread Professional perl

I don't know Java, nor have I cared to learn. My C is rusty and my C++ makes a monkey cringe. I have worked almost exclusively in Perl, Apache, Javascript, and databases for almost 5 years and it doesn't look like it's changing anytime soon.

You claim that you're only a Perl programmer but Javascript is actually an excellent language. The fact that it's domain specific and the DOM is so messed up has given it a bad rap (well, lack of namespaces hasn't helped, either). The next time you fail to give yourself credit for Javascript, read Sean Burke's Higher Order Javascript. It's a powerful language. Heck, pour through those examples and you have a basic grasp of functional programming.

And what about SQL? If SQL better handled recursion and multi-values, it could be a good substitute for Prolog. You may not realize it, but if you're good at SQL, you're already well on your way to learning logic programming.

Since you already know imperative programming and you are comfortable with Perl's OO capabilities, you're well on your way to understanding imperative, objective, logical and functional programming. The fact that many of us tend not to recognize those features of these tools means we're only selling ourselves short.

Perl only? I don't buy it.

Cheers,
Ovid

New address of my CGI Course.

  • Comment on Re^2: Professional imperative, objective, functional and logical perl

Replies are listed 'Best First'.
Re^3: Professional imperative, objective, functional and logical perl
by dragonchild (Archbishop) on Oct 18, 2005 at 23:42 UTC
    LOL. I'm actually one of the original JSAN authors, so yes, I do count Javascript as a language. I actually prefer Java's OO to Perl's OO, for a number of reasons. (The main one is that classes are so 1990. Prototypes rawk my world.) And, it's not just the lack of namespaces, but the fact that you cannot safely mess with Object.prototype due to the lack of built-in associative arrays. Oh, and the fact that I have to know if a slot contains a function or not before I can safely access it. Ick!

    As for SQL - it's not a programming language, it's a minilanguage designed to describe a resultset. In fact, I would argue it's not Turing-complete because you cannot step from one statement to the other like you can in Prolog. PL/SQL is even worse and it's palatable only because it's sometimes the only acceptable way to get Oracle to do what you need it to do.

    I don't actually know many languages, but I know how to learn languages. I prefer knowing how to learn vs. actually knowing any day of the week. It's all about potential, baby! :-)


    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found