On 16 October 2012 11:22, Sönke Ludwig <span dir="ltr"><<a href="mailto:sludwig@outerproduct.org" target="_blank">sludwig@outerproduct.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">><br>
> O_O .. That might be one of the worst things I've ever seen!<br>
> It doesn't even make sense. Is there actually a vibe.d file? And why try<br>
> to make the import statement look like a source filename?<br>
<br>
</div>Strong words aside, let me tell you that the "vibe.d" import is just a<br>
small convenience for quick projects, so that you don't have to write<br>
yuor own main() function - something that in general appeals to quite a<br>
few people when using web frameworks in dynamic languages.<br>
<br>
In this context it was just a funny idea to name it like this (named<br>
after the project, not to make it look like a file, of course) and make<br>
it a kind of unique trait. However, this is by no means a pattern. The<br>
module that imports everything is "vibe.vibe".<br>
</blockquote></div><br><div>What's wrong with the reasonably established '_' module though? Trying to make it appear like a source filename is a deception. That may confuse the programmer.</div><div>That said, I didn't realise the project incorporated '.d' in the project name. I was under the impression it was being carried to other projects too that may not share the same naming pun.</div>