Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

While I dislike OOP, I think that CLU-style ADT has some merits, especially when ADT implemented in pure functional way.

Just because you don't have explicit schema, doesn't mean that you have no implicit schema.

Likewise just because you don't have explicit objects and classes, doesn't mean that you have no implicit objects and classes.

I code in Erlang, and I treat every gen_server either as a singleton object or as a class (in case I spawn many instances of it)



Wow, CLU! Those were the days!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: