-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor towards ROP #464
Comments
I'm using that approach on another project with a lot of success. It works well when there's a clear, linear pipeline of operations. |
I have no objections ;-) |
are you going to refactor other commands as well? |
I plan to, but surely it can take more time. |
+1 |
Raise exception when a train arrives on Failure rails - references #464
I wonder what Scott Wlashin is thinking about this!? It's becoming probably the biggest OSS project on ROP. |
yeah, it'd be great if he could review the stuff one day when more commands use ROP, and tell whether that's what he meant 👍 |
What do you guys think about employing the Railway Oriented Programming in Paket codebase?
One obvious benefit would be that in case of any failure, no file would get modified. (yeah I know one could simply
git reset
, but that is probably not the best UX)A command-line tool seems like a good candidate for the ROP technique.
As a volunteer I could do an experiment with the commands I'm most familiar with, i.e.
convert-from-nuget
andsimplify
to see where we can get to.Edit:
List of paket commands that use ROP:
The text was updated successfully, but these errors were encountered: