2 ms·
I care about code more than most people I get the impression that this guy thinks of himself as "a coder". He wants to write code all day long. He wants to wri
by onion2k 13y ago
I care about code more than most people
I get the impression that this guy thinks of himself as "a coder". He wants to write code all day long. He wants to write the best code in the world. He wants to write code that's robust and tested and modern and secure and clever...
...and all for the sake of writing code that's interesting to him.
In the real world we have to write code that enables users to do things. That's it. Usually that also means writing code that's tested, secure, robust and so on, but for the sole purpose of making users better able to use our software.
We write things that are secure so that users don't lose their data/privacy/money.
We write things that are tested so that users don't face errors and bugs when they use our software.
We write things that are robust so that users can use our software whenever they need it without it falling over all the time.
If I was the manager of his team and he came to me suggesting "Dependency injection of the database objection into a class" I'd say no too without a good reason - the entire team would need to learn the new code, any code that relies on the old system would need refactors, and so on. But if he came to me and said "If we used an injection pattern we'd be better able to switch to a failover server, we'd be able to add features faster and it'd enable use to use a better security model", I would listen.
A big part of development is actually "sales" - if you can't sell your ideas to your team, you'll not get to implement them, even if they're the right way to do things.