|
|
|
|
|
by h0l0cube
1204 days ago
|
|
> the OTP library is often treated as a core part of the language and that did take a fair amount of learning before it clicked. For me, probably the 2 most foreign concepts coming in with a non-functional mindset were GenServers and tail-recursion. They require a shift in mindset about how to handle state and do flow control. These two things would be stumbling blocks to beginners, especially someone who claims to prefer "sloppy" code |
|
They are more closely related to the Actor Model.
https://courses.cs.ut.ee/MTAT.08.024/2020_spring/uploads/Mai...