On Apr 20, 9:18=A0pm, Lambda <stephenh...@[EMAIL PROTECTED]
> wrote:
> On Apr 19, 10:32 pm, s0s...@[EMAIL PROTECTED]
wrote:
>
> > Well, I mean "better" and "best" in a very general sense, whichever
> > sense you want to interpret it on. More useful, more fun, more
> > educational, etc; or, as you already suggested, easier. Thanks.
>
> I recommend learn C++ and Java all.
I disagree. I recommend picking one and learning it. They are
both big languages and it will be easier to keep your sanity if
you focus on one. I'd further recommend picking C++. When I
started working on an alternative to C++ serialization libraries,
I worked on sup****ting basic types and standard containers.
It wasn't until later that I started thinking about sup****ting user
defined types. I didn't think through what sup****t for
user defined types would involve and just got to work on the basics.
Eventually when we added sup****t for udts we realized
that we didn't want to repeat the code over and over every time
an object gets used as part of a message. So we needed to write/
generate methods that would be part of the class. Users
of the software simply add prototypes to their cl***** and the
implementation of those methods is written in a separate file. That
works fine in C++. We briefly considered adding sup****t
for Java to our services, but we realized that Java's rule requiring a
class to be completed in the file it is started
would cause us headaches. We didn't want to attempt to add
computer-generated code to a file that has hand-written code
in it. What if we accidentally alter some hand-written code?
Plus it is simpler conceptually if you know everything in a
file is hand-written. Or it is all computer-generated. I'm
thankful to G-d for keeping us from investing a lot of time
in a language that has a rule like that. In my opinion the
rule is there as an attempt to force people who would
otherwise be able to compete with Sun to have to negotiate
with Sun. I'm happy to have stuck with C++ and think in the
long run it is the better choice.
Brian Wood
Ebenezer Enterprises
www.webEbenezer.net
"Where the Spirit of the L-rd is, there is liberty."
2 Cor. 3:17


|