February 04, 2014
On Monday, 3 February 2014 at 07:30:45 UTC, Brian Schott wrote:
>
> Right now we have a mess of inaccurate specs, a compiler front end that accepts whatever the heck it feels like, and a culture of rumors and legends surrounding what's (going to be) deprecated and what isn't.

Are you proposing to fork DMD and lead the way?


February 04, 2014
On Tuesday, 4 February 2014 at 16:06:49 UTC, Steve Teale wrote:
> Are you proposing to fork DMD and lead the way?

Why not? The license grants the original author rights to merge changes back in. Maybe some new ideas come about.

February 04, 2014
On 2/2/14, Brian Schott <briancschott@gmail.com> wrote:
> We all know how nice well-written idiomatic D code looks, but I think it's time that we try to really explore the full power of the language.

D is the tersest language around, just observe how I can make functions returning functions with ease:

void main()
{
    (() => (){})()();
}
February 04, 2014
On Tuesday, 4 February 2014 at 17:23:06 UTC, Ola Fosheim Grøstad wrote:
> On Tuesday, 4 February 2014 at 16:06:49 UTC, Steve Teale wrote:
>> Are you proposing to fork DMD and lead the way?
>
> Why not? The license grants the original author rights to merge changes back in. Maybe some new ideas come about.

The problems we have are not worth forking the language.

I volunteer to help or lead an effort to clean up the spec. People are going to be investigating and starting to learn D in larger numbers with DConf coming up, and it's not fair for them to try learning from documentation that is proven to be incomplete and inaccurate.

The grammar that I'd be basing this rewrite off of is located here:
https://rawgithub.com/Hackerpilot/DGrammar/master/grammar.html
February 04, 2014
On Tuesday, 4 February 2014 at 22:53:30 UTC, Andrej Mitrovic wrote:
> D is the tersest language around, just observe how I can make
> functions returning functions with ease:
>
> void main()
> {
>     (() => (){})()();
> }

Nice. Can you create a pull request for that?
February 04, 2014
On Tuesday, 4 February 2014 at 22:53:30 UTC, Andrej Mitrovic wrote:
> On 2/2/14, Brian Schott <briancschott@gmail.com> wrote:
>> We all know how nice well-written idiomatic D code looks, but I
>> think it's time that we try to really explore the full power of
>> the language.
>
> D is the tersest language around, just observe how I can make
> functions returning functions with ease:
>
> void main()
> {
>     (() => (){})()();
> }

I call this one the Programmer's Hairbrush:

void main()
{
	(()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 ()=>
	 (){}
	 )
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	()
	;
}

http://dpaste.dzfl.pl/490d5e6707f8
February 05, 2014
On 2/5/14, Meta <jared771@gmail.com> wrote:
> I call this one the Programmer's Hairbrush.

Lol, nice.
February 06, 2014
On 02/04/2014 11:52 PM, Andrej Mitrovic wrote:
> D is the tersest language around, just observe how I can make
> functions returning functions with ease:
>
> void main()
> {
>      (() => (){})()();
> }

void main(){
    (()=>{})()();
}

February 06, 2014
On Tuesday, 4 February 2014 at 23:05:40 UTC, Meta wrote:
> On Tuesday, 4 February 2014 at 22:53:30 UTC, Andrej Mitrovic wrote:
>> On 2/2/14, Brian Schott <briancschott@gmail.com> wrote:
>>> We all know how nice well-written idiomatic D code looks, but I
>>> think it's time that we try to really explore the full power of
>>> the language.
>>
>> D is the tersest language around, just observe how I can make
>> functions returning functions with ease:
>>
>> void main()
>> {
>>    (() => (){})()();
>> }
>
> I call this one the Programmer's Hairbrush:
>
> void main()
> {
> 	(()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 ()=>
> 	 (){}
> 	 )
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	()
> 	;
> }
>
> http://dpaste.dzfl.pl/490d5e6707f8

Hey, you can use this pattern to generate all sort of compilable D-art (Sorry, I am kind of busy with work, or I would have come up with something a bit nicer, but it does compile!

void main()
{
         (()        =>()     =>()=>      ()=>()=>()
         =>       ()=> ()=>()=>  ()=>    ()        =>
         ()      =>                ()    =>        ()=>
         ()      =>                ()    =>         ()=>
         ()        =>             ()     =>         ()
         {}          )            ()     ()         ()
         ()           ()        ()       ()         ()
         ()             ()     ()        ()        ()
         ()               () ()          ()( )( );
}
February 07, 2014
On Tuesday, 4 February 2014 at 23:02:54 UTC, Brian Schott wrote:
> People are going to be investigating and starting to learn D in larger numbers with DConf coming up, and it's not fair for them to try learning from documentation that is proven to be incomplete and inaccurate.

Amen!

I'm one of those.  Much of my time in the past few weeks has been spent stumbling through some of the documentation, and making mistakes as a result of it.  I've submitted a couple pull requests to DLang.org, and I hope I can do more, but I need clarification to my questions on Learn, first.

Overall, the documentation is ok, but I'm coming away disappointed, especially given Andre's inspirational talk about operational professionalism.

Mike