Editions allow making breaking changes to Rust without splitting the ecosystem - no hassle caused to existing code unless it opts into the new edition and its breaking changes. There's currently editions 2015, 2018,…
Java's arrays use a signed 32-bit int as their length, so the longest they can be is about 2 billion elements. If your code has arrays over a billion elements, then it will fall over the moment someone inputs slightly…
Sidenote: this website performs poorly on Firefox for Android; every time the background updates, the page freezes for a second, so scrolling is jumpy
You can feel secure knowing if you lost your job, any other job you find would at worst pay $2.26 less than you're receiving now, so you wouldn't suffer an awful drop in living standards (and you'd hope it would also…
The reason you get warned for doing `logger.debug("Got %s results", num)` instead of `logger.debug("Got {} results".format(num))` is that in the first case, internally it checks if the logger is disabled and if so skips…
Try checking this website for the model of phone you have https://dontkillmyapp.com/
As the article says, they examined lots of languages, not just Kotlin (it would be arbitrary to confine their research to JVM languages..) >> While Java could not adopt the Swift approach wholesale because of existing…
Where did you get the idea that records can't use annotations, have methods, or implement interfaces?: "Beyond the restrictions above, records behave like normal classes: they can be declared top level or nested, they…
Editions allow making breaking changes to Rust without splitting the ecosystem - no hassle caused to existing code unless it opts into the new edition and its breaking changes. There's currently editions 2015, 2018,…
Java's arrays use a signed 32-bit int as their length, so the longest they can be is about 2 billion elements. If your code has arrays over a billion elements, then it will fall over the moment someone inputs slightly…
Sidenote: this website performs poorly on Firefox for Android; every time the background updates, the page freezes for a second, so scrolling is jumpy
You can feel secure knowing if you lost your job, any other job you find would at worst pay $2.26 less than you're receiving now, so you wouldn't suffer an awful drop in living standards (and you'd hope it would also…
The reason you get warned for doing `logger.debug("Got %s results", num)` instead of `logger.debug("Got {} results".format(num))` is that in the first case, internally it checks if the logger is disabled and if so skips…
Try checking this website for the model of phone you have https://dontkillmyapp.com/
As the article says, they examined lots of languages, not just Kotlin (it would be arbitrary to confine their research to JVM languages..) >> While Java could not adopt the Swift approach wholesale because of existing…
Where did you get the idea that records can't use annotations, have methods, or implement interfaces?: "Beyond the restrictions above, records behave like normal classes: they can be declared top level or nested, they…