Re:Swift Proposal: Move Function
by kaba0 on Thursday July 28, 2022 @11:55AM
(#32266062)
I honestly don’t understand what were they thinking. Choose a random language’s random feature and swift has it. That’s hardly a good thing for a programming language, and it shows — there are some very nasty interactions between different features.
[ Parent
| on HN ]
I still think there's a lot to like about Swift, and actually programming in some subset of Swift is some of the most fun and expressive programming I can think of, but it has undoubtedly become kind of a mess. A lot of magic happening, and not in a good way.
I agree, I was very enthusiastic at the beginning of learning it. And if nothing else, it is a great refresher of Pl features.
I’m just afraid that the language can’t be properly maintained from the insane matrix of all these features (I once got a type inference timed out error..)
> I once got a type inference timed out error..
I used to work on a large Swift program. "Type inference timed out" was an incredibly common error that we would encounter (we used a lot of operator overloading and generics and that had something to do with it). I have never encountered any other language where this was such a regular problem.