Re: Why I never got into Lisp



Chris Barts <puonegf+hfrarg@xxxxxxxxx> writes:

I bet an ultra-competent macro head could have shrunk code considerably
over the course of the whole program. But in small blocks, Lisp tends to
look flabby compared to Huffman-coded languages like Perl.

I think this has a detrimental effect in how you think about solutions
in languages like Perl. Since certain solution styles have optimized
syntax baked right into the language, going outside those styles
suddenly feels like a lot of hassle and not worth the trouble. I think
that's why a lot of solutions converge tweaking strings with regular
expressions and sticking them into hash tables.

If you can accept Lisp's notion that most constructs (including method
calls, control structures, array references, etc) look somewhat like a
function call, it doesn't feel like you're really going outside the
preferred realm of solutions by simply adding more features that look
somewhat like function calls. Code that uses a specialized forms of
table storage or arrays doesn't look unnatural simply for not being
able to take advantage of a compressed syntax using {} or [].

Zach
.



Relevant Pages

  • Re: Why I never got into Lisp
    ... solutions in languages like Perl. ... method calls, control structures, array references, etc) look ... and what you tried in Lisp, and how Lisp mapped better, for you. ...
    (comp.lang.lisp)
  • Re: syntax extension, was Why context-free?
    ... >of a different character - Knuth himself gives several examples in The ... Perl has its sweet spot domains (as a child of sed, ... with every branch tested both for correctness of the ... That someone who is a skilled programmer in some languages ...
    (comp.compilers)
  • Re: syntax extension, was Why context-free?
    ... because TeX doesn't have a precise description (merely a guide on ... Perl has its sweet spot domains (as a child of sed, ... with every branch tested both for correctness of the ... But there are plenty of wonderful languages ...
    (comp.compilers)
  • Miscellanous Language Ranting (was Re: For performance, write it in C - Part 2, comparing C, Rub
    ... but object oriented programming isn't ... lot of things better than Perl, ... Given the available libraries for Perl, Ruby and R, I _could_ do the entire job with any one of the three languages, at least on Linux. ... Stereotyping both Java and ...
    (comp.lang.ruby)
  • Re: COBOL compiler
    ... On Tue, 26 Aug 2003, Bijan Soleymani wrote: ... >> Some time after I left the COBOL job, ... > I find that Perl is a very nice language that avoids such low-level ... There's a whole family of such scripting languages that begin ...
    (Debian-User)