Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Date ... Date ...Da
> If some of us had our way ... no programming language would ever
> do implicit conversions to keep lazy developers from writing bad
> code.
>
No No No…. I don't agree with you. Programming languages got a lot of enhancements in the last decades. For example, Java provide the following (coated from Java Spec Book)
"Numeric promotions are conversions that change an operand of a numeric operation to a wider type, or both operands of a numeric operation to a common type, so that an operation can be performed."
Example:
Short + Double + Int
Will be converted:
Double + Double + Double
Don't tell me that I should not be "Lazy Programmer", and I should do the following:
(double) Short + (double) Double + (double) Int
; )
> Just write good code and you'll never have to think about it again.
Oh Really! Received on Thu Apr 15 2004 - 12:38:33 CDT
![]() |
![]() |