coloredgrayscale

joined 1 year ago
[–] [email protected] 11 points 1 month ago (1 children)

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.

[–] [email protected] 2 points 3 months ago (1 children)

Most IDEs support automatic code formatting, and doing so on save. Or have it as a github hook.

[–] [email protected] 8 points 3 months ago (1 children)

At least in the future copilot could navigate you to the settings in the different places 😅

[–] [email protected] 11 points 4 months ago (1 children)

Maybe they see OP as the best candidate for an audit or code review, who has good enough skills, has time available, and is an internal resource

[–] [email protected] 5 points 5 months ago

Not required. Looks like Java, just use reflection.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

Can you give some examples of other tools for the job you'd rather use, which can be self hosted?

[–] [email protected] 1 points 5 months ago (1 children)

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.

[–] [email protected] 4 points 5 months ago (2 children)

What does make out do?

[–] [email protected] 8 points 5 months ago* (last edited 5 months ago)

Automatic code formatter with company style rules for more consistency across all developers.

[–] [email protected] 12 points 5 months ago (1 children)

Make those changes in an own commit, or keep it to files you already have to touch.

[–] [email protected] 1 points 6 months ago

Since the source is XML XSLT may work to transform it.

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

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.

view more: next ›