Re: Alternative typeof syntax

2010-05-19 Thread Clemens
Ary Borenszweig Wrote:

> Clemens wrote:
> > Nick Sabalausky Wrote:
> > 
> >> Besides, I love member access syntax in general. In addition to (safely) 
> >> reducing parenthesis, it also sidesteps the oddity that nested function 
> >> calls are written/read *backwards* from the order of execution (ie, 
> >> "A(B(C()))" means "call C, then B, then A"). I've even been toying with 
> >> the 
> >> idea of a language design that places primary emphasis on member-call 
> >> syntax 
> >> and consistent left-to-right ordering.
> > 
> > You mean like Smalltalk?
> 
> You mean like Ruby? :-)

Heh, yes ;)

Of course Smalltalk was there first, prior art and all that. I had some fun 
with it again over the weekend... it's a really neat language, a shame that it 
never really caught on in a big way. Perhaps the whole image-based development 
thing was just too different from how everyone was/is working.

By the way, another interesting (though less widely known) language that also 
builds upon that legacy is Io: http://www.iolanguage.com/


"The Right Tool" site

2010-05-19 Thread bearophile
Results for the "therighttool" site about D:
http://therighttool.hammerprinciple.com/languages/d

It seems lot of people thinks "This language is likely to be a passing fad" 
about D.

Bye,
bearophile


Re: "The Right Tool" site

2010-05-19 Thread Bill Baxter
On Wed, May 19, 2010 at 3:18 AM, bearophile  wrote:
> Results for the "therighttool" site about D:
> http://therighttool.hammerprinciple.com/languages/d
>
> It seems lot of people thinks "This language is likely to be a passing fad" 
> about D.

Interesting.  But they seem to think the same about a lot of languages
that don't yet have a shelf of books in every bookstore devoted to
them:
http://therighttool.hammerprinciple.com/statements/this-language-is-likely-to-be-a-passing-fad

(Ruby onward, the actual score for "this is a fad" must be relatively
low, because it doesn't appear in the list of top attributes when you
click on the language itself.)

--bb


Re: "The Right Tool" site

2010-05-19 Thread Justin Johansson

bearophile wrote:

Results for the "therighttool" site about D:
http://therighttool.hammerprinciple.com/languages/d

It seems lot of people thinks "This language is likely to be a passing fad" 
about D.

Bye,
bearophile


Fads are generally things that are significantly popular for at least 
some duration greater than Planck time.


D has its band of Robin Hood(s) and Many Merry (Wo)Men, and though it 
has existed for significantly longer than Planck time it can hardly be 
said that D has at any instant been significantly popular.  This is not 
a comment on the worth of D as a programming language; simply an 
observation that D does not meet the definition of a fad by any stretch.


Cheers
Justin Johansson


Re: Samples directory

2010-05-19 Thread Andrej Mitrovic
I often find non-working samples in other languages/tools. For example, the 
Python source code comes with a sample folder. And there's a script called 
ss1.py, which raises an exception with the message "This code is not secure in 
Python 2.2 and later". Python 2.2 was released in 2001, so I assume the samples 
directory is not really maintained anymore. There are many more examples like 
this, and in other languages/tools as well.

But how many people generally know of or would check the samples directory?

Personally, I tend to get my examples from either the documentation or from a 
google search, tutorials found on the internet, etc. The internet is probably 
the best place to store the samples to (e.g. a wiki), it can be maintained, 
which means people could always get the most up-to-date samples. 

Compare this with having a sample file in the zipped DMD archive that you later 
realize has some code that is not really safe. You will end up having to 
re-pack and redistribute the entire archive. So imo, if there are any samples 
in the archive they have to be kept simple and clean.

Thoughts?


Re: News Reader for iPod?

2010-05-19 Thread Sean Kelly
Walter Bright  wrote:
> Sean Kelly wrote:
> > It's greatest selling point is that it's the only one.
> 
> That's interesting, given there's supposed to be 75,000 or so apps.
> 

Most people I talk to these days have never even heard of Usenet though.
 Also, 50,000 of those apps are flashlights. :-)


Re: "The Right Tool" site

2010-05-19 Thread Neob Stojec
Bill Baxter Wrote:

> On Wed, May 19, 2010 at 3:18 AM, bearophile  wrote:
> > Results for the "therighttool" site about D:
> > http://therighttool.hammerprinciple.com/languages/d
> >
> > It seems lot of people thinks "This language is likely to be a passing fad" 
> > about D.
> 
> Interesting.  But they seem to think the same about a lot of languages
> that don't yet have a shelf of books in every bookstore devoted to
> them:
> http://therighttool.hammerprinciple.com/statements/this-language-is-likely-to-be-a-passing-fad
> 
> (Ruby onward, the actual score for "this is a fad" must be relatively
> low, because it doesn't appear in the list of top attributes when you
> click on the language itself.)
> 
> --bb

They also seem to think so about PHP, wich is still the only language that is 
widely supported by shared hosts, and the only language that many of people who 
make small and medium sized sites know. It won't die any time soon, as much as 
i want it to.


Re: Samples directory

2010-05-19 Thread Jacob Carlborg

On 5/19/10 15:28, Andrej Mitrovic wrote:

I often find non-working samples in other languages/tools. For example, the Python source 
code comes with a sample folder. And there's a script called ss1.py, which raises an 
exception with the message "This code is not secure in Python 2.2 and later". 
Python 2.2 was released in 2001, so I assume the samples directory is not really 
maintained anymore. There are many more examples like this, and in other languages/tools 
as well.

But how many people generally know of or would check the samples directory?

Personally, I tend to get my examples from either the documentation or from a 
google search, tutorials found on the internet, etc. The internet is probably 
the best place to store the samples to (e.g. a wiki), it can be maintained, 
which means people could always get the most up-to-date samples.

Compare this with having a sample file in the zipped DMD archive that you later 
realize has some code that is not really safe. You will end up having to 
re-pack and redistribute the entire archive. So imo, if there are any samples 
in the archive they have to be kept simple and clean.

Thoughts?


How about http://www.dsource.org/projects/tutorials/wiki ?


Re: Samples directory

2010-05-19 Thread Piotrek

W dniu 19.05.2010 04:51, Brad Roberts pisze:

I'm starting work right now (with existing examples) but don't expect
too much from it.
If anyone has some a good argument for me to stop I'm listing.


I don't want to stop you.. but maybe redirect the enthusiasm a little?



OK. You did convince me. I will refine samples. I will spend some days 
(actually hours since I have a hard, regular work) in hiding and share 
results with you after that.


Cheers
Piotrek


Poll: Primary D version

2010-05-19 Thread Nick Sabalausky
I'm interested in trying to gauge the current state of D version usage, so 
I've set up a poll:

http://micropoll.com/t/KEFfsZBH5F

I apologize for using MicroPoll (and all its manditory-JavaScript-ness). I 
personally hate MicroPoll but everything else I've seen is even worse and I 
don't have time to make a custom one.