Open capnslipp opened 4 years ago
Hi, thanks for raising an issue. I exactly know how it feels like when the library you're using seems to be abandoned. In short, this project is not abandoned. I literally don't have enough time to catch up all the issues. I have a full-time job as a lead engineer and manage many other open source projects as well. But it doesn't mean the project is abandoned.
Basically I think this project is quite complete. I try to keep this small library as simple as I can. A simple library can be very easily messed up as it adds more and more functionalities. I want this library to focus on the very specific needs.
Here are some thoughts on the issues you mentioned:
@_exported import
to make it simple but there wasn't such a grammar when I first created Then.UIView().then { ... }
is definitely more easy to type and easy to read than then(UIView()) { ... }
.@discardableResult
: You may use do()
instead if you want to not use the result.map()
in functional programming.@inlinable
would be really great. I will add that. Thanks for the suggestion.I know these opinions looked like very resistant to changes. If you're tired of it, it's very welcomed to create a new library. It will be my honor when I see a new library that is inspired by Then. But at this time, I believe the simple library can do more.
Thanks again for the issue 👏
https://github.com/Geri-Borbas/iOS.Package.Withable
This library, also looks good.
Has Then been abandoned? It doesn't appear @devxoul has responded to any issues or PRs, or made any code changes since Sept 2019. And basically every comment he made before than was highly resistant to making any changes or accommodations for the devs who rely on Then.
Is it time for someone else to take over the project? Is there someone else who is already maintaining an updated fork who's willing to take up the mantle of maintaining the community, and who welcomes us all switching over to his/her fork?
Side-note: I grew tired of some of the issues with Then a while back and wrote my own stab from scratch at solving this problem— I chose to go with a free function approach that's closer to the
with
keyword in Python, JavaScript, Visual Basic, Object Pascal, Delphi andusing
in C#, and which seems to be more idiomatic Swift. I also care about making sure my libraries work in every build toolchain and environment (SPM, CocoaPods, Carthage, Xcode project embedding, etc.); can solve any reasonable user-requested problem (@discardableResult, arbitrary return value, @inlinable, etc.); and can be used freely by everyone (completely copyright-free public domain, no restrictions or attribution needed). My recently-uploaded library is called With.