Nth Tensor is a user on octodon.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.

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.)

Nth Tensor @NthTensor

@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.

Β· Web Β· 0 Β· 0