Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Date ... Date ...Da

Re: Date ... Date ...Da

From: moon <only_forme4_at_hotmail.com>
Date: 15 Apr 2004 10:38:33 -0700
Message-ID: <2afc1efd.0404150938.213ec01b@posting.google.com>


> 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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US