ugh, am i feeding trolls here?
Java for example, has a lot of stupidities that annoy the hell out of anyone who is trying to use it..
look, you're obviously entitled to your opinion, but try not to generalize too much. java and perl are two different beasts, with varying syntax and corresponding idiosyncracies. just because YOU don't dig it, don't presume that "anyone who is trying to use it" finds the syntax to be annoying. sure, there are lots of things about java (and perl) that bug me; i doubt that my pissy "i want to gc NOW" reasoning would hold up to the sun engineers' countless hours of research, experience, and development.
..having "string" as a primitive text string
uh, java doesn't have a primitive string type. there are benefits and costs associated with using String/StringBuffer objects; it's not "stupidity", it's a different programming paradigm.
just because you can "start writing" code in a specific language with fewer keystrokes hardly makes it either "better" or "easyer"(sic). i hardly see how your brevity example has anything to do with OO either way. if you just want to bash java, start a new thread.
| [reply] |
Sorry, but had to respond to this:
> Perl is better and easyer to code however, because we > don't have to write 4 lines of Perl just to be able to > start writing Perl code
So this makes shell scripting a better language than Java, C, C++, Ada, assembly, etc.?
--
feloniousMonk | [reply] |
This is also a reply to the other comment I got
Okey. A lot of the things I said in the other comment weren't really thought through. Lets clear them up:
Perl is the quickest and most enjoyable programming language that I've ever found, a lot due to the nice OO features and the fact that you don't have to write a lot of code to get things to work. C is however my second choice - it is clear and simple, yet powerfull as hell. Assembler is a good friend of mine, because where Perl saves code, Assembler saves memory. Well worth the bargain. But if I keep on the topic of Java, which is a language I cannot say I have ever had any good come from, I can count up a few things that I don't like about it in perticular - software engineering paradigms that are also solved in Perl, but in (IMHO) a much better way..
"Compile once run anywhere (where a JVM is installed)" as opposed to just "run anywhere (where a Perl interpreter is installed)" - okey, this is a very debatable subject, but I think we can agree that Java almost allways runs to slow. Right? That's because of the Virtual Machine design, which is a pretty neat trick, but not the best thing for the users... and don't give me any bullshit here - we programmers are making programs that people use, shouldn't we be tailoring it to their needs rather than our own?
The Class thing I talked about in my previous comment, except I think I was too vague... In Java, everything (with a few exceptions) is either a class or an object, which would be okey, except, you allways have to go through the (IMHO) tedious task of coding it as such. I worked as a developer for a Java firm for about a year, and was pretty happy to leave - all the frikkin' class definitions all over the place were driving me insane - not to mention the this.is.just.a.pretty.long.way.to.call.a.subroutine.that.could.just.aswell.be.called.locally(); syndrome all over the place througout the code. Sure, I can understand that some people like geneology a lot, but I for one don't.
I have never coded anything in Ada, but as for C++, well, I like it a shitload better than Java, but a few things about it annoy the hell out of me. Most of them are pretty trivial, and I'll get over them. C++ is, IMHO, a pretty great language, one of the best, but in my mind it will allways be the hack that tried to fix the shortcomings of C by extending the syntax into a messy soup. Well, whatever floats you boat :)
Now, I'm sorry if I started a flame fest, and wish to end it. EOFF (End Of Flame Fest)
| [reply] |