Re: Article: The surprising thing you can do in the D programming language

2020-08-21 Thread Walter Bright via Digitalmars-d-announce
On 8/20/2020 3:12 AM, aberba wrote: Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d Very nice! Thank you, Lawrence!

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread aberba via Digitalmars-d-announce
On Thursday, 20 August 2020 at 11:22:53 UTC, MrSmith wrote: On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d The only nitpick, is that nested functions need to be declared before use, in order to

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Aug 20, 2020 at 10:20:59AM +, user1234 via Digitalmars-d-announce wrote: > On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: > > Wrote something on OpenSource.com > > > > https://opensource.com/article/20/8/nesting-d > > I'm not sure. A few notes on nesting. > > 1. context

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread MrSmith via Digitalmars-d-announce
On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d The only nitpick, is that nested functions need to be declared before use, in order to compile.

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread Martin Tschierschke via Digitalmars-d-announce
On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d Nice article! +1 up-vote!

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread user1234 via Digitalmars-d-announce
On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d I'm not sure. A few notes on nesting. 1. context pointer can prevent inlining. you can nest static funcs, but then what is the point 2. bad complexity.

Article: The surprising thing you can do in the D programming language

2020-08-20 Thread aberba via Digitalmars-d-announce
Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d