C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Real World Programming, private = public

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Sat, 2 Sep 2023 17:22:32 +0100
On Sat, Sep 2, 2023 at 4:18 PM Jason McKesson wrote:
>
> You keep talking about syntax as though that was the problem. It isn't.
>
> You are asking to be able to trivially bypass access controls. That's
> the feature you want.
>
> That is not a thing the language should provide. It renders access
> controls essentially meaningless. The syntax by which it is provided
> is irrelevant when the *functionalty itself* is a bad idea.


Computer programmers are one of very few kinds of technical worker in
which this attitude is pervasive.

You can have a tight system in place, adhere to that system and abide
by its stipulations thoroughly, and yet _still_ provide a means to
circumvent the system in the event of a corner case.

You also seem to have no concept of harm reduction. C++ programmers
around the world today are typing out "#define private public".

Received on 2023-09-02 16:22:44