Java's Hello World Is About To Change Forever

Java's Hello World Is About To Change Forever

Coding with John

1 год назад

190,463 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Coding with John
Coding with John - 19.06.2023 08:25

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!

Ответить
BroccoliRocks
BroccoliRocks - 28.09.2023 22:07

Even better, System.out.println() will soon be abbreviated to just println()

Ответить
MNH
MNH - 26.09.2023 23:31

To me, the worst thing about Java has always been its verbosity. I really hope some of the other syntax is also trimmed down.

Ответить
Morten Green Hermansen
Morten Green Hermansen - 16.09.2023 08:51

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. 😞

Ответить
Nat Birchall
Nat Birchall - 15.09.2023 22:41

Programmers are small people

Ответить
Sean Brendan Garrette
Sean Brendan Garrette - 14.09.2023 05:56

Looks like C

Ответить
Felipe L.R.
Felipe L.R. - 12.09.2023 05:57

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!

Ответить
none
none - 11.09.2023 10:17

How do you think about Kotlin?

Ответить
Willi D.
Willi D. - 07.09.2023 00:22

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.

Ответить
Nguyễn Vũ Linh
Nguyễn Vũ Linh - 06.09.2023 10:04

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");

Ответить
ka yin tong
ka yin tong - 02.09.2023 16:50

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.

Ответить
Serhii Voronenko
Serhii Voronenko - 31.08.2023 17:47

The main question is: "Why do I need this? Will it help me become a good developer?"

Ответить
Martin Payne
Martin Payne - 18.08.2023 08:25

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.

Ответить
BoxingHacker
BoxingHacker - 18.08.2023 02:34

As a Kotlin developer, good to see Java trying to reduce some of it's boilerplate.Even if it's 21 versions later lol

Ответить
alps
alps - 15.08.2023 05:43

This is just C++

Ответить
Rick Hunter
Rick Hunter - 13.08.2023 01:08

JAVA IS LOSING ITS IDENTITY IN EVERY NEW FEATURES... IT IS LOOKING LIKE... PYTHON OR JAVASCRIPT. 😞

Ответить
Manish Bhoola
Manish Bhoola - 12.08.2023 05:57

Java gone woke!

Ответить
Robert Murphy
Robert Murphy - 10.08.2023 05:45

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.

Ответить
Bifrost
Bifrost - 10.08.2023 01:03

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.

Ответить
SXsoft99
SXsoft99 - 09.08.2023 23:52

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

Ответить
curio
curio - 08.08.2023 12:44

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.

Ответить
hoosier hugh
hoosier hugh - 07.08.2023 22:47

In reality, Java 8 is the new hotness...in enterprise.

Ответить
Tommy Longschlong
Tommy Longschlong - 06.08.2023 22:09

Have you done a video on what people really need to know for their first Java development job?

Ответить
Stephanie Ezat-Panah
Stephanie Ezat-Panah - 06.08.2023 05:40

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

Ответить
Oleksandr Kushnarov
Oleksandr Kushnarov - 03.08.2023 19:43

WTF? Is it that bad? Hey, is it sarcasm?

Ответить
mohammad sadegh sheikh zahedi
mohammad sadegh sheikh zahedi - 03.08.2023 15:30

Java try to be look like scripting language :) by adding var keyword and now unnamed class

Ответить
Supreme Man
Supreme Man - 02.08.2023 04:20

Bruh

Ответить
Amit kumar
Amit kumar - 31.07.2023 08:26

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.

Ответить
alcatros
alcatros - 31.07.2023 04:56

Bro Java is boring and dead

Ответить
sam sam
sam sam - 31.07.2023 04:22

Java in 2023 🤔

Ответить
mmi nahid
mmi nahid - 30.07.2023 17:01

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

Ответить
Alkazavr
Alkazavr - 30.07.2023 10:35

Syntax sugar. It’s ok, because vendor needs new developers. Lowering first step will attract newbies.

Ответить
Karol
Karol - 29.07.2023 21:43

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

Ответить
Sylvester Fohjem
Sylvester Fohjem - 28.07.2023 18:50

Java is my dream to become

Ответить
Rho Chalmers
Rho Chalmers - 26.07.2023 19:45

I love that this more like Python

Ответить
nineteen 🗽
nineteen 🗽 - 26.07.2023 10:20

I'll just keep doing it old school

Ответить
Don Crandall Jr
Don Crandall Jr - 24.07.2023 14:07

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.

Ответить
Madhar B Songs
Madhar B Songs - 23.07.2023 21:09

For vs for each
Static vs instance
Static methods
Multi threading
Getters ,setters

Please explain these concepts 🥺

Ответить
Sanaullah Sianch
Sanaullah Sianch - 23.07.2023 16:58

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

Ответить
Sanaullah Sianch
Sanaullah Sianch - 23.07.2023 16:58

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

Ответить
Renatzki Аgab
Renatzki Аgab - 23.07.2023 04:37

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.

Ответить
marcello42
marcello42 - 21.07.2023 00:40

Lucky me I code everything just in vim😂😂😂 where are my semicolons ???

Ответить
網路公道伯
網路公道伯 - 20.07.2023 12:54

No matter how Java updates, companies / college courses still use Java 8.

Ответить
HalfBlood
HalfBlood - 20.07.2023 08:21

Bad change In my opinion

Ответить
Remigijus Pankevičius
Remigijus Pankevičius - 18.07.2023 00:07

Change forever 😅

Ответить
Vincent Leong
Vincent Leong - 16.07.2023 20:11

How can I do this on Mac?

Ответить
curio
curio - 15.07.2023 18:50

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.

Ответить
Channa Ly
Channa Ly - 15.07.2023 13:49

It’s just too boring

Ответить
Aliyu Ibrahim
Aliyu Ibrahim - 15.07.2023 09:07

Do you have a data structure and algorithms course?

Ответить