Thread overview | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 03, 2015 Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
After being away from D and deciding to test the idea of writing a commercial app in it, There were 2 big things that have jumped out at me: 1. The setup is a much compared to most modern day compilers and software. While VS is huge, obviously has a ton of money behind it, it installs without much fanfare. When installing VS you know that ones it's done after a few mins you can jump into programming and actually get something done. 2. The error messages in D are horrendous. They tend to be terse, point to places where the error actually doesn't occur, and almost always require one to loop up the error, if it's not obvious. This is a waste of time for the programmer. Usually the more complex code the more crypographic the errors are. 3. Since I use VS, I installed VD. It works up to a point. But is so ill-integrated into VS that it makes me want to just jump back into .NET. D is like a Ferrari owned by someone who doesn't keep it clean, forgets to change the oil and filters. Sure, it's pretty powerful but it sure looks ugly and you might not trust it in a race. VS.NET is like a sleep Lamborghini that's kept in a climate controlled show room and regularly tuned for performance. |
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Prudence | On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote: > After being away from D and deciding to test the idea of writing a commercial app in it, There were 2 big things that have jumped out at me: > > 1. The setup is a much compared to most modern day compilers and software. While VS is huge, obviously has a ton of money behind it, it installs without much fanfare. When installing VS you know that ones it's done after a few mins you can jump into programming and actually get something done. Can you elaborate? These days, I find setting up D on Windows or Linux quite easy. > 2. The error messages in D are horrendous. They tend to be terse, point to places where the error actually doesn't occur, and almost always require one to loop up the error, if it's not obvious. This is a waste of time for the programmer. Usually the more complex code the more crypographic the errors are. Again, specific examples would help. Often, when newcomers detail the trouble they encountered during their first experience with D, one or more people will get to work fixing or alleviating the specific issues they mention. > 3. Since I use VS, I installed VD. It works up to a point. But is so ill-integrated into VS that it makes me want to just jump back into .NET. Unfortunately, some features of D make tooling support difficult. In particular, CTFE combined with string mixins are extremely powerful but basically require a fully featured D interpreter to make any sense of them. |
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Prudence | On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:
> After being away from D and deciding to test the idea of writing a commercial app in it, There were 2 big things that have jumped out at me:
If you don't give any concrete examples nothing will change because no one can know what you are referring to.
|
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Prudence | On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:
> After being away from D and deciding to test the idea of writing a commercial app in it, There were 2 big things that have jumped out at me:
>
> 1. The setup is a much compared to most modern day compilers and software. While VS is huge, obviously has a ton of money behind it, it installs without much fanfare. When installing VS you know that ones it's done after a few mins you can jump into programming and actually get something done.
>
> 2. The error messages in D are horrendous. They tend to be terse, point to places where the error actually doesn't occur, and almost always require one to loop up the error, if it's not obvious. This is a waste of time for the programmer. Usually the more complex code the more crypographic the errors are.
>
> 3. Since I use VS, I installed VD. It works up to a point. But is so ill-integrated into VS that it makes me want to just jump back into .NET.
>
>
> D is like a Ferrari owned by someone who doesn't keep it clean, forgets to change the oil and filters. Sure, it's pretty powerful but it sure looks ugly and you might not trust it in a race.
>
> VS.NET is like a sleep Lamborghini that's kept in a climate controlled show room and regularly tuned for performance.
I think D is about as easy to install as anything. But then again I dont use Windows so I dont have 99.9% of the hassles that come along with that. Since you didnt provide any examples it is kinda hard to fix but we can guess at your problems so my solution would be:
Wipe Windows
Install Arch
Install vim
Install DMD.
Problem solved :)
|
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to David DeWitt | On Friday, 4 September 2015 at 03:26:50 UTC, David DeWitt wrote:
> On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:
>> [...]
>
> I think D is about as easy to install as anything. But then again I dont use Windows so I dont have 99.9% of the hassles that come along with that. Since you didnt provide any examples it is kinda hard to fix but we can guess at your problems so my solution would be:
>
> Wipe Windows
> Install Arch
> Install vim
> Install DMD.
>
> Problem solved :)
Last I checked, the process was as follows:
1) install visual studio or xamarin studio and Mono-D addin
2) install dmd using the install wizard
3) use D.
So what hassles are you talking about exactly?
|
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Prudence | On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:
> a ton of money behind it
You already know how to help :)
|
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to David DeWitt | On Fri, 2015-09-04 at 03:26 +0000, David DeWitt via Digitalmars-d wrote: > […] > > Wipe Windows > Install Arch Or Debian Sid or Fedora. > Install vim Wrong. Install Emacs. > Install DMD. And/or LDC, GDC > Problem solved :) Weeellll… -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Attachments:
| On 4 September 2015 at 12:19, Russel Winder via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Fri, 2015-09-04 at 03:26 +0000, David DeWitt via Digitalmars-d wrote: > > […] > > > > Wipe Windows > > Install Arch > > Or Debian Sid or Fedora. > > Or Slackware > > Install vim > > Wrong. Install Emacs. > > Wrong. Install Butterflies. =-P |
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On 2015-09-04 12:37, Iain Buclaw via Digitalmars-d wrote: > > On 4 September 2015 at 12:19, Russel Winder via Digitalmars-d > Wrong. Install Emacs. > > > Wrong. Install Butterflies. =-P There's already a command for that in Emacs ;) -- /Jacob Carlborg |
September 04, 2015 Re: Error reporting is terrible | ||||
---|---|---|---|---|
| ||||
Attachments:
| On Fri, 2015-09-04 at 12:37 +0200, Iain Buclaw via Digitalmars-d wrote: > […] > > Wrong. Install Emacs. > > > > > Wrong. Install Butterflies. =-P If you feel in need of a little background to this comment, see: https://xkcd.com/378/ -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
Copyright © 1999-2021 by the D Language Foundation