Re: D community in Sweden/Stockholm?

2013-03-01 Thread Mikael Lindsten
2013/2/27 Samuel Lampa samuel.la...@gmail.com: Hi, I was just wondering how the D community in Sweden looks? If nothing else, maybe the Swedes here could introduce yourself with a line (locationand what you do with D)? I'm from Jönköping. Software consultant (developer), currently doing

Re: Increment / Decrement Operator Behavior

2012-06-05 Thread Mikael Lindsten
2012/6/5 Jonathan M Davis jmdavisp...@gmx.com I think that Bernard is being a bit harsh, but in essence, I agree. Since the evaluation order of arguments is undefined, programmers should be aware of that and code accordingly. If they don't bother to learn, then they're going to get

Re: Is the D community lacking development tools?

2012-05-24 Thread Mikael Lindsten
On Tuesday, 22 May 2012 at 11:21:14 UTC, Roman D. Boiko wrote: On Tuesday, 22 May 2012 at 10:59:04 UTC, Jacob Carlborg wrote: On 2012-05-22 12:03, Roman D. Boiko wrote: http://d-coding.com/2012/05/22/is-the-d-community-lacking-development-tools.html I agree with basically everything in that

Re: Review of Jose Armando Garcia Sancio's std.log

2012-03-01 Thread Mikael Lindsten
On Monday, 27 February 2012 at 18:10:15 UTC, Kalle Svensson wrote: * I agree that it is a good idea just to use few log levels. * I think is it is a misstake not to let formatting of the whole log message be pluggable (i.e. not the free text message the programmer writes). If I have created a

Re: D to Javascript converter (a hacked up dmd)

2012-02-29 Thread Mikael Lindsten
2012/2/29 Adam D. Ruppe destructiona...@gmail.com 4) This is an insane idea, but one that came to mind. I'm testing this by piping the generated JS into dmdscript. dmd runs insanely fast when compiling this code. Phobos is kinda slow to compile, but you don't have to use it here. Write D1

Re: Is empty array null?

2012-02-28 Thread Mikael Lindsten
2012/2/28 Pedro Lacerda pslace...@gmail.com So are a newly allocated array and a null one just the same thing? int[] a = [], b = null; assert(a == b); assert(a.length == b.length); assert(a.ptr == a.ptr); Hi all, Sorry if this is a stupid question - I'm new to D but I've

Re: Is empty array null?

2012-02-28 Thread Mikael Lindsten
2012/2/28 Jesse Phillips jessekphillip...@gmail.com string is an array, alias immutable(char)[], so the same rules apply. I know about string being an alias, hence the question. This means that I can doif (someString.length) { ... }without worrying about the null case (?). That's