D const design rationale

Walter Bright newshound1 at digitalmars.com
Tue Jun 26 12:28:21 PDT 2007


Derek Parnell wrote:
> Which is obviously misnamed. It should be more like Write-Once memory <G>
> If it were truely *always* read-only then nothing would ever be written to
> it, thus it is not constant as its state has changed at least once.

Technically, ROMs are actually manufactured that way, there never was a 
write to them.

You're thinking of PROMs ("programmable read only memory"), and EPROMs 
("Erasable Programmable Read Only Memory") and EEPROMs ("Electrically 
Erasable ...").



More information about the Digitalmars-d mailing list