Комментарии:
There's about a 7-second part of this video that I had to re-record since I found while I was editing that I had totally flubbed a line. Thing is I had already trimmed my beard a little, so if you look closely it's definitely not a seamless transition. Let me know if you can see where it is.
And let me know if you'd like to hear more about this kind of thing, new features in newer Java versions!
Even better, System.out.println() will soon be abbreviated to just println()
ОтветитьTo me, the worst thing about Java has always been its verbosity. I really hope some of the other syntax is also trimmed down.
ОтветитьI have been coding Java for the last 29 years - but Java is only 28. Yes, but there was also prereleases of Oak. 🙂
I tell you this is a slippery slope. Like when 0.01% income tax arrived or Unitys new payment model for developers got introduced. We start with somthing small and insignificant and then it is easy to just do more of same later. What is the next thing - because there will be a next thing. It is easier to go from 1-2 than from 0-1.
Now we have allowed changes where implicit information moves into being assumed information.
Now, changes have been made where what used to be explicit information has become assumed information.
The result is that things start to get hidden or become 'secretive'.
All these exceptions to cater for beginners - something you only are for a set amount of time. It is good that we can choose not to upgrade but over time, I guess we all will and then it is here... forever. 😞
Programmers are small people
ОтветитьLooks like C
ОтветитьThank you for this video John. To the Java development team, dude, the (String[] args) was no problem at atll! Istead, I hope they get rid of that pesky PATH configuration. Even if they finally do it at Java version 50, that is a real pain in the butt! Or the misterious Maven library conflicts. Yuck!
ОтветитьHow do you think about Kotlin?
ОтветитьIn my opinion this feature may cause more harm than good. It has the potential to confuse newbies as it kind of hides the Java model. I would recommend to drop it.
ОтветитьHi John, what do you think of a syntactic sugar for one-line function by replacing curly braces by using arrow operator, like void main() -> System.out.println("Hello World");
ОтветитьIt would be great if you can explain how to run different JDK versions without deleting the path in the environment variables. For now, I have different projects with different JDK versions, I am deleting and editing the JDK path everytime for the project I am running.
ОтветитьThe main question is: "Why do I need this? Will it help me become a good developer?"
ОтветитьI wonder why they stopped at that point. If the aim was to make the entry point for an application minimal, why even require a main function? The code could just go at the top level and your hello world example would be one line.
ОтветитьAs a Kotlin developer, good to see Java trying to reduce some of it's boilerplate.Even if it's 21 versions later lol
ОтветитьThis is just C++
ОтветитьJAVA IS LOSING ITS IDENTITY IN EVERY NEW FEATURES... IT IS LOOKING LIKE... PYTHON OR JAVASCRIPT. 😞
ОтветитьJava gone woke!
ОтветитьIs this really that big of a change. First how often do you actually have to actually write that initial bit of code? Most every IDE will auto generate it when you first create a new project. And as far as it being a lot of concepts it’s a good place to start explaining what some of those concepts and ideas are.
I don’t see this alone as really being that big of a deal.
Why the hell you need to write system.out to print something as a non java developer and first time I see this it kind of not wanting to even dig deeper than this video on java.
ОтветитьAs a person that has been prpgraming in scripting languages for 8 years and have been fiddleing with kotlin, c#, go i just cant get how peple can be so enthusiastic about Java changes especially when most java developers dont invest into upgrading versions
ОтветитьWhy? just why? who was asking for this? which no good programmer who want to be actually do javascript was allowed to make such changes in the language? I am done with java, I have updated to 17 and was already pretty mad at what they had added to the language, but thats it, no more updating to anything new. This is getting just plain stupid if you needed to do scripting there was already jshell. why change the language? just why give me one justification.
ОтветитьIn reality, Java 8 is the new hotness...in enterprise.
ОтветитьHave you done a video on what people really need to know for their first Java development job?
ОтветитьYuk. I want my public static void main( ) and I want my "hello world".
C# is doing this as well. I am so lost. yuk
WTF? Is it that bad? Hey, is it sarcasm?
ОтветитьJava try to be look like scripting language :) by adding var keyword and now unnamed class
ОтветитьBruh
ОтветитьIt was overwhelming at first... But apparently over the years I've grown so much love for Java, I only ever code in it and everything else difficult to learn, c, c++, even python I didn't bother to learn... Rust is the only one that has peaked my interest in recent days, will be trying it out more.
ОтветитьBro Java is boring and dead
ОтветитьJava in 2023 🤔
Ответитьin javaFX Application is an abstract class. In this abstract class there have some abstract methods which are overridden in main class which extends abstract Application class and also have static launch() method in abstract class Application. The launch() method calls from the main method in main class. Now how is it possible launch() method calls these abstract methods and for these calls overridden methods in main class are executes? please help to understand
ОтветитьSyntax sugar. It’s ok, because vendor needs new developers. Lowering first step will attract newbies.
ОтветитьAs i remember my first steps with Java i was discouraged i didnt knew whats happening with all of this args classes all of that stuff. Now i can laugh at old me but i can see begginers being scared of whats happening
ОтветитьJava is my dream to become
ОтветитьI love that this more like Python
ОтветитьI'll just keep doing it old school
ОтветитьFor many, this change may seem a good thing. The problem now is those who do the single file simple program will likely forget how a Java class is actually structured, leading to other potential learning difficulties. That said, I also believe the use of the shortened main method signature is likely the best part. For example, String arguments are rarely used for desktop apps, and the static keyword has often thrown me for a loop (no pun intended), especially when adding methods after main in the same file.
ОтветитьFor vs for each
Static vs instance
Static methods
Multi threading
Getters ,setters
Please explain these concepts 🥺
Java has been continuously declining in its popularity since 2019 and is 3rd most popular programming language, Python and JavaScript rank 1st and second , by 2030 java would be 4th or 5th popular language
ОтветитьJava has been continuously declining in its popularity since 2019 and is 3rd most popular programming language, Python and JavaScript rank 1st and second , by 2030 java would be 4th or 5th popular language
ОтветитьWell this is a very good news John its getting back near to his grandfather's (C Language) syntax setup. Nice info John and please do tutorial playlist for beginners using this new Java 21 version. Thanks for the info John.
ОтветитьLucky me I code everything just in vim😂😂😂 where are my semicolons ???
ОтветитьNo matter how Java updates, companies / college courses still use Java 8.
ОтветитьBad change In my opinion
ОтветитьChange forever 😅
ОтветитьHow can I do this on Mac?
ОтветитьOhh. Such a wonderfully helpful change to language. It was so hard to type those 10 letters. It was wasting so much time from my life. All I now have to remember is syntax shortcuts per version of Java, this is so much more intuitive.
I am glad the people changing the language really understand what developers want. And understand why Java was born in the first place. It's all about lanyaguage versility and shortcuts, if developers are not learning all the syntax variences per version then they should not be developers. Because in a project spending time and effort to learn the syntax changes per version is the most important goal.
It’s just too boring
ОтветитьDo you have a data structure and algorithms course?
Ответить