Looking for an equivalent to C++ std::getline in D

Stanislav Blinov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 7 05:29:20 PDT 2017


On Sunday, 7 May 2017 at 10:33:25 UTC, k-five wrote:
> On Sunday, 7 May 2017 at 09:46:22 UTC, Patrick Schluter wrote:
>> On Saturday, 6 May 2017 at 10:15:03 UTC, k-five wrote:
>
>> If you want to learn the basis of the range concept and their 
>> link to C++ Iterators, you should definitively read Andrei's 
>> article on them in the InformIT magazine. Here is the link
>> http://www.informit.com/articles/printerfriendly/1407357
>> required read for every aspiring D programmer ;-)
>
> ---------------------------------------------------
>
> Thanks for the article.
>
> Although I found D for being more better, nicer,and fun than 
> C++ is, but there is a few questions on Stack-Over-Flow, videos 
> on Youtube, and  some other forums in my country. So, why D is 
> not popular?

Because everyone is asking this question instead of actually 
doing something about it :)
To be fair, D has a good amount of usage even today, it's just 
not being screamed about ecstatically.

> I am a big fan of Perl-one-liner and after seeing
> rdmd --evel='one-line-code'
> I gasped! Oh, really? a one-liner with D!
>
> Or even Unix Command Line, that D has Uniform Function Call 
> Syntax.
> line.sort.uniq.writeln();
>
> It may you know about the future of D or may introduce some 
> other articles about the future of D to me. Since after 
> learning C++ I am not very comfortable with.

Today is the last day of the D Conference 2017, last three days 
it was livestreaming. There were quite a bit of talks on current 
developments and future progress. The videos from those streams 
should appear at https://www.youtube.com/user/sociomantic/videos 
hopefully early next week. They also have previous conference 
videos out there.


More information about the Digitalmars-d-learn mailing list