digitalmars.D - what means this ? "It's no contest" on the "Rationale for Builtins"
- dennis luehring (2/2) Oct 14 2005 http://digitalmars.com/d/builtin.html
- Unknown W. Brackets (9/12) Oct 14 2005 In other words, this:
- Hasan Aljudy (17/20) Oct 14 2005 If the placement of the '?' on the start of the line confused you, think...
http://digitalmars.com/d/builtin.html at the bottom: "? It's no contest"
Oct 14 2005
In other words, this: c = (6 + 2i - 1 + 3i) / 3i; Is so many levels better than: c = (complex!(double)(6,2) + complex!(double)(-1,3)) / complex!(double)(0,3); That there can't even be any sort of contest between them. The first is simply, inarguably, better. Or, at least, that's what it says. I tend to agree. -[Unknown]http://digitalmars.com/d/builtin.html at the bottom: "? It's no contest"
Oct 14 2005
dennis luehring wrote:http://digitalmars.com/d/builtin.html at the bottom: "? It's no contest"If the placement of the '?' on the start of the line confused you, think about it like this: ------ Isn't: c = (6 + 2i - 1 + 3i) / 3i; far preferable than writing: c = (complex!(double)(6,2) + complex!(double)(-1,3)) / complex!(double)(0,3); ? It's no contest ---- it's basically saying: ----- Isn't X far preferable than writing Y ? It's no contest ----
Oct 14 2005