Earlier quoted context omitted.
I liked Java 1.4. Generics were a mess. And Java before generics was so wonderfully simple. Yes, you had to cast, but that wasn’t a big issue. My favourite language would be Java 1.4 with carefully redesigned standard library (because old standard library was not very nice).
Isn’t that almost Go? Well, before Go generics land.
New language features since Java 8 to 17
101–110 of 358 posts
Re: New language features since Java 8 to 17
#102- ~Exhaustive pattern matching~ it’s here!
- Algebraic data types
- Tail call optimisation
- Do notation
- Operator overload
Why not use another language? Well, the name “Java” guarantees buy-in at this point. Maybe it will eventually be a Trojan horse for ML :)
Re: New language features since Java 8 to 17
#103Java sucks, and should stop being taught as the defacto language in computer science curriculums. It's extremely busy and verbose. There are better OO languages out there, if the point is to teach OO. (I'm ready for this post to get downvoted into oblivion)
Re: New language features since Java 8 to 17
#104Java sucks, and should stop being taught as the defacto language in computer science curriculums. It's extremely busy and verbose. There are better OO languages out there, if the point is to teach OO. (I'm ready for this post to get downvoted into oblivion)
Could you please support your statement with reasons?
https://en.wikipedia.org/wiki/Criticism_of_Java#:~:text=The%...
https://www.quora.com/Why-did-Alan-Kay-dislike-Java
https://vic.nightfall.moe/2016/04/03/Some-reasons-why-I-hate...
https://developers.slashdot.org/story/08/01/08/0348239/profe...
Re: New language features since Java 8 to 17
#105Java sucks, and should stop being taught as the defacto language in computer science curriculums. It's extremely busy and verbose. There are better OO languages out there, if the point is to teach OO. (I'm ready for this post to get downvoted into oblivion)
Could you please support your statement with reasons?
public class Main {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
vs print("Hello, world!")
Please comment again if you still cannot see the bloat/unnecessary verbosity.Re: New language features since Java 8 to 17
#106To be honest, what I really need is a list of backward incompatible changes and a list of projects that can shim those incompatible changes. Just like Javascript.
Re: New language features since Java 8 to 17
#107Java sucks, and should stop being taught as the defacto language in computer science curriculums. It's extremely busy and verbose. There are better OO languages out there, if the point is to teach OO. (I'm ready for this post to get downvoted into oblivion)
Languages should be dumb. Standard libraries should be smart. Not the other way around. The number of syntax constructs that generate standard library calls when compiled should be minimized as much as possible.
Edit: one more thing, operator overloading is extremely harmful for readability.
Re: New language features since Java 8 to 17
#108Earlier quoted context omitted.
Could you please support your statement with reasons?
public class Main { public static void main(String[] args) { System.out.println("Hello, world!"); } } vs print("Hello, world!") Please comment again if you still cannot see the bloat/unnecessary verbosity.
Re: New language features since Java 8 to 17
#109Java sucks, and should stop being taught as the defacto language in computer science curriculums. It's extremely busy and verbose. There are better OO languages out there, if the point is to teach OO. (I'm ready for this post to get downvoted into oblivion)
Re: New language features since Java 8 to 17
#110Java sucks, and should stop being taught as the defacto language in computer science curriculums. It's extremely busy and verbose. There are better OO languages out there, if the point is to teach OO. (I'm ready for this post to get downvoted into oblivion)