http://d.puremagic.com/issues/show_bug.cgi?id=5347


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Linux                       |All


--- Comment #2 from Jonathan M Davis <jmdavisp...@gmx.com> 2010-12-13 02:29:32 
PST ---
Not useful very often? How about every time that you create a pointer to an int
(or any other primitive type) and want to immediately initialize the value
that's pointed to? It seems like it would be _highly_ useful whenever dealing
with pointers to primitives. If it's not useful very often, it's because
pointers aren't used very often.

And a syntax such as new int(7) or new bool(true) would be completely
consistent with all of the other types. In fact, adding it would make the
language _more_ consistent, not less. This would be particularly true when
writing generic code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to