Sujet : Re: That depends... (Was: Regarding assignment to struct)
De : lew.pitcher (at) *nospam* digitalfreehold.ca (Lew Pitcher)
Groupes : comp.lang.cDate : 04. May 2025, 19:16:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vv8atg$2f5m5$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)
On Sun, 04 May 2025 10:59:56 -0700, Tim Rentsch wrote:
[snip]
For what it's worth, those are my thoughts on the question.
Thanks, Tim.
Your reply was exactly what I was looking for.
I, too, started my C journey with K&R, and even though that
"Recent Changes to C" addendum (afaict, only published in
the 1983 edition of "UNIX programmer's manual Volume 2", and
(later) on Dennis Ritchie's Bell Labs webpage) talked about
structs as closer-to-first-class objects, I never really
tried them. Nor have I seen them used in the various open-source
projects that I've read through.
Now, I have a clearer idea of the benefits and pitfalls of
using structs in the way "Recent Changes" and the C standard
say that they can be used.
Thanks, again, for the thoughtful reply
-- Lew Pitcher"In Skills We Trust"