Re: D - Unsafe and doomed

2014-01-04 Thread Organic Farmer
Oh my! My pencil is so *unsafe*. Whenever I try to write down this new no 1 chart hit, everybody just tells me my music sounds like crap. Would someone here please provide me with a *safe* pencil?

Re: D - Unsafe and doomed

2014-01-04 Thread Organic Farmer
Are there any developers left who can afford to choose their programming language for its expressive power and not for the amount of safety nets it provides. That is why D became my #1 language. But I guess that's just someone speaking who, in the ol' days, didn't have a problem even in large

Re: D - Unsafe and doomed

2014-01-05 Thread Organic Farmer
On Saturday, 4 January 2014 at 22:08:59 UTC, Andrej Mitrovic wrote: On 1/4/14, Adam D. Ruppe wrote: The big thing people have asked for before is Object foo; if(auto obj = checkNull(foo)) { obj == NotNull!Object } else { // foo is null } and i haven't figured that out yet... Here you

Re: D - Unsafe and doomed

2014-01-05 Thread Organic Farmer
* correct: whether obj converts to true or false

Re: D - Unsafe and doomed

2014-01-06 Thread Organic Farmer
Just found out that when I replace struct NotNull(T) { T obj; } with (http://arsdnet.net/dcode/notnull.d)'s definition of NotNull it all makes sense. Greets.