I’m trying out an idea that I would love to get your feedback on: it is a somewhat sloppy version of Railway Oriented Programming, in Python. I’m planning to write a blog post about this also. Here’s the repo, with docs: https://github.com/DavidVujic/pythonic-railway#a-pythonic-railway
toolz looks like 🤩 for a clojure developer coding python. Very cool 😄
have you seen: https://github.com/pytoolz/toolz ?
Very cool, thank you! I’ll add toolz to the resources section.
Aren't exceptions already "railway oriented programming" in the way you describe it?
Specifically, there isn't any handling of this except at the top level
so the complaint about try except clutter seems misplaced
You’re right @emccue - try-catch is a two rail system already 😄 I’ll try to rephrase and rethink this.
I have rewritten the “why”-part a bit: https://github.com/DavidVujic/pythonic-railway#why-railways