PROPOSAL: Implicit conversions of integer literals to floating

spir denis.spir at gmail.com
Thu Dec 30 17:41:59 PST 2010


On Thu, 30 Dec 2010 21:13:05 +0100
Don <nospam at nospam.com> wrote:

> Yes, but OCaML isn't a C-family language, inheriting C's broken 
> treatment of literals.

Just for information (I really mean information, not starting a new discussion): was it proposed to let down such legacy mess form C at the time when D1-->D2 was designed?
I know one of D's principles is that idioms that look like C code should have C's semantics (my words). But a major verson change...

Denis
-- -- -- -- -- -- --
vit esse estrany ☣

spir.wikidot.com



More information about the Digitalmars-d mailing list