Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vax/ddb(4): clean up machine dependent code and improve usability



At Tue, 11 Mar 2025 14:03:05 -0400 (EDT), Mouse <mouse%Rodents-Montreal.ORG@localhost> wrote:
Subject: Re: vax/ddb(4): clean up machine dependent code and improve usability
>
> > And yes, this means you really can use "C++-like syntax" like
> > ptr->member(arg1, arg2)
>
> Yes, you can.  Again, I prefer to not; I find the clarity resulting
> from the (* ) textual reminder that there's a materialized pointer
> involved worth the three source-code characters involved.

Indeed!  Clarity from the explicit dereference is very valuable even if
the variable name is also indicative of being a pointer (e.g. funcptr).

--
					Greg A. Woods <gwoods%acm.org@localhost>

Kelowna, BC     +1 250 762-7675           RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost>     Avoncote Farms <woods%avoncote.ca@localhost>

Attachment: pgpyLRX0R2NsZ.pgp
Description: OpenPGP Digital Signature



Home | Main Index | Thread Index | Old Index