rvirding/lfe — pull request #33 by oubiwann (2013-06-10 03:36:36+00:00)
Title: Add object example

I know, I know... OOP is generally considered evil ;-) However! Three excellent points for the simple object system outlined in this example:

1. LFE/Erlang is not abused evilly: no state is modified in-place (if you want the new state, you have to re-set your variables).
1. Inheritance is not demonstrated (though, to be honest, if I could figure out an elegant way to do that, I probably *would* demonstrate it... just for the fun of solving the problem!).
1. Absolutely no fish were harmed in the making of this example (and none will be harmed when running it).