News for hackers. Stuff that matters.
Re:A Conversation About OOP vs. FP Turns Constructive by dgallion1 on Saturday September 17, 2016 @02:28PM (#12521716)
I've lived the ObjectTime/Rose path. Made good money converting projects out of those tools. So yes, everyone should use them.

C++14 and coroutines have replaced state machines in my world. They read like normal code, are easy to customize to your needs.

Had to convert a large PLC system from Beckoff structured text to C++. Coroutines allowed me to model it close enough that a little python translator made it work.

Setup actors with queues that timeout on interval and pump the (taskLets) Coroutines.

Create functions that provide blocking on what ever you like. Events, msgs or time.

Better IMO, compared to code shattered into bubbles in a tool or callbacks everywhere.

There are no comments on this comment yet.