Remix.run Logo
zabzonk 10 hours ago

You can pass arguments via the command line (it is, after all, a CLI tool): https://stackoverflow.com/questions/2826029/passing-addition...

lmz 10 hours ago | parent [-]

I mean there's really not much difference between "VAR=val make x" and "make x VAR=val" now is there?

marginalia_nu 10 hours ago | parent [-]

Syntactically? No. Semantically? Yes.

lmz 7 hours ago | parent [-]

I'm guessing the syntax was the part the poster was complaining about when they complained about the "dev experience".

marginalia_nu 5 hours ago | parent [-]

Dunno, there are other aspects of environment variables that deteriorate the dev experience. They're very conducive to spooky action at a distance, since they're silently being passed along from parent-process to child-process (except when they aren't).

They can cause a lot of annoying bugs, and sometimes it's hard to track down where they are coming from (especially when dealing with stuff running in containers).

77pt77 39 minutes ago | parent [-]

> except when they aren't

Like sudo for example.

So many problems related to that.