Re: Choosing a PL - What you can do or how you do it?




I understand the desire to have these things in a programming
language. They make the programmer's life easier. However, these are
examples of programming techniques, not programs, in themselves.
Whatever program can be written using HOF, may look cleaner or
prettier in Haskell/Lisp/ML, but that doesn't mean C/C++ couldn't
achieve the same results (i.e. output. OTOH, I can point to a C
program like FFTW, and ask, could that be done in pure Haskell? (If
the answer is "yes", please let me know.)


I realized this is not a great example, since the C code for FFTW is
actually generated by OCaml. Anyway, my point is still taken.

.