Home » U++ Library support » U++ Core » Value: why not float support?
Re: Value: why not float support? [message #30315 is a reply to message #30259] |
Fri, 24 December 2010 12:39 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
kohait00 wrote on Tue, 21 December 2010 02:20 |
and one more: design aspects for extension of upp should not only be concerned about not making code possibly bricked (this can be fixed) but also to think about 'what would be the logical, right and most usefull and most performant way'..
so, please, consider float again
|
I am still considering it. I even added value type testers already.
Anyway, to demonstrate a few things, this code would break immediately with float Value type:
float x;
SQL.Execute("select FOO from BAR where VALUE > ?", x);
which sounds quite dangerous to me. Plus we would have to define a new Null constant etc...
Perhaps it would help me if I understood what you do plan to do with it. Frankly, to depend only on Value type to induce call signature seems like a little bit dangerous practice to me... To easy to make things go very very bad.
[Updated on: Fri, 24 December 2010 12:40] Report message to a moderator
|
|
|
|
|
Value: why not float support?
By: kohait00 on Mon, 30 August 2010 10:54
|
|
|
Re: Value: why not float support?
By: mirek on Tue, 31 August 2010 15:49
|
|
|
Re: Value: why not float support?
By: kohait00 on Tue, 31 August 2010 16:11
|
|
|
Re: Value: why not float support?
By: mirek on Tue, 31 August 2010 18:49
|
|
|
Re: Value: why not float support?
By: kohait00 on Tue, 31 August 2010 22:02
|
|
|
Re: Value: why not float support?
By: gprentice on Wed, 01 September 2010 13:52
|
|
|
Re: Value: why not float support?
By: kohait00 on Wed, 01 September 2010 16:13
|
|
|
Re: Value: why not float support?
By: mirek on Thu, 02 September 2010 09:40
|
|
|
Re: Value: why not float support?
By: kohait00 on Thu, 02 September 2010 11:24
|
|
|
Re: Value: why not float support?
By: mirek on Mon, 06 September 2010 10:40
|
|
|
Re: Value: why not float support?
By: kohait00 on Mon, 06 September 2010 11:54
|
|
|
Re: Value: why not float support?
By: kohait00 on Mon, 13 December 2010 15:47
|
|
|
Re: Value: why not float support?
By: mirek on Wed, 15 December 2010 16:15
|
|
|
Re: Value: why not float support?
By: kohait00 on Wed, 15 December 2010 16:41
|
|
|
Re: Value: why not float support?
By: rylek on Mon, 20 December 2010 23:08
|
|
|
Re: Value: why not float support?
By: kohait00 on Tue, 21 December 2010 08:20
|
|
|
Re: Value: why not float support?
By: mirek on Fri, 24 December 2010 12:39
|
|
|
Re: Value: why not float support?
By: kohait00 on Fri, 24 December 2010 13:55
|
|
|
Re: Value: why not float support?
By: mirek on Sat, 25 December 2010 10:48
|
|
|
Re: Value: why not float support?
By: kohait00 on Sun, 26 December 2010 11:28
|
|
|
Re: Value: why not float support?
By: mirek on Mon, 27 December 2010 13:20
|
|
|
Re: Value: why not float support?
By: kohait00 on Mon, 27 December 2010 14:28
|
|
|
Re: Value: why not float support?
By: mirek on Mon, 27 December 2010 14:44
|
|
|
Re: Value: why not float support?
By: kohait00 on Tue, 28 December 2010 13:47
|
|
|
Re: Value: why not float support?
By: kohait00 on Mon, 07 March 2011 14:31
|
|
|
Re: Value: why not float support?
By: mirek on Mon, 07 March 2011 23:04
|
|
|
Re: Value: why not float support?
By: kohait00 on Tue, 08 March 2011 08:33
|
Goto Forum:
Current Time: Tue Jun 11 16:30:42 CEST 2024
Total time taken to generate the page: 0.02199 seconds
|