digitalmars.D - Error reporting is terrible
- Prudence (21/21) Sep 03 2015 After being away from D and deciding to test the idea of writing
- Xinok (11/27) Sep 03 2015 Can you elaborate? These days, I find setting up D on Windows or
- Freddy (2/6) Sep 04 2015 Not the op,but stack traces with line numbers would be nice.
- Adam D. Ruppe (6/7) Sep 04 2015 I know how to do it but there's only so many free code hours in
- Jack Stouffer (3/6) Sep 03 2015 If you don't give any concrete examples nothing will change
- David DeWitt (11/33) Sep 03 2015 I think D is about as easy to install as anything. But then again
- bitwise (6/18) Sep 03 2015 Last I checked, the process was as follows:
- Russel Winder via Digitalmars-d (12/19) Sep 04 2015 Or Debian Sid or Fedora.
- Iain Buclaw via Digitalmars-d (4/13) Sep 04 2015 Or Slackware
- Jacob Carlborg (4/7) Sep 04 2015 There's already a command for that in Emacs ;)
- Russel Winder via Digitalmars-d (14/19) Sep 04 2015 If you feel in need of a little background to this comment, see: =20
- Idan Arye (3/15) Sep 05 2015 Considering the OP struggles with installing DMD and VisualD, I
- deadalnix (2/20) Sep 05 2015 We have no idea what OP has trouble with because Op did not tell.
- Kagamin (2/3) Sep 04 2015 You already know how to help :)
- Adam D. Ruppe (6/10) Sep 04 2015 The most inappropriately kept secret of installing dmd is that
- Kagamin (3/8) Sep 06 2015 That's how other compilers like gcc and clang are installed too.
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.
Sep 03 2015
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.
Sep 03 2015
On Friday, 4 September 2015 at 00:10:46 UTC, Xinok wrote: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.Not the op,but stack traces with line numbers would be nice.
Sep 04 2015
On Friday, 4 September 2015 at 20:20:14 UTC, Freddy wrote:Not the op,but stack traces with line numbers would be nice.I know how to do it but there's only so many free code hours in the week :( You can look up one line at a time though with the addr2line utility on Linux. Copy/paste the address to it and it will give you a line number.
Sep 04 2015
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.
Sep 03 2015
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 :)
Sep 03 2015
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: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?[...]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 :)
Sep 03 2015
On Fri, 2015-09-04 at 03:26 +0000, David DeWitt via Digitalmars-d wrote:[…] Wipe Windows Install ArchOr Debian Sid or Fedora.Install vimWrong. Install Emacs.Install DMD.And/or LDC, GDCProblem 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
Sep 04 2015
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:Or Slackware[=E2=80=A6] Wipe Windows Install ArchOr Debian Sid or Fedora.Wrong. Install Butterflies. =3D-PInstall vimWrong. Install Emacs.
Sep 04 2015
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. =-PThere's already a command for that in Emacs ;) -- /Jacob Carlborg
Sep 04 2015
On Fri, 2015-09-04 at 12:37 +0200, Iain Buclaw via Digitalmars-d wrote:=20[=E2=80=A6]If you feel in need of a little background to this comment, see: =20 https://xkcd.com/378/ --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winderWrong. Install Emacs. =20 =20Wrong. Install Butterflies. =3D-P
Sep 04 2015
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:Considering the OP struggles with installing DMD and VisualD, I don't think recommending Arch Linux is a good idea...[...]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 :)
Sep 05 2015
On Saturday, 5 September 2015 at 15:55:00 UTC, Idan Arye wrote:On Friday, 4 September 2015 at 03:26:50 UTC, David DeWitt wrote:We have no idea what OP has trouble with because Op did not tell.On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:Considering the OP struggles with installing DMD and VisualD, I don't think recommending Arch Linux is a good idea...[...]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 :)
Sep 05 2015
On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:a ton of money behind itYou already know how to help :)
Sep 04 2015
On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:1. The setup is a much compared to most modern day compilers and software.The most inappropriately kept secret of installing dmd is that you don't have to. Just unzip it and use it in-place.2. The error messages in D are horrendous.You mean compile time or runtime or both?the more complex code the more crypographic the errors are.Ever since the Snowden revelations, I've endeavored to use cryptography more often. :) hehe j/k
Sep 04 2015
On Friday, 4 September 2015 at 22:14:02 UTC, Adam D. Ruppe wrote:On Thursday, 3 September 2015 at 23:56:53 UTC, Prudence wrote:That's how other compilers like gcc and clang are installed too. It's a pretty established tradition.1. The setup is a much compared to most modern day compilers and software.The most inappropriately kept secret of installing dmd is that you don't have to. Just unzip it and use it in-place.
Sep 06 2015