I kinda feel your pain. A project that I helped launch is written in Typescript technically, but the actual on-the-ground developers were averse to using type safety, so any
is used everywhere. So, it becomes worst of both worlds, and the code is a mess (I don’t have authority in the project anymore, and wouldn’t touch it even if I could).
I’m also annoyed at some level because some of the devs are pretty junior, and I fear they are going to go forward thinking Typescript or type safety in general is bad, which hurts my type-safety-loving-soul
0xSim@fedia.io 11 months ago
The boy scout technique: fix your types when you're working on a bug or a feature, one file at a time. Also try to use
unknown
instead ofany
for more sensitive parts, it will force you to typecheck.WhatAmLemmy@lemmy.world 11 months ago
The fuck the lemons technique: resign and seek an employer that didn’t fail at the most basic level of engineering management and development culture for years and years — because life is short and we’re all running out of time… always.
DudeDudenson@lemmings.world 11 months ago
So basically change careers
Hupf@feddit.de 11 months ago
combustible lemon