3 ms·
I think the slack flowchart is a great example of where declarative programming really shines. You might enjoy this talk about rules engines where I simplify p
by luke_galea 2y ago
I think the slack flowchart is a great example of where declarative programming really shines.
You might enjoy this talk about rules engines where I simplify part of Slack's notification logic: https://youtu.be/mDnntrhk-8g?si=K1_8pU-Ck1fsCUM5 https://youtu.be/mDnntrhk-8g?si=K1_8pU-Ck1fsCUM5
Fun stuff!
- psd1 2y agoI will invest that time later. In anticipation, thanks. I came here to see if anyone was talking about state machines that generate their own flowcharts, or codegen from flowcharts. I'd like to know if there's prior art. It would be great for user acceptance. I'm minded to have a go myself, possibly with mermaid as an intermediate description. Stupid? Non-stupid?
- tibor_a 2y agoI have similar thoughts but I also didn't have chance to do proper investigation of the prior art :).
- psd1 2y agoIcymi, luke_galea mentioned graphviz in ruby Next challenge: generate fsm from mermaid flow chart!
- luke_galea 2y agoThere is a library in Ruby to generate graphviz from state machines: https://github.com/state-machines/state_machines-graphviz https://github.com/state-machines/state_machines-graphviz