by bentocorp · 1y ago · 0 comments
https://www.magiclasso.co/insights/apple-development/
Good to see VCs and Y Combinator now supporting and pushing for change.
Of course, Apple gets a 30% cut in any scams, so they have absolutely no incentive to do anything about it, and really their policies are what create it, in the first place.
You can make the expert mode dialog say "Clicking this button will erase your hard drive, drain your bank account, and give your dog cancer" and people will still click it.
It absolutely is, the only argument is about to what degree.
It feels like a social issue.
I'm a little surprised there isn't an open source non-profit set up to act as an umbrella for open source iOS app development.
The other day I transferred pictures from my android phone to my Windows desktop, and some of them required a codec to open. I followed prompts, which landed me on a page in Windows store asking for $0.99 in exchange for the said codec.
We had a good Internet in the 90s and 00s. Apple had to ruin that.
> Swift’s string implementation goes to heroic efforts to be as Unicode-correct as possible. […] This is great for correctness, but it comes at a price, mostly in terms of unfamiliarity; if you’re used to manipulating strings with integer indices in other languages, Swift’s design will seem unwieldy at first, leaving you wondering.
> It’s not that other languages don’t have Unicode-correct APIs at all — most do. For instance, NSString has the enumerateSubstrings method that can be used to walk through a string by grapheme clusters. But defaults matter; Swift’s priority is to do the correct thing by default.
> Strings in Swift are very different than their counterparts in almost all other mainstream programming languages. When you’re used to strings effectively being arrays of code units, it’ll take a while to switch your mindset to Swift’s approach of prioritizing Unicode correctness over simplicity.
> Ultimately, we think Swift makes the right choice. Unicode text is much more complicated than what those other languages pretend it is. In the long run, the time savings from avoided bugs you’d otherwise have written will probably outweigh the time it takes to unlearn integer indexing.
— https://oleb.net/blog/2017/11/swift-4-strings/
I’d encourage you to read that entire article before describing strings as simple.
I was on such a project where we cared a lot about these details, and the whole team agreed to throw Swift strings out the window and build our own array-based string replacement where each slot is a symbol. Which is probably what Apple would've done if it weren't for performance overhead.
Didn't help that their API was really unstable. Every major Swift version broke our code in so many places that we started adding extra layers just to protect ourselves.
https://www.reddit.com/r/cpp_questions/comments/10pvfia/look...