[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Re: Support Java for .GNU
From: |
Martin Coxall |
Subject: |
Re: [DotGNU]Re: Support Java for .GNU |
Date: |
Wed, 18 Jul 2001 16:41:00 +0100 |
> This is what is so great about Java. Everything is reference by object.
> For instance primitive type should be Char object rather than char. If you
> use char in your program in an OOP class, I think you will get points
> deducted.
I rather get that you don't fully understand the difference between reference
types and value types. One of the problems of learning java from the straight
off, is that it is difficult to observe its flaws from the inside. Learn some
c++, then see what useful functionality Java takes away from you.
In c#, unlike Java, everything is an object, including the "primitives". ints
are, in fact, System.int32. Except, you get these as pass-by-value objects
instead of pass-by-reference. The fact that you *only* get reference types is
a glaring omission from Java, and may be rectified one day, according to
Gosling.
Strings *should* be value types, and they are in c#.
---
Martin
---
"Where laughing and smiling are not allowed"
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), (continued)
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), tali streit, 2001/07/25
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), Jeremy Petzold, 2001/07/25
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), Charles Iliya Krempeaux, 2001/07/25
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), Bradley M. Kuhn, 2001/07/31
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), Norbert Bollow, 2001/07/31
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), Dan Kuykendall (Seek3r), 2001/07/23
- Re: Java issues, and Microsoft.NET compatibility (was Re: [DotGNU]Choice of bytecode spec (was: Support Java for .GNU)), Adam Theo, 2001/07/23
- Re: [DotGNU]Re: Support Java for .GNU, Martin Coxall, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Barry Fitzgerald, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Kent Nguyen, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU,
Martin Coxall <=
- Re: [DotGNU]Re: Support Java for .GNU, Kent Nguyen, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Martin Coxall, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Adam Theo, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Norbert Bollow, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Martin Coxall, 2001/07/19
- Re: [DotGNU]Re: Support Java for .GNU, Norbert Bollow, 2001/07/19
- Re: [DotGNU]Re: Support Java for .GNU, Jeremy Petzold, 2001/07/19
- Re: [DotGNU]Re: Support Java for .GNU, Jeremy Petzold, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Barry Fitzgerald, 2001/07/18
- Re: [DotGNU]Re: Support Java for .GNU, Martin Coxall, 2001/07/18