9 points · by anonymous-dev · 13y ago · 20 comments
Here is the scenario:
I am a developer documenting what I work on (apis, tools, etc) to. However, my colleagues don't. This have been driving me nuts but I cannot change them (I tried).
I also like to improve existing tools (build system/ code base). However, my colleagues don't.
Here is what every developer faces every day: - No automated build (e.g.: Continuous Integration Server) - Released archived as emails instead of FTP/Nexus like software. - Developer builds production releases on their dev machines. - Undocumented APIs/build system - No automated test - No clear roadmap - No code review - New developers are hired without going through any technical interviews nor have background or experience required (programming language, software dev lifecycle, mindset).
The business was not doing well until recently which explains why all those things creeped up (although IMHO, automated build and unit test should be done anyway).
Now, the business is doing well, I managed to develop an automated build system after a year or so battling with management and reworking tools to make it happen.
New hires are coming in but I feel those processes aren't really used/sought by other developers. Some management folks seems to care about the issue but don't see the need as much as I do; a strong, well structured yet flexible software dev process is a very valuable asset for any company and should be respected fully.
No other developers (about 20) raised any concerns about the current software dev process, only me.
a) Am I too impatient since things are slowly changing ? b) Am I too process oriented ? This is a 5+ year old startup. c) Am I the problem ? d) Is this software shop not a good place to work for and improve one's skills set ? e) Should I just suck it up ? That's the startup world.
I really appreciate your feedbacks.
Set up the CI/build server on your machine, have it email everyone when the build fails. They will see the use of the tool then, and when the team accepts it they will hopefully get an official server to host it on.
Write tests for your code, and when other devs work with you on issues, or break things, write tests and send to them "Hey, i wrote this test that shows the code you wrote is failing, can you make it pass?" Also ask others to make unit tests. You will have to write the bulk of tests. You probably know which others on the team are open to writing tests and working with you on the pocket of excellence. Get them involved first, and then the idea will spread. A good idea would be buy them copies of Pragmatic Programmer too.
No, you aren't process oriented. A software team that doesn't at least like the idea of automated builds, and tests is crazy. As far as if it's a good place to work and improve one's skills? That depends. In some teams you might never get them to adopt the pocket of excellence. If you are working in a place like that, then it's probably not a good place to work. But if you have a shot at converting them by just doing it on your own first, then it would be a great opportunity to get experience with setting up these aspects of a software shop. And you can put that on your resume, blog about it, etc. In that case it would be a great experience.
About CI server, it is on its way but only for production release. No continuous build for now mainly because there is no unit test infrastructure setup.
About writing test, well, no one uses unit-test for the reason above. It maybe a good time to introduce that and get to show them the light :)
"In some teams you might never get them to adopt the pocket of excellence. ". I am a bit afraid of that. Why ? I have spent some time trying to change things and yet I see little or no effort from others.
What are you thoughts on documenting things ?
I'm a fan of self documenting code. Trying to document code is nice, but rarely possible to keep up to date. I do like to put short comments on a method if the name and class its in don't provide enough info. It's better to spend time writing code and tests than documentation.
You can't always convince people to do things they don't want to do. Some people don't care about putting more than the minimum of effort into work. Most people hate change. But if you just go ahead and create the pocket of excellence, people tend to notice why its good and if you get momentum then the rest will follow. Who are the influential people on your team who if they started using these good practices, the rest would follow? How do you think you should best convince them? For some people, find out what motivates them, and then see if you can explain to them how adopting these practices would benefit them.
About the second paragraph, I 100% agree with this.
I did create this pocket of excellence (myself only) and lead the way for some time. Yet no one notices it and the ones who do, well, they don't care about it - both for junior and senior developers. IMO, the most influential peoples are so called "rockstar" developers within the company and they clearly stated they don't see the interests. I already talked to them and attempted to convince them. I am running out of ideas.
I believe you when you say your efforts are needed - the problem is management very frequently has a hard time being able to understand that there is an upfront cost that will eventually pay off. They are looking at spreadsheets and just want to see that profit column keep on going up - you essentially are proposing that the profit column should go down a bit (development costs) with the promise that it will eventually go up much faster.
I've found that software companies either qet the necessity of quality/process or don't (also some types of businesses do not really need much software quality). Most of the time this is determined by if they have technical people in the leadership ranks or not. By the hiring practices you listed Im guessing they don't get how software quality and process impacts the bottom line.
My pessimistic view is that very little will change with the exception of burning yourself out - sorry for the dire prediction Ive just been there myself.
According to my experience, management has always viewed software as binary world: it works or it does not.
About your last sentence, I was about to but gave myself a reason no to; instead of trying to change things, I simply leave them the way they are and stop "bitching" about it. Either way, I will see if good engineering practices are really important or if a team can do without it (and what the potential cost would be).
Now, my only focus is becoming good at spotting bugs, fixing them and implementing features with fewest lines possible (a.k.a Spartan programming) :)
From my experience, non-technical managers often don't realize the importance of these processes. Us programmers know how important is to control how the codebase grows—when there are more than a few programmers touching the code, and when the software keeps growing, a good test suite will prevent the team from having to spend a lot of time trying to change something in the future without breaking anything else (often in vain.)
I worked for both kind of people, those who understand and those who don't. I found it was a huge PITA to work for people who don't understand, especially if they can influence the hiring process. They will have a direct impact on the culture of the team, and I don't believe a single developer can change this alone.
This is just anecdotal, but the place where I worked for this kind of people just closed the doors; the software grew to a point where it was unmaintanable and, despite all my efforts to convince them on fixing things instead of putting new features like mad, nobody ever listened. Now talk about frustration...
Edit: of course I don't believe every non-tech manager is like this. There are those who, despite knowing about nothing when it comes to software development, knows how to identify someone who does, hires this person and trusts their opinion. Basically, people who know what they don't know.
Please don't do this to yourself. This is likely to go one of two ways:
1: You stop caring about quality.
2: You forget what quality looks like.
The end result is more or less the same: the quality of the software you produce is likely to go down.
I have had very similar experiences before and watched colleagues take the same path you're proposing. Whilst they may be happier in their positions, their QA goes right out of the window and things start getting even worse.
It's better to have a reputation as somebody who doesn't tolerate shit, than to have no reputation for anything other than shipping crappy software.
For instance, I'm not a fan of unit testing. I find that 99% of the time when my tests fail, the failure is the test itself, not he code. WHen I'm forced to write uni tests for everything, it slows me down greatly. I prefer to keep my code clean and readable, instead of focusing on 100% code coverage. The same principle applies to CI and other such "processes", in my experience. But thats just me, everyone works their own way.
Try to maybe focus on fixing problems that your company actually has.
That is what matters to the decision makers in any business at the end of the day. So if that is the case, you might not be able to convince the management. Sure, your points are valid and I have the same frustration at work many times but understand that management doesn't care about proper unit testing etc. unless it impacts the business. As someone else pointed out, if you have critical production bugs frequently causing loss (specifically monetary), then you have a solid case to argue to change the process.
Not to say that you should just suck it up. I think it is worth to try and do things the best way but just keep in mind that you should not expect management to just do it because it is the right way to do it. So keep expectations low but keep trying as well.
I think I mixed up my personal expectations (as a solo developer) with those of my company. Will keep my work related expectations low and solo developer related high.