Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
more useful options
 
PerlMonks  

Re: A peek at the other side or, Poof and He's Gone!

by stefan k (Curate)
on Oct 22, 2001 at 17:47 UTC ( #120519=note: print w/ replies, xml ) Need Help??


in reply to A peek at the other side or, Poof and He's Gone!

Hi,
I don't want to break your happiness with Java (probably that isn't possible at the moment - at that is good if it's your job to code in Java *grin*), but I don't get the point.

Have you not been in contact with other OO languages before? Other than C++ that is. I mean, exceptions are not really new, they are available in many languages and passing them up the stack is just normal, I think.

Using a very OO-like syntax for calling methods of objects like in your second example is quite common, too. At least as far as I know.
And then one could demand that Java shall be able to make the concatenation by adding strings together with the plus operator just the same call as the one to .append (but maybe there are reasons for that that I don't know -actually this is just a sidekick).

Java is a hype-oriented language but it doesn't mean that it sucks like hell, so one should expect that some things are fine in Java.

OK, I admit: I have never coded any real life project in Java, I just did some tutorials and a course in a magazine. I found out I didn't like it, but that's no reason for me to go cursing it. In the last weeks I spent a lot of time in Ruby and it was fun (plus there is space for people new to the opensource scenery to make themselves known, because it is new ;-)). It's got exceptions and a very powerful string class, too (just as an example).

Well, in every language it is possible to code badly and well. It's just a matter of how much you know about the internals of a language, how much you really need to care about performance and maybe how intuitive it is designed.

Sorry for not feeling that enthusiastic, I hope you'll enjoy your coding in Java!

PS: Hmm, while proofreading this post I somehow feel that I'm expressing myself quite clumsy; I hope you get my point.

Regards... Stefan
you begin bashing the string with a +42 regexp of confusion


Comment on Re: A peek at the other side or, Poof and He's Gone!
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://120519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-04-20 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (488 votes), past polls