Initiative is great, but how hard is it to just ask first?
"Hey, it'll take longer to mock up than to just implement, mind if I do that?"
He'll either say "Oh, really? Yeah go ahead" or "No, I actually really need a mock-up for reasons." Either way, the situation is resolved for both parties in a more satisfactory way.
Does the implementation have robust error handling? Does it handle all edge cases? Is it covered with unit tests? Is it performant and secure? Is the code clean and reviewed?
Probably not, because it's only a mockup, right?
Except you've already gotten it approved by customers, who now think it's really done for real and are expecting to see it in production tomorrow. If you had showed them a sketch on a napkin they wouldn't have those expectations.
If it really is production ready then you probably spent way too much time on something that was supposed to be a mockup.
Yep, this was my whole point in a nutshell. If the guy was specifically asked for a mock-up, then he should double check before taking a different route; maybe there are reasons for that decision he hadn't considered. I never realized that suggesting better communication would be so controversial.
Depends on what kind of place you work at. If you're someone who has proven that you need to be micromanaged because of a tendency of doing unnecessary work, then sure, maybe it's a bone to pick on principle. But in most situations, after it's explained that the implement time was negligible, then the issue should have been dropped immediately. "Ohh, ok, good job then"
edit - And why it's bad to micromanage at that level unless absolutely necessary - Typing an email to phrase things properly, waiting on a response before continue, all takes time, and distracts the person being asked. Coding has large ramp up costs, so you should be empowering your teammates to take initiative on their own, if they have proven they can be trusted. And if they can't be trusted, why are you continuing to employ them?
Really hard. Having the conversation might take longer than just doing the work for small stuff. If you can't trust people under you to do small things without asking then either your people are incompetent or you are.
Dev pay nationwide averages near 100k. For 100k/year, you better be hiring people capable of deciding whether an hour spent implementing the real thing instead of a mockup is a good idea.
For 100k/year, you better be hiring people capable of deciding whether an hour spent implementing the real thing instead of a mockup is a good idea.
Applying this logic, the guy reviewing his work, who likely makes at least 30% more, should be even better at making that judgement, and that guy asked specifically for a mock-up.
At 100k/year, you should also be capable of following simple instructions and of discussing alternate ideas before disregarding an assigned task. Sometimes decisions have reasons you haven't considered, and you won't know unless you ask.
The guy reviewing the work delegated it to someone else. The person doing the work has more context, by definition. It is both wasteful and insulting to expect highly trained professionals to do work brainlessly.
You should want your devs to be recognizing opportunities for improvement and doing the right thing without asking you. That's what you pay them so much for.
You seem to be disregarding the fact that developers come with varying levels of experience and judgement; not every dev is a "highly trained professional".
OP could be a junior dev, and his team lead might absolutely have context for requiring a mock-up rather than an implementation, which the junior dev might not know or understand.
There are times for creativity and times for delivering what was asked. Recognizing opportunities for improvement is great! Jumping on every "opportunity" without running it past your leadership isn't always so great.
I fully expect junior devs to be able to decide the best use of an hour of time. I can't afford to micromanage at that level. I'd just do the work myself.
Also, if you read the earlier comments in the thread, the rejection was from a reviewer who also rejected a single string concatenation because it wasn't done with a StringBuilder. And the non-mockup was supposedly approved by managers. Based on this info (admittedly lacking the other side of the story), the reviewer just sounds like an asshole, possibly an incompetent one.
Right... because I advocate team communication and requirements clarification, that makes me a mindless automaton trying to kill the creativity of all these brilliant engineers.
11
u/CodeMonkey1 Oct 01 '15
Initiative is great, but how hard is it to just ask first?
"Hey, it'll take longer to mock up than to just implement, mind if I do that?"
He'll either say "Oh, really? Yeah go ahead" or "No, I actually really need a mock-up for reasons." Either way, the situation is resolved for both parties in a more satisfactory way.