View mode: basic / threaded / horizontal-split · Log in · Help
October 14, 2005
what means this ? "It's no contest" on the "Rationale for Builtins" page
http://digitalmars.com/d/builtin.html

at the bottom: "? It's no contest"
October 14, 2005
Re: what means this ? "It's no contest" on the "Rationale for Builtins" page
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"
October 14, 2005
Re: what means this ? "It's no contest" on the "Rationale for Builtins" page
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
----
Top | Discussion index | About this forum | D home