Am 08.06.2016 um 15:27 schrieb burjui:
On Wednesday, 8 June 2016 at 12:21:57 UTC, Jacob Carlborg wrote:
It's just that since the language support other styles of comments one
could think that all comments are supported and it will cause
confusion if only one style is supported.
That reason alone is enough. Restricting DUB special comments to only
/++/ will put users off, because now they know that there's a cool
feature in DUB, but it only works with certain types of comments, that
nobody wants to remember (why should they?), so they will decide that
this feature is either broken or unfinished and will hardly use it at all.
We could make users' lives easier, if we allowed them to just specify
the dependencies in Gradle style on a single line:
#!/usr/bin/env dub
// dependencies: "color:~>0.0.3", "vibe.d:~>0.7.28"
But the user *will* remember the filename + colon requirement? Or will
remember yet another format to specify dependencies? What if something
else, such as compiler flags or link libraries need to be specified?
I'll stay out of this discussion until there is a conclusion now.