4 ms·
Why do people hate java so much? For its job, it's pretty well designed.
by yters 19y ago
Why do people hate java so much? For its job, it's pretty well designed.
- Hexstream 19y agoOne great way to be hated is to be popular.
- maxwell 19y agoAnother is to be a crappy language. Java is a big platform with a dumb interface; it's the Anti-Lisp. It's a deformity on the programming language tree of life, encasing all those terrible procedural habits and style into another layer of complexity. You have to say everything three or four times. How does anyone put up with it?
- cstejerean 19y agoI've used Java successfully on a number of projects. If you have a good IDE a lot of the fluff is taken care of for you (try writing Lisp in Notepad, it isn't much fun either). I see Java as a good C++ replacement. I refuse to write anything in Java that I wouldn't want to write in C++ (for example I've refused to do web programming in Java).
- apathy 19y agoThere are some fantastic libraries in Java. Your approach to it seems reasonable, although I find myself writing extension modules (for R, PHP, Python, Perl even) in regular old C... not because I particularly dislike C++ or Java, but because if I can get away with just C, it's less likely that I'll step in a template-error or uncaught-exception shitstorm with a 10-page backtrace.
- cstejerean 19y agoThanks for pointing that out. I should have stated this in my comment, but I don't like C++ much (which is why I'd rather use Java over C++). But I absolutely love regular old C. It's a beautiful, simple programming language. I think C is a perfect language for implementing programming languages, libraries and operating system.
- trevelyan 19y agoI quite like C++. Java is a nice language but is absolute hell to develop iterative web applications with at any reasonable speed. You need a sophisticated in-house division of labour to really use it effectively. The real danger of the java language is that it's hostile to lean/agile development. If you're in a market that iterates quickly, that can be a real problem. If you work for a bank... less so.
- cstejerean 19y agoAnd you find C++ easier for developing iterative web applications? Just to make it clear, I will never use Java (or PHP for that matter) to develop web applications.
- procrastitron 19y agoActually, for systems programming (kernels and languages) I would want a language with a strong (preferably static) type system.
- apathy 19y agoThe best ''Java'' theme I have ever seen was the old Perl Journal issue with 'Special Java edition!' on the cover. It a cup of coffee in which damp cigarette butts bobbed about. God I miss TPJ. Say what you like about the language, there has never been a significantly more interesting programming journal (to my knowledge) than TPJ.
- yters 19y agoInteresting factoid: one of the potential languages for Sun's VM was a variant of Scheme. Unfortunately, it lost to Java.
- breily 19y agoI assume its because programming in Java is excruciatingly painful - its syntax just doesn't feel natural and every program is many times longer than a corresponding Python program. Or lisp, I assume.
- tx 19y agoNobody hates Java, it's too generic and plain to generate such strong feelings. People don't care for language, but they do dislike Java Programmers because a big percentage of them, but not all of course, got into CS only due to their neighbor once saying "I hear programmers have no problem finding jobs". The dumbest, least-motivated, non-reading bunch of individuals with engineering titles I've ever known were all Java or VB programmers. The kind who never heard of slashdot let alone reddit or joelonsoftare and use "wizards" to generate SQL queries. Heck, these dudes even call DELL or HP customer support (!) when their home computers stop booting. Moreover, even smarter Java programmers have their issues. Nobody believes in design patters as much as Java people do. They never call new() on anything, they MUST have a factory that creates objects. They produce myriads of code that DOES NOTHING, but encapsulates some other junk that in return also does very little. These dudes can get quite aggressive if you try to point out to them that they never actually do anything but most of their time is spent DESIGNING (oh! they LOVE this word, in fact they don't like to be called programmers, they like to be called architects). I absorbed Java like most of us in college, but I will never go to work in Java shop because the danger of being surrounded by these morons is a lot greater there than anywhere else.
- ardit33 19y agohaha.... ouch. I have to use Java at work (J2ME) and it is not that bad. J2ME is more similiar to java 1.2 and doesn't have the overbloat of the latest versions. But I do agree, especially with the design pattern part. I have a co-worker that loves to boast about his "knowledge" about design patterns, and he is the kind of dev. you described on the second part of your comment.
- cstejerean 19y agoVery well said. If I needed to hire Java programmers I would probably advertise a Python position. This would weed out 90% of the junk candidates.
- jcromartie 19y agoAs long as you tell them that it's actually a Java job as soon as they get in the door... and then you'll weed out another 90% the candidates :)
- staticshock 19y agobecause java is the kingdom of nouns http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom...
- jcromartie 19y agoIt's not that everybody hates Java; it's that nobody loves Java. I'd guess that those who do say "I love Java" probably don't know any other languages. Maybe if the only choices were Visual Basic 5 and Java...?
- deleted 19y ago[deleted]
- run4yourlives 19y agoEven then, it would really depend on what you needed to build.
- brlewis 19y agoIt's job was to provide a gentle path away from C++. I'm not interested in a gentle path away from C++, I just want to write good applications. I don't hate Java though. I can't complain because I do all my Java programming in Scheme.