πŸŒπŸ™βŒ¨οΈ is a user on mastodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
πŸŒπŸ™βŒ¨οΈ @octopus

wtf do you do when a coworker just casually checks in 500+ lines of JSON string literals called input1, input2, and input3 which are parsed and used in "unit" tests testNulls1, testNulls2, and testNulls3 ??

to an existing test suite where the tests had meaningful names + helper methods to generate test data (which would be a short array of four-field structs, a tiny section in the embedded JSON.)

Β· Web Β· 0 Β· 3

@octopus I believe the correct answer here is "suplex." As in most situations.

@octopus remove him the right to push on git

@octopus Fire them.

β€”
Or... find some code that they have been woking on, obfuscate it, replace the original with the obfuscated code, and commit that...

β€”
On second thought... maybe dont do ether of those things.

@octopus beat them with a stick.. while they slept.

@octopus What do you do? Toot about it so not to scream out loud about it instead?