Skip to content

Instantly share code, notes, and snippets.

@bitemyapp
Forked from smurphy8/threeGoodGuidelines.md
Last active September 16, 2015 15:48
Show Gist options
  • Save bitemyapp/616d9e6c2a67294993fe to your computer and use it in GitHub Desktop.
Save bitemyapp/616d9e6c2a67294993fe 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