Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 12, 2015 moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Is D a lot like c++ ? I am currently midway through learning c++ and I also want to learn D . So should i focus on one or learn both together? Will I find learning D easy if I already know c++ ? |
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ayush | On Thursday, 12 March 2015 at 13:01:31 UTC, ayush wrote: > Is D a lot like c++? Enough. > So should i focus on one or learn both together? You can study both together, although it is better to focus on one. > Will I find learning D easy if I already know c++? Yes. |
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ayush | On Thursday, 12 March 2015 at 13:01:31 UTC, ayush wrote:
> Is D a lot like c++ ? I am currently midway through learning c++ and I also want to learn D . So should i focus on one or learn both together? Will I find learning D easy if I already know c++ ?
D is very much like C++, but the biggest issue I found moving from C++ to D was trying to apply C++ idioms that only existed to work around ugly C++ warts(i.e, CRTP)
|
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dennis Ritchie | On Thursday, 12 March 2015 at 13:13:40 UTC, Dennis Ritchie wrote:
> On Thursday, 12 March 2015 at 13:01:31 UTC, ayush wrote:
>> Is D a lot like c++?
>
> Enough.
>
>> So should i focus on one or learn both together?
>
> You can study both together, although it is better to focus on one.
>
>> Will I find learning D easy if I already know c++?
>
> Yes.
So on which language should I focus(learn) first
|
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ayush Attachments: | On Thu, 12 Mar 2015 13:01:29 +0000, ayush wrote:
> Is D a lot like c++ ? I am currently midway through learning c++ and I also want to learn D . So should i focus on one or learn both together? Will I find learning D easy if I already know c++ ?
D is like C++, but made by human beings for human beings. and C++ is made by martians for monkeys.
|
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ayush | On Thu, 12 Mar 2015 13:35:18 +0000 ayush via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote: > On Thursday, 12 March 2015 at 13:13:40 UTC, Dennis Ritchie wrote: > > On Thursday, 12 March 2015 at 13:01:31 UTC, ayush wrote: > >> Is D a lot like c++? > > > > Enough. > > > >> So should i focus on one or learn both together? > > > > You can study both together, although it is better to focus on one. > > > >> Will I find learning D easy if I already know c++? > > > > Yes. > > So on which language should I focus(learn) first D is much easier to learn so I will start with it. And then you can try learn C++ if you still want and need it. |
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Daniel Kozák | On Thursday, 12 March 2015 at 13:44:50 UTC, Daniel Kozák wrote:
> D is much easier to learn so I will start with it. And then you can
> try learn C++ if you still want and need it.
Yes, but in D for beginners little literature, so I would recommend starting with C++.
|
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dennis Ritchie | On Thursday, 12 March 2015 at 13:56:29 UTC, Dennis Ritchie wrote: > On Thursday, 12 March 2015 at 13:44:50 UTC, Daniel Kozák wrote: >> D is much easier to learn so I will start with it. And then you can >> try learn C++ if you still want and need it. > > Yes, but in D for beginners little literature, so I would recommend starting with C++. There is no need for dozens of books. I would even go as far as to say that the existing ones are more than enough. http://wiki.dlang.org/Books |
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dennis Ritchie Attachments: | On Thu, 12 Mar 2015 13:56:28 +0000, Dennis Ritchie wrote:
> On Thursday, 12 March 2015 at 13:44:50 UTC, Daniel Kozák wrote:
>> D is much easier to learn so I will start with it. And then you can try learn C++ if you still want and need it.
>
> Yes, but in D for beginners little literature, so I would recommend starting with C++.
there are alot of books on C++ 'cause C++ is insanely complicated and inconsistend. D design is *MUCH* better, so D doesn't need so many books teaching arcane art of programming.
|
March 12, 2015 Re: moving from c++ to D is easy? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On Thursday, 12 March 2015 at 14:47:22 UTC, ketmar wrote:
> there are alot of books on C++ 'cause C++ is insanely complicated and
> inconsistend. D design is *MUCH* better, so D doesn't need so many books
> teaching arcane art of programming.
Well, in principle, can be started with a D, but personally, I started actually with ANSI C.
|
Copyright © 1999-2021 by the D Language Foundation