Re: Which computer language program is best for undergrads?



On Jun 17, 11:14 am, Angus Rodgers <twir...@xxxxxxxxxxx> wrote:
On Tue, 17 Jun 2008 07:17:04 -0700 (PDT), scattered

<former_schiz...@xxxxxxxxxxx> wrote:
The book "The Haskell Road to Logic, Maths and
Programming" by Kees Doets and Jan van Eijck is a good exploration of
the link between Haskell and mathematics. This language is a good
choice if you are more interested in pure as opposed to applied
mathematics.

In the dim and distant past, I learned Miranda from Bird & Wadler;
and in the even dimmer and more distant past, I did a degree in
mathematics; on the other hand, in spite of some dabbling, I don't
have a sound knowledge of either theoretical computer science or
"real-world" programming techniques.  Would this book be at too
elementary a level for me, or might I still learn something from
it if I want to try my hand at programming again?

--
Angus Rodgers
(twirlip@ eats spam; reply to angusrod@)
Contains mild peril

The book by Hutton is better for learning the language. It has some
mathematically interesting examples such as an version of Conway's
Game of Life (albeit with no graphics - just ASCII representations of
successive generations). I don't have a copy of the other readily
accessible (I had obtained it via inter-library loan) but I seem to
recall that it was primarily a discrete math text which used Haskell
as a tool and didn't go very deep into the language per se. A good
book for delving deeper into the language and seeing more real-world
example is "The Haskell School of Expression: Learning Functional
Programming through Multimedia" by Paul Hudak. This book has
interesting examples which include simple fractal-drawing programs.

-scattered

.



Relevant Pages

  • Re: How come Ada isnt more popular?
    ... if you write some of the I/O parts in a systems programming ... I think that Ada *and* Haskell will make an interesting ... I wonder why one wouldn't just use Monads in most cases? ... functional language as number of people seem to think. ...
    (comp.lang.ada)
  • Re: Ideal computer language from scratch?
    ... Confusing Methods and Language will never help ... i remember Randall writing how to pass data by lazy ... Haskell can do, ... "functional programming" ...
    (alt.lang.asm)
  • Re: Searching OO Associations with RDBMS Persistence Models
    ... one-size-fits-all language or paradigm is perhaps an unrealistic dream. ... Saying that A has more practical utility than B ... Goto's perhaps may be more generic than nested blocks in a programming ... What do you have instead of mathematics? ...
    (comp.object)
  • Re: Ideal computer language from scratch?
    ... to using or creating an external scripting language of some sort, ... A list of thunks would be one ways. ... Haskell can do, ... "functional programming" ...
    (alt.lang.asm)
  • Re: Newbie Question: Is it allowed for the function to change the value of parameters?
    ... functional programming with side ... Typical Lisp code doesn't use Lambda to wrap all the imperative stuff into a referentially transparent framework. ... Haskell is different in that respect. ... now that's something that isn't directly representable in a compiled language. ...
    (comp.lang.functional)