Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java is about to get templates, like C++.


  • From: ara_e@xxxxxxxxxxxxxxx (Ara Abrahamian)
  • Subject: Java is about to get templates, like C++.
  • Date: Sun, 27 Sep 1998 23:25:09 +0330

hi!
Well said!

I have questions:
1- GJ converts templates to normal Java. So we lose template type info
during debugging?
2- Can we define classes like "public class Point<int> {" and like? What
about those ugly template inheritance we had in C++? Also mixing exceptions
and templates was a pain, will it be in GJ too?
3- Seems we will still need those Integer, Double, etc classes?
4- I remember once Gosling talked about something called "lightweight
object" or something like that! Is this GJ covering it? Seems it should do
object creating/GC much better for small objects like Integer, Point, etc.

Ara Abrahamian
bi!


> Also templates are great at code writing/compile time - but a nightmare
> when it comes to debugging. All those horrendously long symbol names,
> confuse both the debugger and me!





---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx