News for hackers. Stuff that matters.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by bdcravens on Thursday December 21, 2017 @02:37AM (#15977122)
I don't think they mean slow development. Rather, overall rate - all other things equal, someone who insists on no more than a 40 hour week will accomplish less than someone willing to work 60-80 based on whatever metric you use (KLOC, story points, etc)
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by lemmings19 on Thursday December 21, 2017 @03:33AM (#15977327)
I've only ever heard one person ever mention KLOC's, and they were in their 60's nearly a decade ago. They were explaining how people were using it as a measurement of work done in the 80's, and what a terrible idea it was to measure throughput that way.

You're the second person. When was the last time you encountered anyone using KLOC's (per 1k lines of code) as a measurement of work done? Are they working on mainframe codebases?

Re:Dozens of Companies Are Using Facebook to Exclude Older W... by vonmoltke on Thursday December 21, 2017 @08:11AM (#15978490)
> You're the second person. When was the last time you encountered anyone using KLOC's (per 1k lines of code) as a measurement of work done? Are they working on mainframe codebases?

The DOD and their "experts" love measuring software projects this way. They even take the cost/LOC ratio as a measure of value. I was once semi-seriously chastised for committing a change with net negative LOC because it broke the formula and implied negative value.

Re:Dozens of Companies Are Using Facebook to Exclude Older W... by jcadam on Thursday December 21, 2017 @08:21AM (#15978540)
Me too (also DoD contracting). Cleaned up a module full of amateurish over-complicated code resulting in a negative LOC count on the boss's spreadsheet. Oh, I heard about it.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by dorgo on Thursday December 21, 2017 @04:22AM (#15977499)
I like to use LOCs to see at a glance the size of a project. A more complex business logic usually takes more LOCs to write it down. And I bet there is a strong correlation between LOCs and hours worked on a project which would make LOCs a good approximation of work done. Actually I should research it. Should be not too hard to find all the tickets for projects and compare the time logged to LOCs.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by tigershark on Thursday December 21, 2017 @07:46AM (#15978386)
1) There is no fixed correlation between LOCs and business logic complexity. 2) there is actually an inverse correlation between LOCs and amount of work done. When I'm most productive I actually decrease the LOCs.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by dorgo on Thursday December 21, 2017 @01:34PM (#15981497)
1) You tell me that if you take some fixed business logic and add some exceptions to it (make it more complex) you wont need more LOC's to address this added complexity? I don't believe you.

2) You can't be productive having 0 LOCs. So 0 LOCs = 0 productivity. n>0 LOCs = (presumable) some productivity. I would say we have a trend.

Re:Dozens of Companies Are Using Facebook to Exclude Older W... by tigershark on Thursday December 21, 2017 @02:52PM (#15982224)
1) I said that there is no fixed correlation. 2) I'm most productive when my LOCs are negative, deleting duplicate code or finding a better approach for a problem.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by dorgo on Thursday December 21, 2017 @06:23PM (#15983862)
1) so you say there is a (positive) correlation, but it is not "fixed". Sorry, I don't understand what this means.

2) I know what you mean. I do it often myself and I know it improves code quality. It's not my intention to measure "work done" in LOCs, which, as you say, could be contradictory. I propose to measure the size of a project in LOCs. Suppose, you have two projects. And you have all the time you want to reduce their LOCs (to improve code). After you are done, both projects will still have some LOCs. My point is that the project, which has more LOCs, after you had your fun with it, is the "bigger"/more complicated project.

Re:Dozens of Companies Are Using Facebook to Exclude Older W... by tigershark on Thursday December 21, 2017 @10:41PM (#15985107)
1) Imagine some project written using CTRL+C, CTRL+V everywhere, another much bigger project written with some good architecture and using always the DRY principle, another one still bigger is written in a much more compact language like F# or Haskell. The first project following your criteria is the bigger and most complex, but in reality it is just a bloated mess. 2) It never works like that in reality. No one is paid to spend time only to improve the code, we are paid to provide value to the users. The project with the good architecture is easier to work with and it will be easier to add features and continue to improve the code. The bloated mess will be much more difficult to work with and you won't have the time to improve it apart from getting the low hanging fruits.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by lebski88 on Thursday December 21, 2017 @06:28AM (#15978010)
I think LOC probably works OK as a very crude metric until you start to measure it. Once you start to measure it all hell breaks loose. If you measure me on lines of code, well I can get you lots of lines to code. No problem at all...
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by otakucode on Thursday December 21, 2017 @07:17AM (#15978266)
I seem to recall a quote from some computer scientist, possibly Knuth but I'm not sure, that went something like 'You optimize what you measure.' So if you measures LOC, you get LOC... and far more of them than is by any reason 'necessary.' Really a horrendous metric.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by fsloth on Thursday December 21, 2017 @05:53AM (#15977862)
There is no universal metric to gauge productivity of software engineers.

The added value a software engineer produces with his work in a single unit of time has a huge variance. Furthermore, it can range from negative to positive.

I.e, it does not matter how long one works. The only thing long work hours of a software engineer communicate is that they work long hours.

Re:Dozens of Companies Are Using Facebook to Exclude Older W... by k3liutZu on Thursday December 21, 2017 @02:42AM (#15977140)
I think his argument still applies to an "overall" metric.
Re:Dozens of Companies Are Using Facebook to Exclude Older W... by bdcravens on Thursday December 21, 2017 @02:58AM (#15977207)
Are you saying the 40 hour developer has a lower code quality than the 80 hour developer?