sqrt(2) must go

dsimcha dsimcha at yahoo.com
Wed Oct 19 12:12:19 PDT 2011


== Quote from Marco Leise (Marco.Leise at gmx.de)'s article
> Am 19.10.2011, 20:12 Uhr, schrieb dsimcha <dsimcha at yahoo.com>:
> > No.  Something as simple as sqrt(2) must work at all costs, period.  A
> > language
> > that adds a bunch of silly complications to something this simple is
> > fundamentally
> > broken.  I don't remember your post on implicit preferred conversions,
> > but IMHO
> > implicit conversions of integer to double is a no-brainer.  Requiring
> > something
> > this simple to be explicit is Java/Pascal-like overkill on explicitness.
> Pascal (FreePascal 2.4.0) allows sqrt(2) just fine.

LOL and Pascal was my example of a bondage-and-discipline language.  All the more
reason why we need to allow it in D come Hell or high water.


More information about the Digitalmars-d mailing list