The mostly used feature of OOP is probably encapsulating code and data. Have a look at gen_server: http://www.erlang.org/doc/man/gen_server.html