4 ms·
Much of this article sounds familiar and plausible to me, and yet my current project seems to prove it all wrong. We're doing mostly javascript. A complex web
by mcv 8y ago
Much of this article sounds familiar and plausible to me, and yet my current project seems to prove it all wrong.
We're doing mostly javascript. A complex web application that displays massive amounts of complex, related data with all sorts of ways to search through it and visualise it in different ways. Fun stuff.
All javascript, so dynamic and untyped, but that doesn't matter; we're churning out new features at an amazing pace.
Still, quite often I'm wondering what kind of object I've got in my hands. Is this an Element, is it just the id of that Element, or is it something wrapped around the Element? No idea. So we quickly switch to typescript and move on. Problem is, we still haven't described our data structures, all our types are still `any`, and I still don't know what I've got in my hands. Doesn't matter, though, we're still churning out new features at a pace I've never seen before.
We switch to a graph data base, and we get our data in a completely different format, still without any description of its structure. It's not slowing us down from writing new features or refactoring our code at an amazing pace.
Alright, so someone writes up some actual classes. Only the Element type has just an id and an `element` field that contains an untyped object with all the actual data. I still have no idea what I've got in my hands, but it doesn't matter, we're still churning out new features, new designs and new visualisations at amazing speed.
So I'm not so sure that not knowing what my data looks like, actually slows down our development. We're doing fun stuff and that's what's making us productive. I would absolutely like to have all our data described by classes, and have our classes designed a bit more sensibly, and I'm sure I'm going to do that some day, as soon as I'm out of cool new features to write.
We're violating all the best practices I've always adhered to. I think we've got two whole unit tests in this project. And yet everything works, there aren't any serious bugs as far as I can tell, everybody loves what we're doing, and we're working at an unbelievable speed. So now I'm doubting everything I've always known.