Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@g-m-f C# is often considered Microsofts rip off from Java and you gotta admit that you can see why
-
Java is often considered way to verbose for a language as modern it claims to be. Even C++ is less verbose in many areas nowadays
-
xalez19378yI only used it briefly and a long time ago, my main concern was its lack of a sense of humour
-
I actually like working with Java. You can get stuff working much faster than in C++. On the other hand Java is not very efficient and has limitations that you don't have in C++.
-
@theZorgEffect Your username literally translates to (except for 'the') "the healthcare effect" from Dutch to english!
-
@linuxxx Dutch and German are quite similar, I can understand Dutch, but I can't speak or write it. Simply because they are so similar xD
-
@linuxxx it's a reference to Jean Baptiste Emanuel Zorg from the fifth element
-
So only two people making some point. That means that's just trend to follow without reason?! Even sadder than Microsoft explanation
-
chief32168yi think people hate Java because of the flexibility and power it poses of which they just can't have in the so called morden languages.Java is life
-
sirjofri5178yI don't like java because of the jvm. Also there are issues with the same code on different computers (same os, same java version btw). The fact that everything has to be a class is not only unrealistic, but nonsense. And if you work with others and you write a class you cannot hand them a header file with all important information, you have to either write a documentation or hand them all of your code.
The only point I like about java is that it's easy to learn, especially for beginners. But learners have to write a class for a simple hello world program, that doesn't make sense to me. -
@sirjofri JVM means portability... Is that so bad?
The thing with classes.. can you give any comparisons?
The header thing... I guess that can be convenient but I never encountered it in c++. I always get CPP files with headers to use that only doubles filecount.
Have to agree that it's easy for beginners but there are better suited languages, such as python -
@g-m-f Java is cheap ripoff of strong language. That might be.
Not quite sure about update thing. Java releases updates more than once a year https://en.m.wikipedia.org/wiki/... this link says so. -
sirjofri5178y@maximizer portability? My code runs perfectly well on my pc. On my friend's pc (same os, same version) the same code doesn't... In c/cpp i can at least try to create workarounds with preprocessor declarations, because the compiler tells my what's the problem. In java I got some weird jvm runtime error that doesn't say anything. So I have no clue about what I can do. It's trial and error...
-
sirjofri5178y@g-m-f @maximizer
class Hello {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
Why do I need a class here? Compare it to c (cpp is equivalent):
#include <stdio.h>
int main()
{
printf("hello world\n");
return 0;
}
I'm not complaining about classes and objects. I'm just complaining about the fact that every functionality has to be in a class (in design as well as in implementation). Imo that is wrong. Objects/Classes are useful, yes. But what about namespaces? In my Software Engineering course I'm sure that half of the classes can be namespaces (at least). And I think that would have better performance?
I know, it is possible to create a class with static functions. But we learned that you should always instantiate a class. And what's the point with a class you don't instantiate?
Long post, I know, but this is devRant, so let me rant, too. -
@sirjofri I can imagine that different systems might have some issues with compiling and running stuff.
But my point was that when you compile it.. it runs on all PC's with Java -
chief32168yaccording to me I think Java has a solid structure..look at how inheritance in Java works ,look at the interfaces and look at the collection Api you can model literally any object from the real world.isn't it beautiful?
Why you hate Java? Why the hate? What's the root of all this?(I suspect Microsoft) please explain
undefined
whentitallstarted whyitstarted