coloredgrayscale

u/coloredgrayscale@programming.dev
0 posts · 104 comments

Recent posts

No posts.

Recent comments

thanks to wasm any language is a browser running language.

Theoretically yes, practically you may have to deliver a whole runtime depending on the languagey making websites even bigger and slower to load initially. And unless it's a webapp with data processing on the client the perceived performance benefits may be negligible.

Keeping the clean version around seems dangerous advice.

You know it won't get maintained if there are changes / fixes. So by the time someone may needs to rewrite the part, or application many years later (think migration to different language) it will be more confusing than helping.

If it's a microservice architecture using something like openapi and code generators could be a solution. Then the proper classes / types are created during the build step.

Does not avoid the fields being unused, or service B using an older version before being rebuild.

The approach would be similar as a library, but works across different languages while changing the definition only on one place.

on wait what · c/programmer_humor · -3 pts · 2y

Autoformatter should fix that, unless you use python. (but even then they might fix it to the closest proper indentation level)

on wait what · c/programmer_humor · 3 pts · 2y

Maybe alignment more for the righthand side of assignments. If you have a block of variables with different name lengths, or within a constructor / function call.

You couldn't find a gui designer for intellij, so you consider rewriting the whole application? in C++?!

Would seem easier to learn that ui framework.

For UI maybe look into javafx as an alternative. I haven't used it, so can't tell how the design process goes. But it seems to be the only current ui framework for Java.

May I introduce you to Usb 3.x renaming?

3.0, 3.1Gen1, 3.2Gen1, 3.2Gen1x1 are the 5Gbps version.

3.1Gen2, 3.2Gen2, 3.2Gen1x2, 3.2Gen2x1 are the 10Gbps version.