For Programmers: Free Programming Magazines  


Home > Archive > Functional > July 2007 > Re: shootout: implementing an interpreter for a simple procedural









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: shootout: implementing an interpreter for a simple procedural
Markus

2007-07-31, 10:07 pm


> Markus E.L. escreveu:
> I undertand the sentence but don't see any intelligence conveyed in
> it, so let me test my understanding: you agree that pattern matching
> is not a single feature that can make a "core feature" of any language
> of all?

^^^^^ Sorry, around here I have a parse error, so I cannot answer to
your question directly. But I can try to clarify my question. What I
said (or intentended to say) was:

- You tried (as I understand) to deemphasize the pattern matching by
pointing out that real programs don't do pattern matching all of
their time (a statement which in istelf should examined carefully
since pattern matching replaces most conditional statements in
languages which have pattern matching in the core language), so not
having pattern matching in the core language won't slow real
programs down much.

- You seemed to imply that the reason to have pattern matching in the
core language is baiscally speed / efficiency (and if that aspect is
deemphasized, the argument for pattern matching in the core language
would break down).

- To that I replied that (in form of question) that there are other
reason beyond speed / efficiency why one would want to have pattern
matching in the core language (Jons fixation on speed benchmarks
notwithstanding).

Does that make it clearer?

Regards -- Markus
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com