|
|
|
|
|
by kris-s
2689 days ago
|
|
I put Swift into the category of "almost memory managed" languages and it's never fully clicked in my brain. Thinking about strong/weak/unowned references is more difficult in my opinion than when to malloc/free something. Following the examples in the article just reinforced that maybe Swift's approach is a little too complex. |
|
And with all the help that the compiler now provides (even before swift 5), it's becoming really really hard to shoot yourself in the foot.