Skip to content

Instantly share code, notes, and snippets.

@kblake
Created November 23, 2015 03:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kblake/9fdc09da5e1a24c87cab to your computer and use it in GitHub Desktop.
Save kblake/9fdc09da5e1a24c87cab to your computer and use it in GitHub Desktop.
Struct Pitfalls
Read more here:
http://www.benjaminoakes.com/2013/10/15/superclass-mismatch-when-inheriting-from-struct-new/
http://thepugautomatic.com/2013/08/struct-inheritance-is-overused/
http://idiosyncratic-ruby.com/18-con-struct-attributes.html#why-not-structs-everywhere
https://twitter.com/joshsusser/status/365286610578849794
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment