|Think about Loose Coupling|
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||Need Help??|
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.
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.