Aria Stewart (aredridel) wrote,
Aria Stewart

From Why Does Haskell Matter?:

Removing side-effects from the equation allows expressions to be evaluated in any order (although not all functional languages use this). A function will always return the same result if passed the same input. This determinism removes a whole class of bugs found in imperative programs. In fact, I would even go as far as to say that most bugs in large systems can be traced back to side-effects - if not directly caused by it, then caused by a flawed design made possible only by using side-effects. Functional programs will most often have less bugs!

This is dead on.


  • Tumble

    Antigrain research on font rasterization. Seeing Yellow. Your color laser printer might be printing tracking information on each page.

  • Tumble

    The Beauty of LaTeX. LaTeX vs Word. This is why I feel like stabbing myself in the eyeballs after helping people use Word. ( Word processors are…

  • Mini Tumble

    Treetop, a packrat parsing library for Ruby. Rather impressive amount of code for a project with no releases and no webpage. OpenMoko runs on…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded