News for hackers. Stuff that matters.
Re:Railway oriented programming by techdragon on Thursday June 23, 2016 @01:50AM (#11959104)
Erlang style "fail noisily and let the supervisor handle it" is quite a solid way to deal with "exception handling bloat" in any paradigm, functional or otherwise... The hard part is finding a way to create effective layers of supervision.
Re:Railway oriented programming by hvidgaard on Thursday June 23, 2016 @02:45AM (#11959271)
An exception is a noisy failure, and the supervisor is whatever try/catch that it bubles up to. Still, Erlang style has it's own complexities. It is in essence a network of micro services, and creating that overlay network and manuvering in it isn't simple.
Re:Railway oriented programming by aangjie on Thursday June 23, 2016 @04:53AM (#11959658)
Yep.. with python assert statements + supervisorctl has been a very good setup for scaling a low latency, clean chat filtering app.