www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [Somewhat Off-Topic] A Phobos Wallpaper

reply "Brian Schott" <briancschott gmail.com> writes:
I took a break from doing useful things, and made this:

http://imgur.com/Bro0DYT

Infer what you will from the frequencies of certain keywords and 
identifiers.
Aug 16 2013
next sibling parent "monarch_dodra" <monarchdodra gmail.com> writes:
On Saturday, 17 August 2013 at 05:57:08 UTC, Brian Schott wrote:
 I took a break from doing useful things, and made this:

 http://imgur.com/Bro0DYT

 Infer what you will from the frequencies of certain keywords 
 and identifiers.
Cool. What is the input data? Phobos? I find it *awesome* that assert is one of the most used keywords.
Aug 17 2013
prev sibling parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 17.08.2013 07:57, schrieb Brian Schott:
 I took a break from doing useful things, and made this:

 http://imgur.com/Bro0DYT

 Infer what you will from the frequencies of certain keywords and
 identifiers.
Cool idea! But even considering that std.datetime is a monster module, can it really be true that "Date" is as frequent as "assert" throughout the code base? It somehow looks like _only_ std.datetime made it into the final statistic.
Aug 17 2013
next sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Saturday, August 17, 2013 09:25:41 S=C3=B6nke Ludwig wrote:
 Am 17.08.2013 07:57, schrieb Brian Schott:
 I took a break from doing useful things, and made this:
=20
 http://imgur.com/Bro0DYT
=20
 Infer what you will from the frequencies of certain keywords and
 identifiers.
=20 Cool idea! But even considering that std.datetime is a monster module=
,
 can it really be true that "Date" is as frequent as "assert" througho=
ut
 the code base? It somehow looks like _only_ std.datetime made it into=
 the final statistic.
It's due to how many unit tests std.datetime has. There are a _lot_ of=20= assertions in there. I reworked some of them to loop more rather than j= ust be=20 a straight set of tests, but I still have a long way to go, so assert a= nd=20 assertPred are used a _lot_ in that module (and even after that refacto= ring is=20 done, there will still be plenty of assertions - just not quite so many= ). If=20 the unit tests weren't counted, std.datetime would probably be a much, = much=20 smaller portion of the count (something like 3/4 of that module is unit= =20 tests). - Jonathan M Davis
Aug 17 2013
prev sibling parent "Brian Schott" <briancschott gmail.com> writes:
On Saturday, 17 August 2013 at 07:25:53 UTC, Sönke Ludwig wrote:
 Am 17.08.2013 07:57, schrieb Brian Schott:
 I took a break from doing useful things, and made this:

 http://imgur.com/Bro0DYT

 Infer what you will from the frequencies of certain keywords 
 and
 identifiers.
Cool idea! But even considering that std.datetime is a monster module, can it really be true that "Date" is as frequent as "assert" throughout the code base? It somehow looks like _only_ std.datetime made it into the final statistic.
I ran through my code again, increasing the number of words that made it to the final list by quite a bit. (For a minute or two I thought you were right and that I had a bug) This is actually all of Phobos. "EmailStatusCode" and CodePointSet" aren't in datetime.
Aug 17 2013