r/javahelp • • Oct 11 '19

Why we still use java 8

Hey everyone
I know that new releases of java bring us new compilers and vm optimization and new language features.

So, why developers still use java 8 for their projects ?

PS: sorry if question is weird or stupid. do not hate me in comments pls.

27 Upvotes

51 comments sorted by

View all comments

Show parent comments

-2

u/nerdyhandle Oct 12 '19

Java was designed as an OO language. You shouldn't be mixing paradigms here.

And functional programming has existed for a while but there has never been a super popular functional language. Most were descendents or dialects of the LISP which hadn't really been used much out of research.

2

u/Kraizee_ Oct 12 '19

You shouldn't be mixing paradigms here.

Why not? Please elaborate. OOP and FP work incredibly well together. I suppose if you are so against FP you similarly hate C++, C#, Python, PHP, Rust, and Javascript

-1

u/nerdyhandle Oct 12 '19 edited Oct 12 '19

I've said it like several times now. It makes the language bloated, the syntax becomes messy, and it makes it harder to maintain the language. Following a single paradigm fixes these issues.

I said nothing about hate or that I was against functional programming. In my opinion a language should stick to one paradigm. I'm not a fan of languages adding new fads that come out or even adding the same features other languages have. At some point the language developers are just developing for shits and giggles without a purpose or clear direction.

Again, this is how I feel Java has become a language with no clear direction and everything including the kitchen sink is being thrown in. Eventually the language will become so bloated that devs will start to look for more streamlined and more focused languages.

1

u/Kraizee_ Oct 12 '19

the syntax becomes messy

i.e. You can't be bothered to learn it

it makes it harder to maintain the language

Only in the same way that adding any new feature increases the amount of maintenance required.

Following a single paradigm fixes these issues.

There is really no issue to fix. FWIW java has been multi-paradigm long before FP was included. But I guess we need to forget that for your argument to hold any sort of value.

I'm not a fan of languages adding new fads that come out

FP is not a fad. It is an incredibly powerful paradigm that has existed for a long time and compliments the OOP paradigm.

or even adding the same features other languages have.

What is wrong with adding features other languages have? No language would ever grow if they didn't not take features from other languages. Java is one of the most popular languages, maintains strict levels of backwards compatibility, and is used by a large portion of businesses. That is exactly why it lets other languages experiment with new features and they oracle developers look at what works well and what doesn't.

Java has become a language with no clear direction

They have a very clear direction. New features coming to java have been purposefully slow because they are well thought out and take a lot of feedback from the community.

You are unfortunately incredibly misinformed.

1

u/nerdyhandle Oct 12 '19

I do t think you fully comprehend what an opinion is. It's ok that you disagree with me I am not telling you that you are wrong merely that I disagree.

You don't have to be an asshole and try to start arguments. You don't like what I say you can move a long.