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).
I noticed that there is no guidelines for function pointers in the
style document. Maybe it should be?