Re: Article: Dispelling Common D Myths

2012-10-13 Thread Era Scarecrow

On Sunday, 14 October 2012 at 03:24:16 UTC, torhu wrote:
In my view, D2/Phobos2 is still playing catch-up to D1/Tango.  
The D1 compiler is less buggy, Tango is still better than 
Phobos2, library could well be better.


I wouldn't recommend anyone to start a new project in D1.  But 
I also feel that some people are jumping the gun when they talk 
about D2's maturity.


 I'll agree; I haven't used much of Tango myself but I can 
remember where some of the problems were. I had trouble trying to 
get a good enough foot-hold on the library while Phobos is 
generally simpler.


 I wish D2 was more mature, several things seem to crop up. 
Duplicate functions with only const/mutable differences in some 
cases, the $ not fully implemented, phobos still evolving; Things 
like this can be worked around to a degree. I can't help but wish 
it was already perfect.



 However; D2 IS mature enough for a good number of tasks, and 
even the hickups I'm finding they are far easier (and more 
pleasant) to work around (comparing to C++, syntax and how ugly 
it is alone, not to mention how confusing the STL is). Also D2 
where there's common/potential for mistakes and ambiguities it 
errs and tells you (add parentheses, or no assignment in an if 
statement, or a statement does nothing) rather than adding extra 
rules to handle dozens of potential cases that gets more 
confusing with each iteration.


 Plus getting a hang of Templates is a breeze once I got a good 
foothold on it all. I'm no expert with templates, but problems 
are easy to find quickly and resolve with template bugs.


Re: Article: Dispelling Common D Myths

2012-10-13 Thread torhu

On 10.10.2012 09:06, Jacob Carlborg wrote:

On 2012-10-10 08:38, Nick Sabalausky wrote:

Some stuff I thought needed to be said and shared:

http://semitwist.com/articles/article/view/dispelling-common-d-myths



Personally, I would have pointed out that there are some other useful
modules in Tango that Phobos still is missing, cryptographic and log
related modules.


Here are some other things that I can't remember seeing in Phobos 2:

- An easy-to-use Process module with piping, etc
(Yes, I know it's been in the pipeline for some time.)
- A cross platform way of loading dynamic libraries
(std.loader always sucked, you had to customize it to actually use it)

There could be some others that I'm forgetting.

In my view, D2/Phobos2 is still playing catch-up to D1/Tango.  The D1 
compiler is less buggy, Tango is still better than Phobos2, library 
could well be better.


I wouldn't recommend anyone to start a new project in D1.  But I also 
feel that some people are jumping the gun when they talk about D2's 
maturity.


Re: Article: Dispelling Common D Myths

2012-10-11 Thread Nick Sabalausky
On Thursday, 11 October 2012 at 18:49:01 UTC, Jonathan M Davis 
wrote:

On Thursday, October 11, 2012 14:43:54 Nick Sabalausky wrote:

Cool! First time I've ever been translated :)


Well, it can't be all that hard. Most of the time it just 
amounts to

"Javascript sucks!" or "Get off my lawn!", right? ;)



Hey, yea, I wonder why nobody's translated that stuff yet! ;)

Ok, I'll get the ball rolling:

JavaScriptはばかです。



Re: Article: Dispelling Common D Myths

2012-10-11 Thread mist
On Thursday, 11 October 2012 at 18:49:01 UTC, Jonathan M Davis 
wrote:

On Thursday, October 11, 2012 14:43:54 Nick Sabalausky wrote:

Cool! First time I've ever been translated :)


Well, it can't be all that hard. Most of the time it just 
amounts to

"Javascript sucks!" or "Get off my lawn!", right? ;)

- Jonathan M Davis


Well, looking at how "clever" this platform is (as all attempts 
to escape @safe in post have failed), I am seriously considering 
translating also something from the "Javascript sucks!" series 
too.


Re: Article: Dispelling Common D Myths

2012-10-11 Thread Jonathan M Davis
On Thursday, October 11, 2012 14:43:54 Nick Sabalausky wrote:
> Cool! First time I've ever been translated :)

Well, it can't be all that hard. Most of the time it just amounts to 
"Javascript sucks!" or "Get off my lawn!", right? ;)

- Jonathan M Davis


Re: Article: Dispelling Common D Myths

2012-10-11 Thread Nick Sabalausky
On Thu, 11 Oct 2012 16:03:51 +0200
"mist"  wrote:

> On Wednesday, 10 October 2012 at 07:02:52 UTC, Nick Sabalausky 
> wrote:
> > Some stuff I thought needed to be said and shared:
> >
> > http://semitwist.com/articles/article/view/dispelling-common-d-myths
> 
> Have translated it to russian and published in one of ru IT 
> portals: http://habrahabr.ru/post/154345/
> 
> If you have any objections - let me know, please :)

Cool! First time I've ever been translated :)

And no, no objections of course.

I did notice one little glitch though, in the last paragraph of the "D
allows manual memory management" section, it looks like the web software
misinterpreted the @safe as some special formatting (Trying to point
to a user named "safe"?). I don't know whether or not that system has a
way around that though.



Re: Article: Dispelling Common D Myths

2012-10-11 Thread mist
On Wednesday, 10 October 2012 at 07:02:52 UTC, Nick Sabalausky 
wrote:

Some stuff I thought needed to be said and shared:

http://semitwist.com/articles/article/view/dispelling-common-d-myths


Have translated it to russian and published in one of ru IT 
portals: http://habrahabr.ru/post/154345/


If you have any objections - let me know, please :)


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Adam D. Ruppe
On Wednesday, 10 October 2012 at 13:41:38 UTC, Simen Kjaeraas 
wrote:

I read that as diplodocus. Is that intended? :p


I wish!


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Simen Kjaeraas

On 2012-10-10, 14:28, Adam D. Ruppe wrote:

Another thing I'm (slowly) working toward for the dead D projects thing  
is opening my dpldocs.info to third party submissions.


It actually already kinda works: http://dpldocs.info/search/index
but isn't fully done yet.


I read that as diplodocus. Is that intended? :p

--
Simen


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Adam D. Ruppe
On Wednesday, 10 October 2012 at 13:13:21 UTC, Jacob Carlborg 
wrote:

It seems like most ddoc macros are not expanded.


Right, none are. I have the macro expander from dmd ported to D 
now, but I'm not sure I actually want to use it yet, especially 
since I'll probably just link back to the original website anyway.


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Jacob Carlborg

On 2012-10-10 14:28, Adam D. Ruppe wrote:

Another thing I'm (slowly) working toward for the dead D projects thing
is opening my dpldocs.info to third party submissions.

It actually already kinda works: http://dpldocs.info/search/index
but isn't fully done yet.



It seems like most ddoc macros are not expanded.

--
/Jacob Carlborg


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Paulo Pinto
On Wednesday, 10 October 2012 at 07:02:52 UTC, Nick Sabalausky 
wrote:

Some stuff I thought needed to be said and shared:

http://semitwist.com/articles/article/view/dispelling-common-d-myths


Nice entry.




Re: Article: Dispelling Common D Myths

2012-10-10 Thread Simen Kjaeraas

On 2012-10-10 08:10, Nick Sabalausky wrote:


Some stuff I thought needed to be said and shared:

http://semitwist.com/articles/article/view/dispelling-common-d-myths


Now on Reddit:

http://www.reddit.com/r/programming/comments/118y4m/dispelling_common_d_myths/

--
Simen


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Jacob Carlborg

On 2012-10-10 08:38, Nick Sabalausky wrote:

Some stuff I thought needed to be said and shared:

http://semitwist.com/articles/article/view/dispelling-common-d-myths



Personally, I would have pointed out that there are some other useful 
modules in Tango that Phobos still is missing, cryptographic and log 
related modules.


--
/Jacob Carlborg


Re: Article: Dispelling Common D Myths

2012-10-10 Thread Jacob Carlborg

On 2012-10-10 08:38, Nick Sabalausky wrote:

Some stuff I thought needed to be said and shared:

http://semitwist.com/articles/article/view/dispelling-common-d-myths



Nice, read. You might want to mention that the DMD front end is licensed 
under GPL as well.


--
/Jacob Carlborg