March 06, 2021
On Saturday, 6 March 2021 at 14:44:36 UTC, Imperatorn wrote:
> I'm used to just doing it manually when needed, just like I null-check my objects in c# before accessing some property for example.

How do you remember if a function handles null or not? E.g. for class references:

c = new C;
f(c); // did this modify c by `ref` parameter?
// <<< do I need to check null here?
g(c);
March 06, 2021
On Saturday, 6 March 2021 at 16:30:04 UTC, Nick Treleaven wrote:
> On Saturday, 6 March 2021 at 14:44:36 UTC, Imperatorn wrote:
>> I'm used to just doing it manually when needed, just like I null-check my objects in c# before accessing some property for example.
>
> How do you remember if a function handles null or not? E.g. for class references:
>
> c = new C;
> f(c); // did this modify c by `ref` parameter?
> // <<< do I need to check null here?
> g(c);

I basically just follow some purity rules. I'm talking C# now tho. But I guess I'd do smth similar in D.
March 06, 2021
On 3/5/2021 2:13 AM, Imperatorn wrote:
> As the title says, some of the things I know right away D already has. But is there something checkedc has that we don't?
> 
> https://github.com/Microsoft/checkedc/wiki/Extension-overview

Microsoft should have read this first:

https://www.digitalmars.com/articles/C-biggest-mistake.html

which is a far simpler scheme to do the same thing.
March 07, 2021
On Sunday, 7 March 2021 at 01:20:07 UTC, Walter Bright wrote:
> On 3/5/2021 2:13 AM, Imperatorn wrote:
>> As the title says, some of the things I know right away D already has. But is there something checkedc has that we don't?
>> 
>> https://github.com/Microsoft/checkedc/wiki/Extension-overview
>
> Microsoft should have read this first:
>
> https://www.digitalmars.com/articles/C-biggest-mistake.html
>
> which is a far simpler scheme to do the same thing.

True. I'm really impressed with your work on D, I just really don't understand why it isn't used more.

But, I think we have a slight upward trend. I've been compiling (no pun intended?) some stats from github, FB, Twitter, Reddit, Discord (activity, users etc) and I think I have evidence for a slight organic growth.

It's 2021, it's about time.
1 2
Next ›   Last »