Do we really need const?

Bill Baxter dnewsgroup at billbaxter.com
Mon Sep 17 06:35:40 PDT 2007


Jan Claeys wrote:
> Op Mon, 17 Sep 2007 15:36:35 +0900
> schreef Bill Baxter <dnewsgroup at billbaxter.com>:
> 
>> I've certainly gotten used to the lack of const in Python
> 
> Python has immutable objects (e.g. strings & tuples).   :)

Yeh I'm really thinking more about the type of const that appears in 
front of parameters to functions, and forces you to write all your 
member functions twice in C++.  Whatever you call that form.  #3 & #4 
from Regan's list.  :-)

--bb



More information about the Digitalmars-d mailing list