Skip to content

Instantly share code, notes, and snippets.

@smurphy8
Last active September 16, 2015 15:54
Show Gist options
  • Save smurphy8/3a5cd93a4b2b384f916c to your computer and use it in GitHub Desktop.
Save smurphy8/3a5cd93a4b2b384f916c to your computer and use it in GitHub Desktop.
  1. Don't use partial functions (head, read, tail, fromJust, fail (in IO), error, undefined ... )
  2. Functions are your friend, use lots of them and keep them small.
  3. Serialization errors are the most common error in our codebase. When you are creating a JSON, Binary or Serialize instance try and avoid the standard "generator" functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment