You only get 1,000 lines of code a week
11–20 of 86 posts
Re: You only get 1,000 lines of code a week
#12It depends on what career trajectory a senior developer is. If he is destined to become a specialist, then this article is spot on. If instead he dreams of becomming a manager or architect, then he would actually not be coding the most complicated parts, and make sure to keep himself off the critical path of the project, so as to free up his time, so he can spend his time helping his colleagues and clearing the rocks…
For a manager, I agree. An architect should write the most complicated, not the least complicated, part of code. This is assuming that the architect is the most experienced developer on the team. This doesn't include paper architects, which are pretty much salespeople. I would like to hear other people's thoughts on this - this is the way that I have always handled projects.
I would think that you'd want an architect to work on non-tight-loop, core-to-the-control flow complexity, and leave the optimization of tight loops and such to people with more time to focus on the details of that (eg, what processor is being used), and instead work on the complexity of the control/data flow abstractions, which is what he already knows the most about, having designed their architecture.
This also keeps his role as central organizer of the code and flow through it, rather than having his time sidetracked (partially) by other concerns.
Re: You only get 1,000 lines of code a week
#13Actually 1,000 lines of code a week is quite a lot. Of course it depends on language / technology stack, I'm speaking from Rails / JavaScript programmer point of view.
Re: You only get 1,000 lines of code a week
#14Actually 1,000 lines of code a week is quite a lot. Of course it depends on language / technology stack, I'm speaking from Rails / JavaScript programmer point of view.
Re: You only get 1,000 lines of code a week
#15Actually 1,000 lines of code a week is quite a lot. Of course it depends on language / technology stack, I'm speaking from Rails / JavaScript programmer point of view.
1,000 lines are probably not as much as you think. For web developers, if you included HTML, CSS, JavaScript, CGI language and SQL you can easily get over 1,000 characters in a week. (That's only about 25 lines an hour for 8 hours/day 5 days/week.)
I don't think I've ever written more than a few hundred LOC in a week.
Re: You only get 1,000 lines of code a week
#16Actually 1,000 lines of code a week is quite a lot. Of course it depends on language / technology stack, I'm speaking from Rails / JavaScript programmer point of view.
Still it's not a metric. I know people that use ruby in a way that every 6-lines method of mine, could be 1 (hard to read, sometimes extremely cryptic) line of theirs. I'm not sure you can measure, not even using third party apps.
Re: You only get 1,000 lines of code a week
#17Earlier quoted context omitted.
For a manager, I agree. An architect should write the most complicated, not the least complicated, part of code. This is assuming that the architect is the most experienced developer on the team. This doesn't include paper architects, which are pretty much salespeople. I would like to hear other people's thoughts on this - this is the way that I have always handled projects.
I suppose whether or not I agree depends on what you mean by complicated: there's complexity of an algorithm implementation and there's complexity of program structure. I would think that you'd want an architect to work on non-tight-loop, core-to-the-control flow complexity, and leave the optimization of tight loops and such to people with more time to focus on the details of that (eg, what processor is being used),…
As other developers start getting on the project he guides them where their code should live, and he start to disengage writing and serve more in a guiding role.
Re: You only get 1,000 lines of code a week
#18Actually 1,000 lines of code a week is quite a lot. Of course it depends on language / technology stack, I'm speaking from Rails / JavaScript programmer point of view.
1,000 lines are probably not as much as you think. For web developers, if you included HTML, CSS, JavaScript, CGI language and SQL you can easily get over 1,000 characters in a week. (That's only about 25 lines an hour for 8 hours/day 5 days/week.)
Re: You only get 1,000 lines of code a week
#19Earlier quoted context omitted.
1,000 lines are probably not as much as you think. For web developers, if you included HTML, CSS, JavaScript, CGI language and SQL you can easily get over 1,000 characters in a week. (That's only about 25 lines an hour for 8 hours/day 5 days/week.)
I'd struggle to think in a job which required 25 lines an hour ever, let alone constantly for 8 hours/day! I don't think I've ever written more than a few hundred LOC in a week.