Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

struct

24 views
Skip to first unread message

Mr Flibble

unread,
Aug 23, 2022, 5:34:39 PM8/23/22
to
Consider using struct instead of class if you don't have a class
invariant.

Also, adding a public member function to a class actually reduces
encapsulation -- prefer free functions instead.

Message ends.

/Flibble

Lynn McGuire

unread,
Aug 23, 2022, 6:37:00 PM8/23/22
to
Why ?

Lynn


Sam Varshavchik

unread,
Aug 23, 2022, 8:48:59 PM8/23/22
to
Because sometimes when people get bored they post bullshit to Usenet.

Öö Tiib

unread,
Aug 24, 2022, 3:20:13 AM8/24/22
to
That assertion is true but is unlikely to asked question.
Bullshit means that people are saying things that they have no idea
themselves if those are true, false, self-contradicting or ambiguous.
Mr Flibble well knows how to use C++ so can't be bullshit.
Lynn's question for example was ambiguous ... I did read it like
"Why message ends?"

0 new messages