lightsecond

u/lightsecond@programming.dev
3 posts · 147 comments

Recent posts

Recent comments

I’m envious of people who can use modern Java. We’re still on the #roadto11 from Java 8. It’s good though that newer versions are incremental. The path to upgrades should be simpler.

Because it’s unintentionally funny even though not a dad joke and people might be seeing this on their all feeds without noticing the community name. It made me expel air out of both my nostrils at the same time.

on The value of a prototype · c/quotes · 3 pts · 2y

All writing is rewriting

Typing code is easy. Selecting the trade-offs is hard. Prototypes are a tool to understand what you’re actually trading off.

The Google Play Store uses a technique called delta patching to calculate the diff server side and avoid transferring parts of the app that haven’t changed since your original installation.

This is understandably not perfect because they want to avoid load on their servers and also the extra processing on your device to “unpack” it. So what you have is a happy medium between sending the entire app again and sending strictly the diff.

That’s true, and you can also combine multiple errors to have a single catch block or handle each error separately. The perfect dataset for this comparison will need to be written. Code golf data is good enough for a non-academic fun analysis like this one.

I think code golf is a great dataset for this kind of analysis specifically because they are artificial and people are paying attention to the number of characters used. Leetcode solutions might be a better option though.

In real world projects there are too many confounding factors. People aren’t implementing servers in brainfuck or websites in C. Even rewrites of a project into another language have more/fewer features. So it’s an apples to oranges comparison.