News for hackers. Stuff that matters.
Re:Swift 6 by consteval on Wednesday September 18, 2024 @01:59PM (#41583298)
> There's a lot of redundancy and things you probably should never use in C++, though

This is just a symptom of its age. C# has this same problem, too, and it's only getting worse.

Re:Swift 6 by neonsunset on Wednesday September 18, 2024 @02:25PM (#41583635)
C# does have C++-esque issues but the scale at which they affect the language is not comparable. There are really no popular patterns that have become "no, never do that", poorly written code is sort of version agnostic, and even old code, particularly one like in Mono applications from back in the day, plays really nicely with modern runtimes. And the difference in ways to achieve something is almost always of type "remember this required to take 4 steps? now it's one shorthand thing that makes sense in retrospect".