Re: This Week in D, issue 1

2015-01-15 Thread aldanor via Digitalmars-d-announce

On Thursday, 15 January 2015 at 09:46:52 UTC, Szymon Gatner wrote:
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe 
wrote:
I've started writing a weekly D newsletter. Here's the first 
issue, any feedback welcome!


http://arsdnet.net/this-week-in-d/jan-12.html

In the future, I intend to have it written by Saturday for a 
weekend release, so if you want something to appear this week, 
please try to get it to by before then.


Fantastic inititive Adam, thanks for donating your time for 
this.


An issue I have tho:

// classes are reference types, so they must be
// initialized. "MyClass c;", unlike in C++, would
// leave c as null, causing a segfault when you try
// to use it.

That is not really true, is it? In C++ "MyClass c;" is actually 
THE way to instantiate objects. I know you meant MyClass* but 
as it is now it is just plain incorrect.
Eh.. what exactly is incorrect? In C++ "MyClass c;" 
stack-allocates the class assuming the default constructor is 
there (unless of course this is a member declaration in an object 
that's static or heap-allocated). In D it doesn't, it leaves you 
with an unitialized reference type.


Re: This Week in D, issue 1

2015-01-13 Thread aldanor via Digitalmars-d-announce

On Tuesday, 13 January 2015 at 15:04:32 UTC, Adam D. Ruppe wrote:

On Tuesday, 13 January 2015 at 14:28:56 UTC, aldanor wrote:
Are you planning to make the content open-source so others 
could suggest edits more easily?


Maybe. This first one is awfully ad-hoc, it is literally the 
result of me copy/pasting links and typing up a bit of prose.


You can see the source code here: 
http://arsdnet.net/this-week-in-d/jan-12.dd



But I do certainly want it easy to get contributions, I could 
try the wiki or github. I'm kinda leaning toward github since I 
don't actually want it edited once released, then we'll have a 
more stable look back too.



Will there be an archive?


Yes, once the links are up I won't take them down and I'll have 
a list of them on the index page.


GitHub for sure!


Re: This Week in D, issue 1

2015-01-13 Thread aldanor via Digitalmars-d-announce

On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote:
I've started writing a weekly D newsletter. Here's the first 
issue, any feedback welcome!


http://arsdnet.net/this-week-in-d/jan-12.html

In the future, I intend to have it written by Saturday for a 
weekend release, so if you want something to appear this week, 
please try to get it to by before then.


Great stuff :) Are you planning to make the content open-source 
so others could suggest edits more easily? Will there be an 
archive?