zlacker

[return to "Apple’s refusal to support Progressive Web Apps is a detriment to the web"]
1. rimliu+h3[view] [source] 2017-07-27 11:44:59
>>jaffat+(OP)
I am starting to get a vibe that there is a new breed of programmers who think that knowing just one language is good enough and learning anything else is "stifling innovation".

I don't even want to start on "PWAs work more seamlessly than native". I just cannot take person making such claims seriously.

◧◩
2. scrump+X5[view] [source] 2017-07-27 12:12:56
>>rimliu+h3
There's more than a whiff of that in the article, for sure. Author at one point is put off Native by having to learn a "more complicated" language, i.e. Swift. It's hard to defend the assertion that Swift is more complicated than JS.
◧◩◪
3. borlan+lg[view] [source] 2017-07-27 13:43:28
>>scrump+X5
Full disclaimer, Swift is my favourite language by a long shot and I'd love to use it everywhere, but it really is very complicated in some places.

Consider, for example, the interaction between generics in structs and classes, and protocols with associated types, and why you have to make stupid type-erasing wrappers like 'AnyObject' and so forth.

JS barely even has types at all, let alone generics. There's a lot less to go wrong there :-)

◧◩◪◨
4. scrump+XG2[view] [source] 2017-07-28 14:31:10
>>borlan+lg
A good point, won't argue with you. But, at the risk of moving the conversational goalposts, I was thinking about the whole developer experience as much as just the language itself. With Swift, you can live entirely within Apple's frameworks and libraries and be immensely productive. With JS you're going through an entire exercise of flavor and framework selection before you can start writing any code; and those decisions have a massive impact on your app's fundamental design. That's as much what I meant by complexity.
[go to top]