Pathing in the D ecosystem is generally broken (at least on windows)

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 25 22:35:04 PDT 2015


On 9/25/2015 8:55 PM, Manu via Digitalmars-d wrote:
> Editing the path variable is one of the most unenjoyable and annoying
> things to do in windows. start -> settings -> system -> advanced
> system settings -> environment variables -> PATH -> note the stupid
> window that appears; a single-line text box created in 1995 (or
> earlier?), which barely lets you see a single path in a line that's
> probably a few kb long... whenever you touch it, you know you're
> likely breaking something on your system that currently works ;)
> People do it if they have to; in my current case, dev's MUST setup
> emscripten to build the web frontend, and they proceed to complain
> about how shit the toolchain experience is, but they are forced to use
> it regardless... nobody is forced to use D. They must find themselves
> actively drawn to use D.

You can edit sc.ini instead of PATH, as sc.ini overrides it.

Anyhow, I edit the PATH from the path line like:

PATH >foo.bat

... edit foo.bat and put SET in front of it...

foo

> This is my experience over many years now. The toolchain and compiler
> are now more-or-less sufficiently stable that anyone writing code will
> have a good experience. I believe it's the little things that matter
> more than anything in 2015.

Polish certainly matters a lot.



More information about the Digitalmars-d mailing list