digitalmars.D - [Somewhat Off-Topic] A Phobos Wallpaper
- Brian Schott (4/4) Aug 16 2013 I took a break from doing useful things, and made this:
- monarch_dodra (3/7) Aug 17 2013 Cool. What is the input data? Phobos?
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (5/9) Aug 17 2013 Cool idea! But even considering that std.datetime is a monster module,
- Jonathan M Davis (18/30) Aug 17 2013 ut
- Brian Schott (6/18) Aug 17 2013 I ran through my code again, increasing the number of words that
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
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
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
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=utthe 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
On Saturday, 17 August 2013 at 07:25:53 UTC, Sönke Ludwig wrote:Am 17.08.2013 07:57, schrieb Brian Schott: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.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