Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Overcoming addiction to Lisp

by Tanktalus (Canon)
on Jun 14, 2005 at 19:23 UTC ( [id://466676]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Overcoming addiction to Lisp
in thread Overcoming addiction to Lisp

Oh, but I disagree. Kind of. I see no problem in judging a piece of art by its appearance. And that's pretty much what this aspect of the language wars is focusing on: aesthetics. What looks good, feels right. Even in perl, some people have balked at $', $$, and other such "non-sensical" variable names. Which is why we have the English module. To give these variables actual names.

"I may be fat, but you're ugly - and I can lose weight!" At least Perl's "ugliness" can be overcome. ;-)

And some of it is - in perl 6, $_ becomes even more optional than in perl 5. The English module will likely live on. Parens become more optional - but nothing says they can't still be used.

There are different ways of thinking, and different ways of expressing oneself. And different languages are different ways of expressing oneself - you need to find the language(s) that allow you to express yourself in the most reliable, maintainable, and flexible (to changing requirements) fashion. Sometimes that will be perl. Sometimes that may be lisp. Other times C, C++, C#, .Net, Java, shell scripting, or whatever. Probably not ForTran or COBOL, though.

Bottom line is that you need to be productive. That is, you need to produce something. To me, it's just like the editor wars. Most of my team has switched to FTE, partly because I'm a member of that project. But I stressed to each person that, at the end of the day, your choice of editor is immaterial, as long as you are productive in it. If you find vi is the most productive editor for you, use it! If it's emacs, fte, nedit, or "cat > foo.C", it doesn't bother me. However, we don't write editors in our group, so don't write your own. Just find one and use it. However, if it's not the same as me, there is some razzing to be taken. :-)

Replies are listed 'Best First'.
Re^4: Overcoming addiction to Lisp
by fergal (Chaplain) on Jun 14, 2005 at 21:20 UTC

    The difference between lisp and perl is much more than just syntax or aesthetics. Is a bicycle more beautiful than a motorbike? That's depends on your taste. That's aesthetics. Is a bicycle faster than a motorbike, no, except maybe on a very short course or if the motorbike driver is very very bad and the cyclist if very very good.

    Lisp's macros put it in a different league to Perl (5), Python, C, Java, C# and shell. Real macros mean that if you don't like something in the language or you think something's missing you can fix/add it yourself.

    Macros are the ultimate in productivity, they are code that writes code and in fact you can even write macros that write other macros. For a lisp programmer, giving up macros would be a bit like any other programmer giving up subroutines (funnily enough if you only had macros and gotos you could add build your own subroutines through macros).

      Is a bicycle faster than a motorbike, no, except maybe on a very short course or if the motorbike driver is very very bad and the cyclist if very very good.

      Or in a densely populated urban enviornment. Bicycles can often beat motorbikes in innercity enviornments. Chucking your motorbike over a fence, or lugging it up a flight of stairs is a little more difficult than with a bicycle. :-) Hence the prevalence of bicycle couriers in business intensive cities.

      ---
      $world=~s/war/peace/g

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found