Charles Miller lists some of his Java peeves. I share his dislike for the artificial distinction between primitive data types (int, float, char, and the like) and objects. I have to make this distinction to beginning programmers in my books, and Java would be easier to learn (and use) if everything was an object.

As it is, Java has three rules for the basic representations of data: primitive data types work one way, objects work another, and Strings work both ways.

Add a Comment

These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. A comment may not include more than three links. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).