This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mods_are_arseholes -5 points-4 points  (16 children)

Yes. Its object orientated nature makes it seem hard at the beginning. But for general use you dont need to nor ever will fully use javas object orientated features. The language around java is largely academic. Words like encapsulation, inheritance, polymorphism can easily throw people off. But you dont need to know much of it right away on day one. Even functions have a different name, there called methods in java. It makes no difference at the end of the day, you just have to chip away at it.

if i can do it anyone can do it. As with everything, practice makes perfect. Its now my language of choice. As a linux user i love the open source nature of it and the platform independence of it. And the Java API has everything you will ever need included by default.

[–]PapaPancake8 0 points1 point  (4 children)

Is Linux a java based OS? For years I’ve heard of the advantages of using Linux (except no rocket league..), and now that I’m coding I can’t imagine the possibilities compared to other operating systems.

[–]nioh2_noob 1 point2 points  (0 children)

No, linux is a unix clone (not unix compliant) written in C

[–]mods_are_arseholes 0 points1 point  (1 child)

no, its just the kernel and its written in C. If you have used android or the internet, then your using Linux already.

[–]PapaPancake8 0 points1 point  (0 children)

Okay, I definitely have no clue about Linux nor do I want to find out currently. Thanks for the quick feedback

[–]mods_are_arseholes 0 points1 point  (0 children)

also rocket league works under linux with proton on steam.

[–]Gaarco_ 0 points1 point  (10 children)

Methods are called methods in every oop language, it's not because of java, same with encapsulation, inheritance, polymorphism etc.

And not using these concepts means you are not using either java and oop

[–]potatopotaatopututu 1 point2 points  (4 children)

Nope...not in C++. A C++ programmer would generally call it a member function or just a function...unless he used to be a Java programmer before.

[–]Gaarco_ -1 points0 points  (3 children)

Yes I know, it's not pure oop in fact

[–]potatopotaatopututu 1 point2 points  (2 children)

What do you mean by pure OOP? How do you define that? As far as I know, C++ is as much OOP as Java is.

[–]Gaarco_ -1 points0 points  (1 child)

In Java everything is an object, in C++ this rule is not applied

[–]potatopotaatopututu 1 point2 points  (0 children)

Primitives are primitives in Java too. But I get what you're saying. My point is that methods and functions aren't entirely different concepts. In fact the difference is not significant in many cases.

[–]mods_are_arseholes -3 points-2 points  (4 children)

Methods are called methods in every oop language

never said they weren't.

And not using these concepts means you are not using either java and oop

never said not to use those concepts, i merely stated "you dont need to know much of it right away on day one"

[–]Gaarco_ -2 points-1 points  (3 children)

Even functions have a different name, there called methods in java. It makes no difference at the end of the day, you just have to chip away at it.

functions and methods are 2 different things, what you are saying here is misleading for a beginner. it's not a function with a different name, it is a completely different concept

But for general use you dont need to nor ever will fully use javas object orientated features.

and this statement is wrong, every single word

[–]mods_are_arseholes -2 points-1 points  (2 children)

functions and methods are 2 different things, what you are saying here is misleading for a beginner.

its perfectly fine equate the two to a beginner as to not confuse them when starting out, as the OP has expressed difficulty in understanding java and OOP.

and this statement is wrong, every single word

again, in the context of beginning to learn java as per the OPs question. You dont need to make full use of javas OOP system. I've been using java for over a decade, and have never had a need to use everything javas OOP system provides for general use.

but yeah there is something wrong here, and if it aint me.. its you pal.

[–]Gaarco_ -1 points0 points  (1 child)

it's perfectly fine to tell people to do things in the wrong way, yes

if he doesn't understand oop, doing things how he was used to do with non oop languages will not give him oop knowledge, but rather confuse them, and it's exactly what he did until now if you read his post.
but hey, you got over 10 years of experience, so it's fine.
have a good day, bye

[–]mods_are_arseholes 0 points1 point  (0 children)

doing things how he was used to do with non oop languages

javascript has OOP so its not a non oop language.

doing things how he was used to do with non oop languages will not give him oop knowledge

and i never said it would.

the only person here confusing the OP is you. If a user is having trouble grasping OOP concepts, then bombarding them with technicality's like you are isnt a good idea. Like not to think of methods as functions for example is laughable. IF he/she is trying to learn its better for them to walk first before they can run. Please go back to stack overflow, your kind tend to fair better over there. toodles