I’m sure I will get some dissenting views posted in comments regarding this, but I just came to this conclusion while trying to track down a memory bug in the past few days. First of all, what’s the difference? Take the follow code to set up our scenario:
Short answer: don’t do it! Long answer: As the C++ example from the article on Real World Haskell Chapter 1-2 showed:
By request I have made available the latest snapshots of the SwigSword project (SWORD library with enhanced SWIG bindings) and the projects that made use of it: SwordSharp and SharpCSword. All 3 of these files are now hosted on googlecode. They were initially hosted on source.emptycrate.com before I had to take that site down.
I was recently faced with the following code which is simple but provided the perfect example to practice some Haskell.
Chapter 3 of Real World Haskell is “Defining Types, Streamlining Functions.”
Release 5 of the EmptyCrate Game Engine was just posted. This release addresses a single bug: the drupal Creative Commons Lite 6.x-1.2 module has a function name change that breaks the EmptyCrate Game Engine. As always, check out game.emptycrate.com for examples.
I was inspired by my recent attempt at creating a parallel Mandelbrot generator for Minnow to learn some javascript and make a javascript version of it. Here is an actual example of this code in use. The javascript itself is pretty simple:
Chapter 1 of Real World Haskell covers the most basic aspects of the language, such as common operators and operator precedence and gives some overviews of aspects of the language.
The book Real World Haskell is receiving some amazing reviews on Amazon, with comments like