digitalmars.D - D1 is such a nice little language
- strtr (5/5) Jun 24 2010 In relation to the recently decease request:
- Jesse Phillips (6/11) Jun 24 2010 I would say the only complication that would be an issue as a first lang...
- strtr (12/23) Jun 24 2010 the transitive cost, immutable. Even then these can be safely ignored.
In relation to the recently decease request: How much of D1 won't compile on D2? Is there a D1-to-D2 guide and how about a comparison chart? Is D2 worse as a first language, difficulty wise? Or is maybe the D2 safe subset a good first language?
Jun 24 2010
strtr Wrote:In relation to the recently decease request: How much of D1 won't compile on D2? Is there a D1-to-D2 guide and how about a comparison chart?There is a page that covers the language changes from D1 to D2[1] Which actually points to a Migration Page[2] which I have not seen before.Is D2 worse as a first language, difficulty wise? Or is maybe the D2 safe subset a good first language?I would say the only complication that would be an issue as a first language is the transitive cost, immutable. Even then these can be safely ignored. Understanding use of the standard library might be considered another issue, but it is common for tutorials to just gloss over the details and say "just do it this way for now." I think D2 is a much better language and D1 to be a language that can compete with other languages. D2 has the issue of limited library support, but if you're someone who needs an existing library D1 isn't likely to be your language with that library. I.e. someone new to the community who wants to get something done isn't likely to find what they need in D2 or D1. 1. http://www.digitalmars.com/d/2.0/features2.html 2. http://www.digitalmars.com/d/2.0/D1toD2.html
Jun 24 2010
== Quote from Jesse Phillips (jessekphillips+D gmail.com)'s articlestrtr Wrote:points to a Migration Page[2] which I have not seen before.In relation to the recently decease request: How much of D1 won't compile on D2? Is there a D1-to-D2 guide and how about a comparison chart?There is a page that covers the language changes from D1 to D2[1] Which actuallythe transitive cost, immutable. Even then these can be safely ignored. Understanding use of the standard library might be considered another issue, but it is common for tutorials to just gloss over the details and say "just do it this way for now."Is D2 worse as a first language, difficulty wise? Or is maybe the D2 safe subset a good first language?I would say the only complication that would be an issue as a first language isI think D2 is a much better language and D1 to be a language that can competewith other languages. D2 has the issue of limited library support, but if you're someone who needs an existing library D1 isn't likely to be your language with that library. I.e. someone new to the community who wants to get something done isn't likely to find what they need in D2 or D1.1. http://www.digitalmars.com/d/2.0/features2.html 2. http://www.digitalmars.com/d/2.0/D1toD2.htmlNice, I hadn't seen that D1toD2 one. Reads like it could be automated btw.
Jun 24 2010