logoalt Hacker News

jimbokunyesterday at 8:00 PM2 repliesview on HN

Comments like this always confuse me as object oriented programs riddled with state are much harder to reason about to me.


Replies

sphyesterday at 8:04 PM

I'm working on a game engine right now (written in object oriented language, of course) and I keep itching to design a compiled functional language for games, because state spread in thousand of objects, eldritch class hierarchies, are complete hell.

Once you taste Elixir/Erlang, there is no going back to the madness.

sevenzeroyesterday at 8:05 PM

The confusing state riddling here happens in the background as your whole app basically is a state. The thing that really throws me off with Elixir is having to handle (possibly) hundreds of thousands of processes. Doing this correctly seemed impossible to learn for me.

show 3 replies