On 26/04/16 07:54, rikki cattermole wrote:
On 26/04/2016 8:41 AM, Brad Roberts via Digitalmars-d wrote:
Something that's been bouncing around in the back of my head for a
while. I can't decide if it's a good idea or a really bad one.
Consider a series of small modules that are essentially language
mappers. Something like:
std.adapt.ruby
std.adapt.python
std.adapt.mumble
Each could contain little functions that map between idioms and names
from the various languages to the d native version. There's no way
that we can or should have all those sorts of little helpers in the core
library, but that doesn't mean that they shouldn't exist or wouldn't be
useful.
I like this idea, it would help jump start people too.
I don't like it. It would fragment the language to the point where D
experts are likely to look at code and not know what it means.
May I remind you that "there is more than one way to do it" is the motto
for Perl, and we all know how that one turned out in the end.
Shachar