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

"Greg A. Woods" <[email protected]>
Newsgroups gmane.os.netbsd.ports.vax
Organization Planix, Inc.
Message-ID <[email protected]>
At Tue, 11 Mar 2025 14:03:05 -0400 (EDT), Mouse <[email protected]> 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 <[email protected]>

Kelowna, BC     +1 250 762-7675           RoboHack <[email protected]>
Planix, Inc. <[email protected]>     Avoncote Farms <[email protected]>
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRuK6dmwVAucmRxuh9mfXG3eL/0fwUCZ9Cr/QAKCRBmfXG3eL/0
f50yAJ47u0Aj4k/PbPDt+3oc6rezun/5BgCcCANOsPf6kPl9nppiKEpAVzKMUNw=
=A8rD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.