Hacker Newsnew | past | comments | ask | show | jobs | submit | SneakerXZ's commentslogin

> Swift use value-types by default with copy-on-write semantics.

This isn't true. Copy-on-write semantics are implemented only for arrays, dictionaries, and strings. Swift value-types are copied immediately.

https://docs.swift.org/swift-book/documentation/the-swift-pr...


The documentation uses “copied” for value types that are copy-on-write.

The documentation has oversimplified a bunch of the mental model and it causes incorrect understanding.

Swift’s documentation is quite bad TBH. The biggest thing that still needs to be improved a lot.


If you ever used Win32, you wouldn't mind abandoning it. It is not good API. If you know WPF, you feel like at home with UWP.


I quite like Win32, my main app used WinForms so I still end up reaching into it quite regularly.


Sadly, this video is on the point https://www.youtube.com/watch?v=pW-SOdj4Kkk


What I meant was you can use WinUI 3 in your Win32 app, so it is a UI toolkit that can be used in any other existing UI toolkit.


He is right. You should check more about C# before you correct others.


You should check all platforms where you can run C#. It runs everywhere.


I didn't think that through, you are actually right. With project Blazor I guess also in the browser.


I use C# almost on a daily base in Unity3D and have a little experience in Xamarine but I have no idea how a android/iOS/desktop/web project would be build up. Would be interesting to compare it with kotlin mpp.


Blizzard was not bought. It was owned for more than decade by Vivendi, and it merged with Activision.


I wish there was a book that teaches how to create a programming language based on the Roslyn idea.


Outside of US the Uber brand is not so strong. In EU they are very regulated and they compete with local players that understand the market. Asia is also dominated by local players. So Uber exists in these markets, but almost nobody uses it there.


Almost nobody is a wild exaggeration. Most EU business travellers I know use it very often.


This is more popular in EU. In many countries Amazon even does not operate, and even in Germany people try to prefer different place if they can.


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

Search: