DEV Community

[Comment from a deleted post]
Collapse
 
ritamchakraborty profile image
Ritam Chakraborty

Even in Java 18, swing and awt packages are still included. If they were absolute trash, they could have just dumped them. 🤷

Not saying that it'll be any beneficial to learn swing. I just mentioned because this is how i made myself familiar with Java. Before learning swing i didn't know any other ui frameworks, not even HTML. And only built command line applications so far. So seeing something graphical move infront of my eyes with the code I've written and in the language i love was quite intriguing. 😌

I still write swing applications just for the sake of challenge. Just like one would create a game written in basic just so to gain knowledge and and have fun. Creating swing applications gave idea about how to create big applications and modularize them.

It's a just a personal preference as i said "if interested", i just shared it as my personal experience. Other's opinions my vary. That doesn't me they are wrong. Like for example i wouldn't even recommend anyone to start with Java. Even in backend developement java had seen better days. Languages like node, go, deno are made from the ground up in the mind of cloud. In interns of memory usage Java is no match for them. And if i take kotlin it's superior than Java in every single way. Then why not just start with kotlin? But just like graphql couldn't replace rest, Java can not be replaced. At least any time soon. So be forward with your interest. As long as you enjoy what you do it doesn't matter. You just have to be better at what you do, there's always a place for everyone.

And i just want to force on your opinion of learning concepts. It's the most important thing. The tools may wear off but the skill of the worker will remain forever. Learn about the concepts and use them to make application in other language and framework. As end of the day Java is just a language. Which you'll help you how to talk to a computer, if you learn how to communicate, you'll surely can learn how to do that any other languages as well. Peace ✌️.