November 24, 2022

On Wednesday, 23 November 2022 at 23:35:59 UTC, thebluepandabear wrote:

> >

Please stop, we get it... I'm not a moderator so I cannot enforce rules but there is NO need to continue this debate here. This software 'religiousness' is too much.

I am a moderator and I can enforce the rules. So yes, let's please drop this tired old debate about private and get back on topic. Or just let the thread die. Thanks.

November 24, 2022

On Thursday, 24 November 2022 at 02:00:15 UTC, Mike Parker wrote:

>

On Wednesday, 23 November 2022 at 23:35:59 UTC, thebluepandabear wrote:

> >

Please stop, we get it... I'm not a moderator so I cannot enforce rules but there is NO need to continue this debate here. This software 'religiousness' is too much.

I am a moderator and I can enforce the rules. So yes, let's please drop this tired old debate about private and get back on topic. Or just let the thread die. Thanks.

I broke a forum rule by critically analysing your blog?

Wow.

November 24, 2022
>

I broke a forum rule by critically analysing your blog?

Wow.

Erm... You went off topic.

November 24, 2022

On Wednesday, 23 November 2022 at 13:52:18 UTC, ryuukk_ wrote:

>

On Thursday, 17 November 2022 at 04:39:35 UTC, thebluepandabear wrote:

>

I am creating a TUI library and I have a class with the following constant fields:

class Label : Renderable {
    const string text;
    const TextAlignment textAlignment;

As for the get/set, i almost never use private, and i never use getter/setter to just access variables, it's pointless imo

Unless you expect your users to extend/override your types, then it make sense, but i personally prefer composition, as i'm not a fan of OOP

Thanks for the input, I've modified the code since then so that private isn't used, etc.

November 24, 2022

've modified the code since then so that

>

private isn't used, etc.

Also thanks for that code improvement that you did, quite nice.

November 24, 2022

On Thursday, 24 November 2022 at 03:49:16 UTC, {}() wrote:

>

I broke a forum rule by critically analysing your blog?

Wow.

Criticize my blog posts all you want. Just stop please stop derailing threads. I'm going to delete further off topic posts in this thread.

1 2 3 4 5 6 7 8 9 10 11
Next ›   Last »