![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://beehaw.org/pictrs/image/c0e83ceb-b7e5-41b4-9b76-bfd152dd8d00.png)
Trains are expensive to run if you don’t have enough passengers (like in small villages).
Trains are expensive to run if you don’t have enough passengers (like in small villages).
Kotlin is a really nice language with plenty of users, good tooling support, gets rid of a lot of the boilerplate that older languages have, and it instills many good practices early on (most variables are immutable unless specified otherwise, types are not nullable by default unless specified otherwise, etc)
But to get the most “bang for your buck” early on, you can’t beat JavaScript (with TypeScript to help you make sense of your codebase as it keeps changing and growing).
You will probably want to develop stuff that has some user interface and you’ll want to show it to people, and there is no better platform for that than the web. And JS is by far the most supported language on the web.
And the browser devtools are right there, an indispensable tool.
Peace treaty signed, then Russia invades 2 years later anyway and takes over everything?
Flutter - the framework - is great. Dart as a language is tolerable - lot of ugly boilerplate, manual codegen, and things you can’t quite express correctly are everywhere, but if you’re not too much of a stickler, Flutter is still worth it (at least until Compose Multiplatform matures - if ever).
At least Android also proactively asks them whether to disable notifications for an app if they always swipe them away, or if they haven’t used the app in a long time.
You have to go where the people are.
The default now is that apps have to first request notification permissions, on both iOS and Android.
deleted by creator
I don’t see the US restricting AI development. No matter what is morally right or wrong, this is strategically important, and they won’t kneecap themselves in the global competition.
Well you don’t have to place it in a separate function, nothing stops you from inlining that part and writing li
or whatever directly there.
It’s up to you how you organize your components.
But why bother with creating a new language, and duplicating all the features your language already has, in a weird way?
If I want a list of UI items based on an array of some data, I can just do
items.map(item => 〈Item key={item.id} item={item} /〉)
, using the normal map
function that’s already part of the language.
Or I can use a function, e.g. items.map(item => renderItem(item, otherData))
etc.
JSX itself is a very thin layer that translates to normal function calls.
Still better than whatever the hell this is
https://vuejs.org/guide/essentials/template-syntax
The more you scroll down, the worse it gets.
And this too: https://vuejs.org/guide/essentials/list
A new separate language with features that already existed in the original language (and worked with all its tooling, etc.)
Custom template language and custom DOM attributes are way weirder than just using language-native constructs (ternary operator, map/filter, variables, functions, etc.) directly like you can in JSX.
How did you measure this?
But how is Signal going to make enough money to support a massive user base?
Also, the article says
Cathcart responded that WhatApp will not have ads within the inbox or in the “messaging experience.”
So it seems they’re just going to be added to the extra features that most people don’t care about. Of course they could always change their mind, but that seems like a suicide move.
That’s how they get you to click it. Leaving out the part you want to know is the oldest trick in the clickbait book.
You need to look at this from a practical standpoint.
The vast majority of phone apps are not local-only. They are merely the frontend to services provided by some company - e.g. a Reddit app is really about Reddit the service, a food delivery app is about the service, not the locally running code, etc.
Apple controls what users can and cannot install on devices made by them, but the web and things like PWA are an alternative that would be viable for some portion of these.
You can make a web app that can be added as an icon on the homescreen, can access the camera, location, notifications, storage, authentication (e.g. require fingerprint), etc. It still can’t do everything native apps can do, but it would be good enough for a good portion of popular apps.
But in China, that is not really possible without the government’s approval either, because China requires the same kind of registration and an ICP license for websites, otherwise things will get blocked. Which, even if you could install anything you want on a device, would effectively limit you to purely local-only apps anyway.
Unless of course the app makes API requests to its backend, which is blocked in China.
Web is the universal open platform, and China just blocks it with a firewall 🤷♂️.
C is one of the few languages where using
goto
makes sense as a poor man’s local error/cleanup handler.