Re: I like dlang but i don't like dub

2022-03-22 Thread H. S. Teoh via Digitalmars-d-learn
On Tue, Mar 22, 2022 at 05:36:13PM +, IGotD- via Digitalmars-d-learn wrote: > On Friday, 18 March 2022 at 18:16:51 UTC, Ali Çehreli wrote: > > > > The first time I learned about pulling in dependencies terrified me. [...] > >

Re: I like dlang but i don't like dub

2022-03-22 Thread IGotD- via Digitalmars-d-learn
On Friday, 18 March 2022 at 18:16:51 UTC, Ali Çehreli wrote: The first time I learned about pulling in dependencies terrified me. (This is the part I realize I am very different from most other programmers.) I am still terrified that my dependency system will pull in a tree of code that I

Re: I like dlang but i don't like dub

2022-03-22 Thread Adam D Ruppe via Digitalmars-d-learn
On Tuesday, 22 March 2022 at 14:44:59 UTC, Marcone wrote: Why is dmd unable to import modules installed by dub using the import command like it does with the Phobos library? He can't send these modules to Linker? Needing to be passed to dmd via command line. I think it could be all automatic.

Re: I like dlang but i don't like dub

2022-03-22 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 22 March 2022 at 14:44:59 UTC, Marcone wrote: Why is dmd unable to import modules installed by dub using the import command like it does with the Phobos library? He can't send these modules to Linker? Needing to be passed to dmd via command line. I think it could be all automatic.

Re: I like dlang but i don't like dub

2022-03-22 Thread Marcone via Digitalmars-d-learn
Why is dmd unable to import modules installed by dub using the import command like it does with the Phobos library? He can't send these modules to Linker? Needing to be passed to dmd via command line. I think it could be all automatic.

Re: I like dlang but i don't like dub

2022-03-21 Thread AnimusPEXUS via Digitalmars-d-learn
On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to

Re: I like dlang but i don't like dub

2022-03-21 Thread Marcone via Digitalmars-d-learn
The DMD compiler could import the modules directly with the import command just like it does with the modules in the phobos library.

Re: I like dlang but i don't like dub

2022-03-21 Thread H. S. Teoh via Digitalmars-d-learn
On Sun, Mar 20, 2022 at 07:51:38AM -0700, Ali Çehreli via Digitalmars-d-learn wrote: > On 3/20/22 05:27, Adam D Ruppe wrote: > > > So if it just coincidentally happens to be the same code, I'd > > actually rather copy/paste it than import it. > > This is very interesting because it is so much

Re: I like dlang but i don't like dub

2022-03-21 Thread Tobias Pankrath via Digitalmars-d-learn
On Monday, 21 March 2022 at 10:29:53 UTC, Alexandru Ermicioi wrote: On Friday, 18 March 2022 at 21:04:03 UTC, H. S. Teoh wrote: On Fri, Mar 18, 2022 at 11:16:51AM -0700, Ali Çehreli via Digitalmars-d-learn wrote: tldr; I am talking on a soap box with a big question mind hovering over on my

Re: I like dlang but i don't like dub

2022-03-21 Thread Alexandru Ermicioi via Digitalmars-d-learn
On Friday, 18 March 2022 at 21:04:03 UTC, H. S. Teoh wrote: On Fri, Mar 18, 2022 at 11:16:51AM -0700, Ali Çehreli via Digitalmars-d-learn wrote: tldr; I am talking on a soap box with a big question mind hovering over on my head: Why can't I accept pulling in dependencies automatically?

Re: I like dlang but i don't like dub

2022-03-21 Thread rikki cattermole via Digitalmars-d-learn
On 21/03/2022 11:19 PM, Tobias Pankrath wrote: This would be much easier, if there were a `dub provide` (or whatever) that builds all deps for a project, installs them into a given prefix/path and makes them usable from `dub describe` afterwards, so that dub describe works more or less like

Re: I like dlang but i don't like dub

2022-03-21 Thread Tobias Pankrath via Digitalmars-d-learn
On Monday, 21 March 2022 at 09:25:56 UTC, Dadoum wrote: On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many

Re: I like dlang but i don't like dub

2022-03-21 Thread Dadoum via Digitalmars-d-learn
On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to

Re: I like dlang but i don't like dub

2022-03-20 Thread Ali Çehreli via Digitalmars-d-learn
On 3/20/22 05:27, Adam D Ruppe wrote: > So if it just coincidentally happens to be the same code, I'd actually > rather copy/paste it than import it. This is very interesting because it is so much against common guidelines. I first read about such copy/paste in a book (my guess is John

Re: I like dlang but i don't like dub

2022-03-20 Thread Adam D Ruppe via Digitalmars-d-learn
On Friday, 18 March 2022 at 18:16:51 UTC, Ali Çehreli wrote: As a long-time part of the D community, I am ashamed to admit that I don't use dub. I am ashamed because there is no particular reason, or my reasons may not be rational. dub is legitimately awful. I only use it when forced to, and

Re: I like dlang but i don't like dub

2022-03-19 Thread mee6 via Digitalmars-d-learn
On Friday, 18 March 2022 at 21:04:03 UTC, H. S. Teoh wrote: Review the code you say? Ha! If you were that diligent, you'd have written the code yourself in the first place. Not likely. That logic doesn't make sense. Reading code takes way less time than writing good code, especially for

Re: I like dlang but i don't like dub

2022-03-19 Thread Guillaume Piolat via Digitalmars-d-learn
On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to

Re: I like dlang but i don't like dub

2022-03-18 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Mar 18, 2022 at 11:16:51AM -0700, Ali Çehreli via Digitalmars-d-learn wrote: > tldr; I am talking on a soap box with a big question mind hovering > over on my head: Why can't I accept pulling in dependencies > automatically? Because it's a bad idea for your code to depend on some

Re: I like dlang but i don't like dub

2022-03-18 Thread Ali Çehreli via Digitalmars-d-learn
tldr; I am talking on a soap box with a big question mind hovering over on my head: Why can't I accept pulling in dependencies automatically? On 3/18/22 07:48, H. S. Teoh wrote: > As a package manager, dub is OK, it does its job. As a long-time part of the D community, I am ashamed to admit

Re: I like dlang but i don't like dub

2022-03-18 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Mar 18, 2022 at 04:13:36AM +, Alain De Vos via Digitalmars-d-learn wrote: > Dlang includes some good ideas. > But dub pulls in so much stuff. Too much for me. > I like things which are clean,lean,little,small. > But when i use dub it links with so many libraries. > Are they really

Re: I like dlang but i don't like dub

2022-03-18 Thread Tobias Pankrath via Digitalmars-d-learn
On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to

Re: I like dlang but i don't like dub

2022-03-18 Thread Cym13 via Digitalmars-d-learn
On Friday, 18 March 2022 at 04:13:36 UTC, Alain De Vos wrote: Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to

I like dlang but i don't like dub

2022-03-17 Thread Alain De Vos via Digitalmars-d-learn
Dlang includes some good ideas. But dub pulls in so much stuff. Too much for me. I like things which are clean,lean,little,small. But when i use dub it links with so many libraries. Are they really needed ? And how do you compare to pythons pip. Feel free to elaborate.