Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Swift 5.9 Released (swift.org)
5 points by riscy on Sept 19, 2023 | hide | past | favorite | 2 comments


Finally, the switch and if expressions landed! I appreciate the effort to making things really cross-platform as well, it seems needed to really let the language grow more. It's been really pleasant using it on Linux with VS Code, but if a language is confined to only Linux and Apple devices, it will definitely hinder its adoption.

Swift's excellent syntax, along with proper enums, syntactic sugar and sane enough defaults has definitely taken away some fun I have when programming in C# and Kotlin, though I still enjoy both of them greatly.

I'm hoping that someday Swift will stop being an "Apple language" and it will lose its exclusive tie to Xcode so that users can find it a lovely general-purpose language which it is. Dotnet made it happen in a proper enough way, cutting its exclusive tie to Windows and Visual Studio and moving to proper config files with and editor support. Polishing the SPM and universally maybe moving away from .xcworkspaces might be crucial for this


Wow. This is surprising and exciting.




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

Search: