Simplify the naming by removing "Any" from names #84
tonyarnold
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thats true. And it bothers me too. Even if I caused it a little bit. I'm aware of the changes coming with Swift 5.7 and hope it could help to make the code more readable. I want to change a lot with HTMLKit 3.0, but I don't want to promise too much at this point. I just have vision, but it takes time. And at the same time I don't want to throw everything away Mats has written. Hope for the better xD. Anyway I appreciate your thoughts. I am sure I can learn a lot from it and also it nice to see someone uses the package. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this was probably a well intentioned change, but I feel like the entire API could be made far simpler by eliding
Any
from the names of the various root protocols.Given the changes in Swift 5.7, eventually the API is going to end up with
any AnyElement
andsome AnyElement
, when really it should probably just beany Element
.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions