Thing is, we are a start-up.
So far, I have been the only programmer taking care of our desktop app, api, mobile app...etc, but obviously we had to hire another programmer.
He is quite experienced "frontend developer", but when he started working on our project, it seemed to me that quality of his code is fairly poor, I mean, if you saw something like
file.name.split(".").pop().toLowerCase()... - and in case
. not being included within a string, it throws undefined error... etc.. you know this is bad, and such mistakes could be found on multiple places within the code.
Of course we discussed that, but what would you do if you were me? How to manage such people? Now I have to review every single line of the code he writes, I am not telling this is bad, quite the contrary, I would like to do it more often, but not from the point of view that on every single line lies a bottle-neck :/ .
It happened multiple times, that makes me sad.
Another thing is, this guy got another task, and it seems to me that I need to refactor a lot of lines from the code, sadly, that code is not usable in production.
Or did we just found bad people? Are there actually developers, who take their code seriously and see stuff like that? (I am very strict about code quality, since our product is used by pretty large amount of people and I want our app not to broke on undefined errors, I would rather it broken on "no space left on device" kind of errors :-) ).