...is terrible.
It's for closed source software obviously.
Probably NPM packages. I once saw a guy who was super proud that they "maintained" something insane like 500 NPM packages. They had custom tooling to make it possible.
Of course it was all less than worthless.
Yeah I do wonder if we need an easier way to declare these things because programmers are lazy and even in Rust I wouldn't always bother.
You can kind of do it in Typescript with strings:
function create_user(role: "admin" | "normal")
But of course the downside is they are strings at runtime. I'm sure it's possible though.
Rust doesn't need this as much because it has enums so you can just do create_user(user, Role::Admin, Notify::None).
Or just "slopping" maybe? "Stop slopping up code."
Tbh while DST (or just "testing" as hardware people would call it) is very obviously a great idea, I'm not sure it would have helped here - in order to detect these TOCTOU bugs you would need stimulus that triggers it and some kind of checker/model that has the correct behaviour.
That's totally possible but it's pretty hardcore testing for a software project and it's difficult to imagine doing that without realising that you have a TOCTOU issue just by inspection.
Sooo evil, making a great editor available completely for free that you don't have to use at all. How dare they? Practically Hitler!
The entitlement is off the scale...
What kind of vectors?
Without further information, right-open is usually the best choice.
Feeling the pressure from Jujutsu.
JavaScript isn't even close to the worst language to ever exist.
I suspect just asking would work. The number of people that will use AI to make sloppy PRs is going to be a lot higher than the number that will bare-faced lie about having used AI.