Newsgroups: comp.lang.java.programmer
From: "Chronic Philharmonic" <karl.uppi...@verizon.net>
Date: Sat, 17 May 2008 19:19:16 GMT
Local: Sat, May 17 2008 3:19 pm
Subject: Re: Porting C++ Template to Java Generic
news:multiply-20080517013612@ram.dialup.fu-berlin.de...
> Aadain <aad...@gmail.com> writes: I inherited a "Java project" that was ill-advisedly ported from both C and >>Has anyone ever encountered this type of problem, >>or can anyone see a way around this issue? > In Java, »*« only applies to primitive types, which cannot be > On this low level you would need to define an implementation > Often, it will be better to re-design and re-implement in Java. C++. The Java code had in/out parameters, HVALUE type return types that you had to check (without the benefit of the Win32 "cracker" macros -- instead of throwing/catching exceptions), and monstrosities such as "MutableInt". It was not Java, it was Win32 and/or C and/or C++ that you could compile down to Java byte codes and run in a JVM. The sad thing was, when the project was ported to Java, it severed its ties Port the design, not the code. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||