Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Concurrency has dropped a complexity nuke on this language that it will never recover from.




That’s quite an assertion. What specifically do you take issue with?

- `async` being all-or-nothing

- Strict `Serializable`

- ???


Not OP, but I’ll bite.

The weird open stache {} brackets that are permitted when the last argument of a function is a closure. This is a ridiculous feature, combined with ResultBuilder, made the language worse. And I will assert that both of these awful features increased complexity for the sole purpose of making SwiftUI syntax approachable to JavaScript devs.

On the other hand, I hate react-native and prefer to not live in a world where all my software is glitchy and slow, so I understand Apple’s motivations. React-native is a threat with hip modern syntax. Apple still used the icky MVC with the crusty old CALayers.

I just hope it was worth it!


Swift 6:

- async coloring every function - actors coloring every function and type - everything is now in tasks - sendable/non-sendable closure especially when integrating with legacy code

You write any piece of code that touches async and you have to add 4 additional keywords




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: