ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  10 Reasons We Need Java 3.0
Subject:   primitive types are awesome
Date:   2002-08-09 04:50:19
From:   cushko
Response to: primitive types are awesome

I think you are wrong about Smalltalk.
In every smalltalk dialect 10 = 10 and 10^9 = 10^9
= is equality operator, and it works fine for small and big numbers.
== is identity operator it is not designed for numbers comparision.