Re: D's Continous Changing

2021-03-05 Thread harakim via Digitalmars-d-learn
On Friday, 5 March 2021 at 07:51:24 UTC, Siemargl wrote: On Friday, 5 March 2021 at 03:32:35 UTC, harakim wrote: I want this almost every week at work. When I run into some trivial statement that I need to know for sure how it works, it's rarely worth it to create a whole new file and make a m

Re: D's Continous Changing

2021-03-05 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 5 March 2021 at 15:54:37 UTC, Paul Backus wrote: The website is *supposed* to keep documentation for old versions around, and allow you to select them using the drop-down menu at the top-right: note that in some cases my website lets you pull old versions too: http://phobos.dpldocs

Re: D's Continous Changing

2021-03-05 Thread Paul Backus via Digitalmars-d-learn
On Friday, 5 March 2021 at 03:32:35 UTC, harakim wrote: That was pretty sweet. However, it kind of goes to the point of my post. A one-revision difference means the documentation is not accurate for my compiler. I'm not saying the language shouldn't evolve, I'm just saying it might make sense

Re: D's Continous Changing

2021-03-04 Thread Siemargl via Digitalmars-d-learn
On Friday, 5 March 2021 at 03:32:35 UTC, harakim wrote: I want this almost every week at work. When I run into some trivial statement that I need to know for sure how it works, it's rarely worth it to create a whole new file and make a main method and all that. I just edit and run the entire pr

Re: D's Continous Changing

2021-03-04 Thread Mike Parker via Digitalmars-d-learn
On Friday, 5 March 2021 at 03:35:31 UTC, Mike Parker wrote: On Friday, 5 March 2021 at 03:32:35 UTC, harakim wrote: correct version of compiler, but this will be helpful. Is it possible to download old versions of the compiler somewhere? From this page you can follow a trail all the way back

Re: D's Continous Changing

2021-03-04 Thread Mike Parker via Digitalmars-d-learn
On Friday, 5 March 2021 at 03:32:35 UTC, harakim wrote: correct version of compiler, but this will be helpful. Is it possible to download old versions of the compiler somewhere? From this page you can follow a trail all the way back to 0.00 if you're so inclined: https://dlang.org/changelo

Re: D's Continous Changing

2021-03-04 Thread harakim via Digitalmars-d-learn
``` "toolchainRequirements": { "frontend": "==2.096" }, ``` Thanks! I didn't know you could specify a toolchain version. I agree it would be cool if it automatically downloaded the correct version of compiler, but this will be helpful. Is it possible to downloa

Re: D's Continous Changing

2021-03-04 Thread Bastiaan Veelo via Digitalmars-d-learn
On Wednesday, 3 March 2021 at 23:30:20 UTC, harakim wrote: Contrast to me trying to figure out how to format a number in binary. format!"%b"(number) does not work but is very similar to what is suggested in the documentation. I was able to figure out it's format("%b", number) but it took a few

Re: D's Continous Changing

2021-03-04 Thread Bastiaan Veelo via Digitalmars-d-learn
On Wednesday, 3 March 2021 at 23:30:20 UTC, harakim wrote: Every time I come back to a D program I wrote over a year ago, it seems like there are numerous breaking changes and it takes me a while to get it to compile again. I am porting a large code base from Extended Pascal to D and I know t

Re: D's Continous Changing

2021-03-04 Thread user1234 via Digitalmars-d-learn
On Thursday, 4 March 2021 at 09:21:12 UTC, Siemargl wrote: On Thursday, 4 March 2021 at 06:43:57 UTC, user1234 wrote: otherwise another solution is to check every two monthes the sanity of your projects. E.g a montly cronjob on a CI service and that uses latest DMD Docker image. If it fails y

Re: D's Continous Changing

2021-03-04 Thread Siemargl via Digitalmars-d-learn
On Thursday, 4 March 2021 at 06:43:57 UTC, user1234 wrote: otherwise another solution is to check every two monthes the sanity of your projects. E.g a montly cronjob on a CI service and that uses latest DMD Docker image. If it fails you got an email... It certainly cooler to take 5 mins every

Re: D's Continous Changing

2021-03-03 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Mar 04, 2021 at 06:43:57AM +, user1234 via Digitalmars-d-learn wrote: > On Thursday, 4 March 2021 at 05:44:53 UTC, harakim wrote: > > For the record, I was able to resolve all of my issues in about 7 > > hours. That included upgrading from DerelictSDL to bindbc and > > converting to u

Re: D's Continous Changing

2021-03-03 Thread user1234 via Digitalmars-d-learn
On Thursday, 4 March 2021 at 05:44:53 UTC, harakim wrote: For the record, I was able to resolve all of my issues in about 7 hours. That included upgrading from DerelictSDL to bindbc and converting to use dub instead of make. I hope my above post does not lead people to believe that I don't li

Re: D's Continous Changing

2021-03-03 Thread matheus via Digitalmars-d-learn
On Thursday, 4 March 2021 at 05:44:53 UTC, harakim wrote: ... Yes it's a problem indeed. I had the same problem and that's worse when you don't upgrade very often. But let me tell something, where I work we have software in C#, do you think that upgrading was smoothly with all the tools tha

Re: D's Continous Changing

2021-03-03 Thread harakim via Digitalmars-d-learn
For the record, I was able to resolve all of my issues in about 7 hours. That included upgrading from DerelictSDL to bindbc and converting to use dub instead of make. I hope my above post does not lead people to believe that I don't like D, because I otherwise wouldn't have lost track of time

D's Continous Changing

2021-03-03 Thread harakim via Digitalmars-d-learn
Every time I come back to a D program I wrote over a year ago, it seems like there are numerous breaking changes and it takes me a while to get it to compile again. And the documentation is difficult to figure out. I wish I could remember every time I've had to change this line of code, but I k