it's fast as hell, very polished and extremely stable. net was introduced around the same time the 1.5 JVM was coming around.įast forward to today and the 1.6 JVM is amazing. net hit the scene and if memory serves me correctly. most people i know stopped programming in java when. it was very common and fun just to sit back and watch your server die a slow death when 10 people connected to the app at once. unfortunately, the 1.4 JVM was horrible when it came to speed. ![]() The whole reason behind the Java hate is because way back in the 1.4 JVM days, java was the language to use when you wanted to write BIG company applications. You keep saying the same things again and again, if your IDE can figure out the proper type definitions and arguments, you would figure the JVM could handle it. ![]() You can work around these with anonymous classes and reflection, but again, it's an extremely verbose way of doing things that adds more code which clouds the actual important code. The fact that everything is a class (except for the things that aren't) will give you a rough time of things once you really start trying to be tricky. Any time I'm writing the same code again and again, it's distracting me from fixing the actual problem.Įverything is a nail. Writing Java when coming from another high level language feels like you are stuttering, it is very repetitive.īoilerplate. It's very verbose and repetitive, this means that the smart bits of your code get drown out in the deluge of type declarations, temporary classes and factories.įactory classes, particularly those that aren't declared static so you can just call a factory class function out of the blue. Here are the things that annoy me the most: This is why you hear so much bad stuff about it. However, as a language, Java truly is horrible. This is awesome because it lets me think about what the logic is doing without having to worry so much about these small issues. The JVM with JIT is pretty much fast enough for just about anything, you're not going to get hard-realtime, but since you really can't get hard-realtime over random latency of the internet, it's not much of an issue.īeing a garbage collected language means there is a whole class of problems I can ignore, don't have to think about, and don't have to write code for. You can set up a massively multithreaded java server app, and the thing pretty much just runs. It has a great set of tools along with it, eclipse and the like have a huge set of integrations with the build system, your project, and java as a whole. Now, follow me here, Java as a platform is great because: I hate Java because it's the only platform that makes sense in so many ways. I'm too late in the game for anyone to read this, but I'm gonna throw in my two cents anyways: Many people have even forgotten that there is a whole world full of people who don't get around in powered wheelchairs and don't need machines to help them chew, and argue passionately about how much they love their Chewing Completion and Integrated Mobility Environments and how easy it is to sort of slowly shamble up stairs on these prosthetic legs (which sounds impressive after you've spent five years in a wheelchair), endlessly haranguing those who choose to run on their own two feet about what they are missing by not getting their legs chopped off. Of course, that didn't work, so a large aftermarket in prostheses has sprung up, and lately the language has been sort of growing some of the power features it previously rejected, although they pretty are much bolted on. It's often hard to point to a language's philosophy because it is embodied in a long sequence of little decisions that are easy to dismiss in isolation, but that's how I see the philosophy of Java. You want access to internals, subclass the compiler objects, closures, iterators, lazy evaluation, the list goes on chop chop chop Creating a new object? You'd best type the type of the object three or four times before we'll believe that you got it right. Multiple inheritance? You might abuse it. ![]() ![]() Operator overloading? You might abuse it. Java's solution to the problem of C++ allowing you to blow your foot off was to chop off your legs. From a 2 year old thread asking the same question:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |