Re: learning D as your first language but having difficulty in making or logic building in order to make software

2023-04-12 Thread Dom DiSc via Digitalmars-d-learn
On Tuesday, 11 April 2023 at 14:13:17 UTC, slectr wrote: I want to make software like krita inkscape and my own language using D Although i previosly learned C and C++ i left it in the middle and for some reasons i dont want to learn those so i searched for alternatives and found D but there

Re: Learning D

2021-05-14 Thread Mike Parker via Digitalmars-d-learn
On Friday, 14 May 2021 at 15:30:06 UTC, Imperatorn wrote: https://www.amazon.com/Programming-Language-Former-Python-Developers-ebook/dp/B08MD7ZB2X Anyone read it? From the thread title, I thought you were asking about my book!

Re: Learning D

2021-05-14 Thread cc via Digitalmars-d-learn
On Friday, 14 May 2021 at 15:30:06 UTC, Imperatorn wrote: https://www.amazon.com/Programming-Language-Former-Python-Developers-ebook/dp/B08MD7ZB2X Anyone read it? Haven't read it, the title has me at the first five words though.

Re: Learning D - modules packages and the package.d

2018-04-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, April 04, 2018 04:54:50 Ali via Digitalmars-d-learn wrote: > I am going through the Learning D book by Michael Parker > So every now and then I will make post about the book > either critics of the book, book content or questions > > > First critic > chapter 2 - the special package mo

Re: Learning D - modules packages and the package.d

2018-04-03 Thread Ali via Digitalmars-d-learn
On Wednesday, 4 April 2018 at 04:54:50 UTC, Ali wrote: at first i though package.d is special name, as in i must call the file package.d or this trick or idiom to work the trick was to have one module that public import all the modules you import as group in other modules so instead of impor

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-05 Thread Chris via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 21:10:33 UTC, Meta wrote: On Tuesday, 2 December 2014 at 16:38:34 UTC, Mayuresh Kathe wrote: While I have been a programmer for close to 23 years, it's been mostly API level code cobbling work. Would like to learn "D", but am a bit intimidated by the fact that I

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-05 Thread Mengu via Digitalmars-d-learn
On Wednesday, 3 December 2014 at 02:41:16 UTC, Shriramana Sharma via Digitalmars-d-learn wrote: On Tue, Dec 2, 2014 at 10:45 PM, Mayuresh Kathe via Digitalmars-d-learn wrote: Okay, if that is the case, I'll dive into Mr. Alexandrescu's book as soon as I get my copy. BTW, how come all of you ad

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Shriramana Sharma via Digitalmars-d-learn
On Tue, Dec 2, 2014 at 10:45 PM, Mayuresh Kathe via Digitalmars-d-learn wrote: > Okay, if that is the case, I'll dive into Mr. Alexandrescu's book as soon as > I get my copy. > BTW, how come all of you address him as Andrei? Heh -- possibly you haven't interacted on international technical mailin

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Meta via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 16:38:34 UTC, Mayuresh Kathe wrote: While I have been a programmer for close to 23 years, it's been mostly API level code cobbling work. Would like to learn "D", but am a bit intimidated by the fact that I don't have much of a grasp over the foundational stuff (

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Ali Çehreli via Digitalmars-d-learn
On 12/02/2014 09:15 AM, Mayuresh Kathe wrote: > BTW, how come all of you address him as Andrei? > Is this group that informal? First name is the normal way of referring to colleagues here in the US, at least in Silicon Valley. Even the CEOs, board members, and all the other "top" people are re

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Dec 02, 2014 at 05:46:04PM +, Mayuresh Kathe via Digitalmars-d-learn wrote: > On Tuesday, 2 December 2014 at 17:33:18 UTC, Gary Willoughby wrote: > >On Tuesday, 2 December 2014 at 17:15:28 UTC, Mayuresh Kathe wrote: > >>Okay, if that is the case, I'll dive into Mr. Alexandrescu's book

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Mayuresh Kathe via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 17:33:18 UTC, Gary Willoughby wrote: On Tuesday, 2 December 2014 at 17:15:28 UTC, Mayuresh Kathe wrote: Okay, if that is the case, I'll dive into Mr. Alexandrescu's book as soon as I get my copy. No need to wait that long. I second H.S. Teoh's suggestion to reco

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Gary Willoughby via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 17:15:28 UTC, Mayuresh Kathe wrote: Okay, if that is the case, I'll dive into Mr. Alexandrescu's book as soon as I get my copy. No need to wait that long. I second H.S. Teoh's suggestion to recommend reading this book too: http://ddili.org/ders/d.en/intro.html

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Mayuresh Kathe via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 17:10:57 UTC, Tobias Pankrath wrote: Thanks for the welcome. :) I think I'll just work through Discrete Mathematics and Machine Organization before approaching Mr. Alexandrescu's book, would take up only 6 ~ 8 months of my time, and would be really good for me i

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 17:15:28 UTC, Mayuresh Kathe wrote: BTW, how come all of you address him as Andrei? Is this group that informal? Asking, just so that I don't become the odd man. :) This group is definitely that informal. First names are the norm here.

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread CraigDillabaugh via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 17:04:57 UTC, Mayuresh Kathe wrote: On Tuesday, 2 December 2014 at 16:54:50 UTC, CraigDillabaugh wrote: On Tuesday, 2 December 2014 at 16:38:34 UTC, Mayuresh Kathe wrote: clip Thanks for the welcome. :) I think I'll just work through Discrete Mathematics and Ma

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Tobias Pankrath via Digitalmars-d-learn
Thanks for the welcome. :) I think I'll just work through Discrete Mathematics and Machine Organization before approaching Mr. Alexandrescu's book, would take up only 6 ~ 8 months of my time, and would be really good for me in the long term. No! If you know how to program and want to learn D

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread Mayuresh Kathe via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 16:54:50 UTC, CraigDillabaugh wrote: On Tuesday, 2 December 2014 at 16:38:34 UTC, Mayuresh Kathe wrote: While I have been a programmer for close to 23 years, it's been mostly API level code cobbling work. Would like to learn "D", but am a bit intimidated by the f

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread CraigDillabaugh via Digitalmars-d-learn
On Tuesday, 2 December 2014 at 16:38:34 UTC, Mayuresh Kathe wrote: While I have been a programmer for close to 23 years, it's been mostly API level code cobbling work. Would like to learn "D", but am a bit intimidated by the fact that I don't have much of a grasp over the foundational stuff (

Re: Learning D for a non computer science background person : pre-requisite knowledge?

2014-12-02 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Dec 02, 2014 at 04:38:33PM +, Mayuresh Kathe via Digitalmars-d-learn wrote: > While I have been a programmer for close to 23 years, it's been mostly > API level code cobbling work. > > Would like to learn "D", but am a bit intimidated by the fact that I > don't have much of a grasp ov

Re: Learning D the GTK+ way [was Learning D]

2014-08-28 Thread Russel Winder via Digitalmars-d-learn
On Wed, 2014-08-27 at 13:25 +, Ryan via Digitalmars-d-learn wrote: […] > I'm thinking I will probably create a more in depth GTK+ hello > world that attempts to covers some of the current D landscape. Exactly what I am doing :-) > For instance I now understand how DMD and RDMD work and how

Re: Learning D

2014-08-27 Thread Mike Parker via Digitalmars-d-learn
On 8/27/2014 10:25 PM, Ryan wrote: DSSS, XfBuild, Bud, RDMD, or premake4. Especially DSSS vs DUB. Is DUB a replacement for DSSS? You can look at it that way. It's both a package manager and build tool. DSSS was abandoned long ago. Why not other tools -- XfBuild is no longer maintained (AF

Re: Learning D

2014-08-27 Thread Ryan via Digitalmars-d-learn
Thanks again for all the responses. I've made tremendous progress understanding the D build process. I'm thinking I will probably create a more in depth GTK+ hello world that attempts to covers some of the current D landscape. For instance I now understand how DMD and RDMD work and how they

Re: Learning D

2014-08-26 Thread HeiHon via Digitalmars-d-learn
On Monday, 25 August 2014 at 16:46:11 UTC, Ryan wrote: What IDE should I use? I'm not big fan of Eclipse, although if I had to use it this wouldn't be a dealbreaker. Give me something easy and lightweight, unless you've got a GUI builder (this is why I started with MonoDevelop, though this isn

Re: Learning D

2014-08-26 Thread Russel Winder via Digitalmars-d-learn
On Mon, 2014-08-25 at 16:46 +, Ryan via Digitalmars-d-learn wrote: […] > What Widget library should I use? I started with GTKD, but since > there are no tutorials does this mean nobody actually does this? > Should I use DWT? What about QT? GtkD should work for you. I would have preferred

Re: Learning D

2014-08-26 Thread Russel Winder via Digitalmars-d-learn
On Mon, 2014-08-25 at 18:09 +, Kiith-Sa via Digitalmars-d-learn wrote: […] > I have no experience with GtkD, but with DUB you shouldn't need > to mess with .lib files at all. DUB automatically downloads and > compiles any libraries specified with dub.json, *and* links them > with the compile

Re: Learning D

2014-08-26 Thread Russel Winder via Digitalmars-d-learn
On Mon, 2014-08-25 at 17:09 +, Kiith-Sa via Digitalmars-d-learn wrote: […] > I don't use an IDE, but MonoD seems to be the most recommended > cross-platform option. It has a wiki page here if it helps: > http://wiki.dlang.org/Mono-D I just tried following the instructions at http://wiki.dlan

Re: Learning D

2014-08-26 Thread Mike Parker via Digitalmars-d-learn
On 8/26/2014 5:37 AM, Ryan wrote: Then I thought I'd learn dub. Well, this is NOT going well... I did a git clone of gtk-d, then tried to build with dub (renamed the package.json to dub.json), and it told me "Conflicting package multi-reference" I have no clue and I've tried removing packag

Re: Learning D

2014-08-26 Thread eles via Digitalmars-d-learn
On Monday, 25 August 2014 at 16:46:11 UTC, Ryan wrote: Me: Software developer for 30 years. What IDE should I use? I'm not big fan of Eclipse, although if If you are an Eclipse (CDT) user for C/C++, then you will find a very similar plugin for D, called DDT, here: http://code.google.com/

Re: Learning D

2014-08-25 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Aug 26, 2014 at 02:13:04AM +, Weaseldog via Digitalmars-d-learn wrote: > Not sure how up your alley this is, but vim support for D is > excellent. I use vim for D. T -- War doesn't prove who's right, just who's left. -- BSD Games' Fortune

Re: Learning D

2014-08-25 Thread Weaseldog via Digitalmars-d-learn
Not sure how up your alley this is, but vim support for D is excellent.

Re: Learning D

2014-08-25 Thread Dicebot via Digitalmars-d-learn
On Monday, 25 August 2014 at 20:37:16 UTC, Ryan wrote: Then I thought I'd learn dub. Well, this is NOT going well... I did a git clone of gtk-d, then tried to build with dub (renamed the package.json to dub.json), and it told me "Conflicting package multi-reference" I have no clue and I'v

Re: Learning D

2014-08-25 Thread Ryan via Digitalmars-d-learn
On Monday, 25 August 2014 at 18:12:25 UTC, Colin wrote: On Monday, 25 August 2014 at 17:57:54 UTC, Ryan wrote: Anyone know MonoDevelop? Why is the "Edit References" context menu item missing. I have it at the top (Project->Edit References...) but when I click it nothing happens. Grrr. I co

Re: Learning D

2014-08-25 Thread Colin via Digitalmars-d-learn
On Monday, 25 August 2014 at 17:57:54 UTC, Ryan wrote: Anyone know MonoDevelop? Why is the "Edit References" context menu item missing. I have it at the top (Project->Edit References...) but when I click it nothing happens. Grrr. I couldnt figure it out either tbh (creating dub projects usi

Re: Learning D

2014-08-25 Thread Kiith-Sa via Digitalmars-d-learn
On Monday, 25 August 2014 at 17:47:47 UTC, Ryan wrote: Thanks for both responses. This is the information I was looking for. I have DMD, GTK# (For MonoDevelop), MonoDevelop, MonoD, dubs, and GTKD installed. I've got some things to compile... So the crux of my issue is that I can't figure o

Re: Learning D

2014-08-25 Thread Ryan via Digitalmars-d-learn
Anyone know MonoDevelop? Why is the "Edit References" context menu item missing. I have it at the top (Project->Edit References...) but when I click it nothing happens. Grrr.

Re: Learning D

2014-08-25 Thread Ryan via Digitalmars-d-learn
Thanks for both responses. This is the information I was looking for. I have DMD, GTK# (For MonoDevelop), MonoDevelop, MonoD, dubs, and GTKD installed. I've got some things to compile... So the crux of my issue is that I can't figure out how to link lib files in MonoDevelop. I wonder if t

Re: Learning D

2014-08-25 Thread Kiith-Sa via Digitalmars-d-learn
On Monday, 25 August 2014 at 16:46:11 UTC, Ryan wrote: Me: Software developer for 30 years. So perhaps this is old fashion, but I wanted to start using D by whipping together nice little personal utilities. I tried installing MonoDevelop and Mono-D. I can't even figure out the basics, such

Re: Learning D

2014-08-25 Thread John Colvin via Digitalmars-d-learn
On Monday, 25 August 2014 at 16:46:11 UTC, Ryan wrote: Me: Software developer for 30 years. So perhaps this is old fashion, but I wanted to start using D by whipping together nice little personal utilities. I tried installing MonoDevelop and Mono-D. I can't even figure out the basics, such

Re: Learning D as main systems programming language

2014-01-10 Thread Dejan Lekic
On Friday, 10 January 2014 at 00:05:35 UTC, Goran Petrevski wrote: You might want to look into XOmB: https://github.com/xomboverlord/xomb Isn't it written in D1? Not sure about that... So what if it is written in D1? :) It should not be a big problem to "port" it to D2. Second interesting pr

Re: Learning D as main systems programming language

2014-01-09 Thread Goran Petrevski
You might want to look into XOmB: https://github.com/xomboverlord/xomb Isn't it written in D1? Not sure about that...

Re: Learning D as main systems programming language

2014-01-09 Thread qznc
On Wednesday, 8 January 2014 at 23:38:31 UTC, Goran Petrevski wrote: I'm new in the programming, systems programming especially, but I want to learn D more as a systems programming language and by that I mean avoiding libraries at all. My goal is to write a simple operating system totaly in D (

Re: Learning D as main systems programming language

2014-01-08 Thread Jakob Ovrum
On Thursday, 9 January 2014 at 03:36:30 UTC, Rikki Cattermole wrote: You won't have access to the GC so a lot of language features (like slices) are out of the question. Slices are fine, it's just the slice concatenation operators that must be disabled. This is easily accomplished by simply no

Re: Learning D as main systems programming language

2014-01-08 Thread Adam D. Ruppe
On Thursday, 9 January 2014 at 03:36:30 UTC, Rikki Cattermole wrote: I don't know how easy it would be to get a bootloader to call a D kernel although it has been done. Pretty easy if you use GRUB. You can just compile a regular linux program with a linker script and load it right up. My min

Re: Learning D as main systems programming language

2014-01-08 Thread Rikki Cattermole
On Wednesday, 8 January 2014 at 23:38:31 UTC, Goran Petrevski wrote: I'm new in the programming, systems programming especially, but I want to learn D more as a systems programming language and by that I mean avoiding libraries at all. My goal is to write a simple operating system totaly in D (

Re: Learning D - first steps and best practices

2013-10-18 Thread Gary Willoughby
On Sunday, 29 September 2013 at 07:13:26 UTC, Stefan Larsson wrote: Hello, I have started my journey to learn D after using C/C++ and Python for many years. I am studying the book "The D-Programming Language" by Andrei Alexandrescu and I have tried to search the D-newsgroups for proper advice

Re: Learning D - first steps and best practices

2013-10-17 Thread Stefan Larsson
On 2013-10-01 19:32:05 +, qznc said: On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis wrote: I confess that I don't understand why so many people are fixated on having a standard style, particularly when it's very, very clear that most everyone disagrees on what counts as good

Re: Learning D - first steps and best practices

2013-10-02 Thread John Colvin
On Wednesday, 2 October 2013 at 01:19:21 UTC, Jesse Phillips wrote: For me, if the program didn't format brackets on the same line I wouldn't use it. I'm guessing you don't use druntime or phobos then :p

Re: Learning D - first steps and best practices

2013-10-02 Thread Jonathan M Davis
On Wednesday, October 02, 2013 10:38:10 qznc wrote: > On Wednesday, 2 October 2013 at 03:28:59 UTC, Jonathan M Davis > > wrote: > > On Wednesday, October 02, 2013 03:19:19 Jesse Phillips wrote: > >> For me, if the program didn't format brackets on the same line > >> I > >> wouldn't use it. If you

Re: Learning D - first steps and best practices

2013-10-02 Thread qznc
On Wednesday, 2 October 2013 at 03:28:59 UTC, Jonathan M Davis wrote: On Wednesday, October 02, 2013 03:19:19 Jesse Phillips wrote: For me, if the program didn't format brackets on the same line I wouldn't use it. If you start making things configurable, may as well improve indent's support fo

Re: Learning D - first steps and best practices

2013-10-01 Thread Jonathan M Davis
On Tuesday, October 01, 2013 21:32:05 qznc wrote: > On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis > > wrote: > > I confess that I don't understand why so many people are > > fixated on having a > > standard style, particularly when it's very, very clear that > > most everyone > >

Re: Learning D - first steps and best practices

2013-10-01 Thread Jonathan M Davis
On Wednesday, October 02, 2013 03:19:19 Jesse Phillips wrote: > On Tuesday, 1 October 2013 at 19:32:08 UTC, qznc wrote: > > On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis > > > > wrote: > >> I confess that I don't understand why so many people are > >> fixated on having a > >> stan

Re: Learning D - first steps and best practices

2013-10-01 Thread Jesse Phillips
On Tuesday, 1 October 2013 at 19:32:08 UTC, qznc wrote: On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis wrote: I confess that I don't understand why so many people are fixated on having a standard style, particularly when it's very, very clear that most everyone disagrees on what

Re: Learning D - first steps and best practices

2013-10-01 Thread qznc
On Sunday, 29 September 2013 at 07:49:21 UTC, Jonathan M Davis wrote: I confess that I don't understand why so many people are fixated on having a standard style, particularly when it's very, very clear that most everyone disagrees on what counts as good style. What little we have in terms of o

Re: Learning D - first steps and best practices

2013-09-30 Thread bearophile
Stefan Larsson: 1. It makes it easier for myself to write code in a consistent style and I would automatically write in a similar style as everybody else. It removes one degree of freedom from my mind. 2. It simplifies education of teams where it is desired that all members write code in the

Re: Learning D - first steps and best practices

2013-09-29 Thread Stefan Larsson
On 2013-09-29 07:49:08 +, Jonathan M Davis said: On Sunday, September 29, 2013 09:13:26 Stefan Larsson wrote: Hello, I have started my journey to learn D after using C/C++ and Python for many years. I am studying the book "The D-Programming Language" by Andrei Alexandrescu and I have tried

Re: Learning D - first steps and best practices

2013-09-29 Thread Michael
http://dlang.org/dstyle.html ))) DUB like other tools have a standard directory layout to accelerate a build process/configuration. DStyle and other guide lines are general recommendations only. If you have better style/case, you can describe and use it.

Re: Learning D - first steps and best practices

2013-09-29 Thread Jonathan M Davis
On Sunday, September 29, 2013 09:13:26 Stefan Larsson wrote: > Hello, > > I have started my journey to learn D after using C/C++ and Python for > many years. I am studying the book "The D-Programming Language" by > Andrei Alexandrescu and I have tried to search the D-newsgroups for > proper advice

Re: Learning D

2013-06-07 Thread Gary Willoughby
On Friday, 7 June 2013 at 13:45:50 UTC, Daemon wrote: The only thing that remains is patience I guess. That, buy Andrei's book and ask questions here. :) http://www.amazon.co.uk/The-Programming-Language-Andrei-Alexandrescu/dp/0321635361

Re: Learning D

2013-06-07 Thread Daemon
Thanks for all the fantastic replies, now I'm really glad I asked. Ali, I'm already reading your book and it's pretty good. I've also ordered The D Programming language, so that should be a big help. The only thing that remains is patience I guess. I won't give up on D so easily this time. T

Re: Learning D

2013-06-06 Thread H. S. Teoh
On Fri, Jun 07, 2013 at 01:01:54AM +0200, bearophile wrote: > H. S. Teoh: > > >The way to improve your coding skills is just to write > >lots and lots of code. The more you write, the better > >you'll get at it. > > Doing lot of exercise is not nearly enough. You also must do them > "smartly". An

Re: Learning D

2013-06-06 Thread bearophile
H. S. Teoh: The way to improve your coding skills is just to write lots and lots of code. The more you write, the better you'll get at it. Doing lot of exercise is not nearly enough. You also must do them "smartly". And it's far from obvious what that means. And most schools, movies, TV and

Re: Learning D

2013-06-06 Thread H. S. Teoh
On Thu, Jun 06, 2013 at 10:50:05PM +0200, Daemon wrote: > Hi there. I am mesmerized by D and I would love to start using it to > really learn programming. I've tried it a year ago but failed > miserably and went back to C#. The problem I have is that I've been > using C# and I feel it left me cripp

Re: Learning D

2013-06-06 Thread Ali Çehreli
On 06/06/2013 01:50 PM, Daemon wrote: > I am mesmerized by D and I would love to start using it to really learn > programming. I agree with bearophile. I think D is easier to learn than C++. > I decided that it would probably be best to start learning C++ and then, > when I have solid understan

Re: Learning D

2013-06-06 Thread bearophile
Daemon: Thanks for any responses Let's see. Your post is not longwinded. You don't need to learn C++ to learn D. On the other hand C++ has more books and free documentation around. But I think learning C++ is harder than D, because D is meant to be cleaned up compared to C++. Today if you k

Re: Learning D in Atlanta

2012-08-30 Thread Paul
On Thursday, 30 August 2012 at 19:59:45 UTC, Jordi Sayol wrote: Al 30/08/12 21:32, En/na Paul ha escrit: What would be the best way to learn this language? I live in Atlanta. I program and script as needed. Okay, at this point I would classify myself as a hack. But I love writing my own exe

Re: Learning D in Atlanta

2012-08-30 Thread Jordi Sayol
Al 30/08/12 21:32, En/na Paul ha escrit: > What would be the best way to learn this language? I live in Atlanta. I > program and script as needed. Okay, at this point I would classify myself as > a hack. But I love writing my own exe utilities. It's just cool, fun, and > powerful. But I hav

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread H. S. Teoh
On Thu, Apr 19, 2012 at 12:51:21AM +0200, Paul wrote: > On Wednesday, 18 April 2012 at 13:10:47 UTC, Mark wrote: > >Yeah I bought the book recently and ran into an issue very quickly > >into it. But this error I keep getting keeps bugging me. Could really > >use an explanation on why its not compil

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Paul
On Wednesday, 18 April 2012 at 13:10:47 UTC, Mark wrote: Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. Mark I started a thread along this

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread bearophile
Mark: look at that. it says D1. I downloaded both D1 and D2. Better get rid of D1 then. I feel like such an idiot. THank you for the help. You aren't an idiot, it's not your fault. In some months D1 compilers will be buried deeply in some sites, so your problem will (mostly) stop happening t

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Mirko Pilger
I feel like such an idiot. don't worry. you're not the first and not the last being confused by this.

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Mark
Are you using the D1 compiler..? It works on dmd 2.057,8 and 9 at least. Just write dmd, and look at the top for the compiler version. look at that. it says D1. I downloaded both D1 and D2. Better get rid of D1 then. I feel like such an idiot. THank you for the help.

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread simendsjo
On Wed, 18 Apr 2012 15:24:12 +0200, Mark wrote: Are you using the D1 compiler..? It works on dmd 2.057,8 and 9 at least. Just write dmd, and look at the top for the compiler version. look at that. it says D1. I downloaded both D1 and D2. Better get rid of D1 then. I feel like such an idio

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread simendsjo
On Wed, 18 Apr 2012 15:10:46 +0200, Mark wrote: Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. /* Compute heights in centimeters for a

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Steven Schveighoffer
On Wed, 18 Apr 2012 09:10:46 -0400, Mark wrote: Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. /* Compute heights in centimeters for a