🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Tom Ngo Tue, 19 Feb 1991 16:42
Responses to ~const 1.6: Name change
#850
Author: Tom Ngo
Date: Tue, 19 Feb 1991 16:42
26 lines
1528 bytes
Background information to this posting was in a very recent summary.

Rahul Dhesi <dhesi%cirrusl@oliveb.atc.olivetti.com> suggested that
!const might be more natural than ~const.  Here are two reasons I
originally chose "~const" instead of "!const":
    
1.  !const seems to connote that the specified member is merely "not
    const".  The semantics of my proposal call for a more active
    *overriding* of constness that would otherwise be taken on by
    virtue of membership in an enclosing structure.  I feel that this
    meaning is more closely suggested by ~const ("destroy
    constness"?).

2.  People are used to seeing ~ in declarations (as in destructors),
    whereas the idea of seeing ! is more foreign.

This is one of those important but difficult-to-debate aesthetic
issues.  !const does seem like a good alternative.  I could go either
way, but I lean toward ~const.

Comments?
--
  Tom Ngo
  ngo@harvard.harvard.edu
  617/495-1768 lab number, leave message
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads