Thread overview
Source code folder naming convention?
Nov 04, 2020
Vladimirs Nordholm
Nov 04, 2020
Mike Parker
Nov 04, 2020
Dennis
November 04, 2020
Hello.

Is there a "best practice" of what the source folder should be called?

I commonly see either `source` or `src` in GitHub projects, but cannot find any formal best practice naming convention.
November 04, 2020
On Wednesday, 4 November 2020 at 11:15:33 UTC, Vladimirs Nordholm wrote:
> Hello.
>
> Is there a "best practice" of what the source folder should be called?
>
> I commonly see either `source` or `src` in GitHub projects, but cannot find any formal best practice naming convention.

dub looks for both by default. Take your pick.
November 04, 2020
On Wednesday, 4 November 2020 at 11:15:33 UTC, Vladimirs Nordholm wrote:
> Is there a "best practice" of what the source folder should be called?

`dub init` creates a folder named `source`, so I would stick with that.