www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Statistics on how people use D

reply Walter Bright <newshound2 digitalmars.com> writes:
https://www.reifyworks.com/writing/2019-08-26-a-most-software-companies

I thought a tool could be written that simply gathered counts on what D
features 
were used per line of code. I'm sure the results will be surprising.
Aug 28 2019
next sibling parent reply Mike Franklin <slavo5150 yahoo.com> writes:
On Wednesday, 28 August 2019 at 22:36:12 UTC, Walter Bright wrote:
 https://www.reifyworks.com/writing/2019-08-26-a-most-software-companies

 I thought a tool could be written that simply gathered counts 
 on what D features were used per line of code. I'm sure the 
 results will be surprising.
Consider adding this to our list of proposed projects (https://github.com/dlang/projects) I once did a search through D source code to see whether classes or structs were utilized more. Can you guess which one was dominant? Do you know why? Mike
Aug 28 2019
parent Meta <jared771 gmail.com> writes:
On Wednesday, 28 August 2019 at 22:52:31 UTC, Mike Franklin wrote:
 On Wednesday, 28 August 2019 at 22:36:12 UTC, Walter Bright 
 wrote:
 https://www.reifyworks.com/writing/2019-08-26-a-most-software-companies

 I thought a tool could be written that simply gathered counts 
 on what D features were used per line of code. I'm sure the 
 results will be surprising.
Consider adding this to our list of proposed projects (https://github.com/dlang/projects) I once did a search through D source code to see whether classes or structs were utilized more. Can you guess which one was dominant? Do you know why? Mike
That sounds like it'd be a good use for the frontend as a library.
Aug 28 2019
prev sibling next sibling parent Paolo Invernizzi <paolo.invernizzi gmail.com> writes:
On Wednesday, 28 August 2019 at 22:36:12 UTC, Walter Bright wrote:
 https://www.reifyworks.com/writing/2019-08-26-a-most-software-companies

 I thought a tool could be written that simply gathered counts 
 on what D features were used per line of code. I'm sure the 
 results will be surprising.
Snippets from a mail sent years ago to Andrei: - be predictive: before taking a choice on the language, make a public statement about what you are expecting as a result in the use of D, and how it will be measured in the future: a LOT of things are measurable - be quantitative: your download statistics are a good start, try to collect from commercials statistics about the length of the codebase, the compilation times, how many are using a feature (C++ integration, allocators, scope when polished) - be fact driven: analyse your own predictions about metrics with what you are as results from measuring, and iterate on the next decisions (also) based on that. I'm always puzzled by the fact that most of discussions here in the forum are done by engineers, and not fact driven (btw, I'm not an engineer ... ) /P
Aug 29 2019
prev sibling next sibling parent JN <666total wp.pl> writes:
On Wednesday, 28 August 2019 at 22:36:12 UTC, Walter Bright wrote:
 https://www.reifyworks.com/writing/2019-08-26-a-most-software-companies

 I thought a tool could be written that simply gathered counts 
 on what D features were used per line of code. I'm sure the 
 results will be surprising.
Such tool would be interesting especially if run over the codebases from DUB package repository.
Aug 29 2019
prev sibling parent Ron Tarrant <rontarrant gmail.com> writes:
On Wednesday, 28 August 2019 at 22:36:12 UTC, Walter Bright wrote:
 https://www.reifyworks.com/writing/2019-08-26-a-most-software-companies

 I thought a tool could be written that simply gathered counts 
 on what D features were used per line of code. I'm sure the 
 results will be surprising.
Build it into the compiler? :)
Aug 30 2019