Is Java Still Worth Learning in 2022?

Поделиться
HTML-код
  • Опубликовано: 2 июн 2021
  • Get your free 1st month of JetBrains Academy: jb.gg/academy/keep_on_coding
    Complete the 1st stage of your project to receive your 2nd month free!
    Complete your 1st project within this time to receive your 3rd month free!
    -----------------------------------------------------------------------------------
    Instagram: / keep_on_coding
    Discord: / discord
    Become a Member: ruclips.net/user/keeponcoding...
    My Gear: amazon.com/shop/keeponcoding
    -----------------------------------------------------------------------------------
    CodeJams is out on all major streaming platforms!
    Spotify - bit.ly/CodeJamsSpotify
    Apple Music - bit.ly/CodeJamsAppleMusic
    RUclips - bit.ly/CodeJamsRUclips
    Amazon Music - bit.ly/CodeJamsAmazon
    -----------------------------------------------------------------------------------
    #keeponcoding #tech #programming
  • НаукаНаука

Комментарии • 1 тыс.

  • @KeepOnCoding
    @KeepOnCoding  3 года назад +84

    Get your free 1st month of JetBrains Academy: jb.gg/academy/keep_on_coding

    • @user-dh8oi2mk4f
      @user-dh8oi2mk4f 3 года назад +2

      Shouldn’t you pin this comment so more people see it?

    • @cjp0605
      @cjp0605 3 года назад +1

      I'm in early stages of the Java Developer track and really like it so far. Lots of projects to choose from with different levels of difficulty. *Not* code-along style. Projects are broken up into several steps, and each step starts with a requirements document. There are a series of prerequisite lessons that teach you the things you need to complete the step, and you code your solution however you want based on what you've learned from the lessons. At the end, you have to pass all the provided unit tests to test your code meets all the requirements. You end up with an working application that's 100% your own code from your own brain (for better or worse).

    • @leokac
      @leokac 3 года назад +1

      Can you promote my VSCode extension? And what's the price?

    • @khadidjaarezki8970
      @khadidjaarezki8970 3 года назад

      How long before the coupon expires?

    • @abhisheknaithani3647
      @abhisheknaithani3647 3 года назад

      Sir I completed my college and learn jdk11 what should i do now

  • @greggoldman3566
    @greggoldman3566 2 года назад +244

    So as an aspiring Software DEveloper, I "learned" syntax and basic things from these languages: HTML CSS Python Kotlin C#. That being said I started looking for work and 4/5 job posts were specifically labeled as "Jr. Java Developer". Java is already running the world, that means companies would need to spend a whole lot of money to have everything rewritten in another language. Java isnt going anywhere. If you are like me and just starting out and have basic languages under ur belt, just learn Java. The Job market quadruples if you can write in Java.

    • @tamoai4161
      @tamoai4161 2 года назад +5

      Perfect!

    • @santhoshsiva281
      @santhoshsiva281 2 года назад +3

      Thanks for ur advice bro

    • @ponalvsiki2254
      @ponalvsiki2254 Год назад +7

      Why did you learn HTML CSS but ignore JavaScript?

    • @jathebest2835
      @jathebest2835 Год назад +4

      @@ponalvsiki2254 Good question. I'd like to hear this guy's answer as well.

    • @ponalvsiki2254
      @ponalvsiki2254 Год назад +3

      @@jathebest2835 yeah. Front end is getting more complex and needs more devs than Java.

  • @DarknessDeveloper
    @DarknessDeveloper 3 года назад +702

    Whilst java is a great language, oracle is possibly one of the worst companies.

    • @Henrique-eu8rw
      @Henrique-eu8rw 3 года назад +49

      Preach, bro. Was much better in the hands of Sun.

    • @hungerfan552
      @hungerfan552 3 года назад +55

      Nestle : hold my beer

    • @hungerfan552
      @hungerfan552 3 года назад +12

      @BabylonianDynamics not everyone is a native english speaker

    • @DarknessDeveloper
      @DarknessDeveloper 3 года назад +2

      @BabylonianDynamics idk lol, if it annoys u too much I can edit the comment

    • @osvaldoleiva678
      @osvaldoleiva678 3 года назад +21

      openjdk: bro

  • @J_R_Games
    @J_R_Games 3 года назад +264

    I Am writing Java for 10 years. 10 years I hear "java is going to die soon". And after 10 years, not only it didn't die but recently EU made java with spring boot it's official language (with reactjs on front) .

    • @flunik666
      @flunik666 3 года назад +9

      react is a cesspool

    • @SimpleProgrammer0
      @SimpleProgrammer0 3 года назад

      @@IvnSoft lol🤣🤣

    • @SimpleProgrammer0
      @SimpleProgrammer0 3 года назад +5

      actually java is so big and vast so its take time to die🤣🤣

    • @ahmedbathily7013
      @ahmedbathily7013 3 года назад +32

      Let haters in their stupidness ,java is not just a language but a ecosystem ,java is first in anaytics,1frst in Big data ,3d in artificial ,frst in Cloud ,first in industries ,java is the best one which has innvated in the two last decades

    • @Monster33336
      @Monster33336 3 года назад +5

      Java cannot die.

  • @nqtural1322
    @nqtural1322 2 года назад +125

    Learning Java, as someone who didn't know what OOP even was, was a great way to at least learn what it is, and looking at experienced Java developers' code and understanding it helped me understand how to use classes and methods efficiently.

  • @deepsonshrestha5646
    @deepsonshrestha5646 3 года назад +242

    Bro, I'm from 2030. It's still worth learning now.

    • @my_j.a.r.v.i.s.
      @my_j.a.r.v.i.s. 3 года назад +12

      I'm from 2030 and now robots do Coding for us, we just need to give algorithms to them

    • @adityasurabattula6952
      @adityasurabattula6952 3 года назад +3

      @@my_j.a.r.v.i.s. Have you seen "Back to the Future" , by that logic we should be having robots do everything for us by now

    • @lutfilubis2378
      @lutfilubis2378 3 года назад +1

      Variant!

    • @mego7389
      @mego7389 3 года назад +4

      Oh really? did you use Java to program your time machine?

    • @getrogo4474
      @getrogo4474 2 года назад +2

      Nepali bhaye pachi guff ta dina pari halyo ni ;)

  • @theburntcrumpet8371
    @theburntcrumpet8371 3 года назад +262

    Java is still widely used in enterprise. I’ve just started a job where the company’s existing platform is built in Java

    • @TwstedTV
      @TwstedTV 3 года назад +55

      exactly, java is not going anywhere. corporations are not going to restructure & rewrite 100's of billions of lines of code, just to change to Kotlin.
      Because in the last decade, people have been jumping around language to language. corporations can NOT run that risk of jumping around like that,
      when they have Billions of dollars on the line......

    • @joseantoni034
      @joseantoni034 3 года назад +16

      @@TwstedTV exactly, is like in my country, the banks works over Cobol that is older than Java and runs over mainframes, and the banks don't have the intention to rewrite to another language, the banks hire you and they teach you Cobol with the porpouse all the systems still working, things like that will happen with Java.

    • @vaisakhkm783
      @vaisakhkm783 3 года назад +2

      @@joseantoni034 😶😳Cobol for banking app...
      I don't know Cobol, but even though such a old lang. Might have many vul. Right?
      How can they put there customers at risk???

    • @Anon-tt9rz
      @Anon-tt9rz 3 года назад +7

      @@vaisakhkm783 they're not putting customers at risk, this is a false assumption. Mainfraimes are very well secured

    • @joseantoni034
      @joseantoni034 3 года назад +5

      @@vaisakhkm783 like Andy said, mainframes are well secure, and the main app on Cobol is like the core, not all the apps are code with Cobol, a teacher told us that is a strong language for these purpose.

  • @detimzhao7510
    @detimzhao7510 3 года назад +33

    Bro, I was literally thinking about this last night as a beginner, thank you.

  • @chaudharyzafar7465
    @chaudharyzafar7465 3 года назад +55

    I learnt the theory of programming with Java. It's a great start-up language. Now my knowledge is transferable to many languages. So if you are looking to start programming, find a language, put the theory into practice with that language and you should be okay.

  • @cyclone3444
    @cyclone3444 3 года назад +41

    Don't ever sleep on it. Java will still be running in the next 20 years. Most of the successful infrastructures and services that makes our life better was developed and being developed with Java.

  • @gokuafrica
    @gokuafrica 3 года назад +87

    Java with spring, I think the spring layer really brings along some nice abstractions and makes it easier to build applications using Java

    • @f.5528
      @f.5528 2 года назад +4

      yep, java without spring is just futile in entreprise world nowadays. Thank you spring(boot).

    • @Summersault666
      @Summersault666 2 года назад +3

      Log4j is awesome to create ramsomwares that can't be fixed for now...

    • @moderneinstein2644
      @moderneinstein2644 2 года назад

      I love Java, Please could you teach me the nuances of The Spring Framework .

    • @killerdroid99
      @killerdroid99 2 года назад +1

      no doubt the spring architecture is nice but what about so much boilerplate that java induces and it also derived from ruby on rails framework which first introduced the concept of MVC

  • @clementcle130
    @clementcle130 2 года назад +20

    Glad to hear what the comments said below. I just started learning Java weeks ago as the Python course of my school are full and am annoyed to write so many codes to do so few things. Yet, after hearing you guys said I feel more comfortable.

    • @SimonBauer7
      @SimonBauer7 2 года назад +6

      if you want to get into other languages like c,c++,c# etc java is better to start of with as things like if(condition1)
      {dosomething;} will already be familiar to you so your knowledge is more universal compared to python which whilst beeing easier to start with is harder to transfer to other languages

  • @funguy29
    @funguy29 2 года назад +24

    I'm not a Java programmer but I still think it is a great first language to learn for programmers. Once you get competent at Java you can move into any language easily.

    • @deadpopcorn8523
      @deadpopcorn8523 Год назад +2

      Nah, python is easier than java and the mindset of it can help you branch out to c# or c++ or even java
      The fact that you can make bots or arduinos with it makes it useful as hell

    • @funguy29
      @funguy29 Год назад +7

      @@deadpopcorn8523 Nah Java is good training for the beginner better than python. Python is easier and gets you thinking about concepts like OOPS right away.

    • @nicolascossio5961
      @nicolascossio5961 Год назад +2

      @@funguy29 I started with Java and to be honest I think that it's a better choice for beginners. Having to be so explicit about types/classes keeps you accountable and makes it easier to debug. Also I think it being a bit more cumbersome than Python in some aspects can make you a better programmer in the end since Python just makes everything a bit too easy/magical, so when jumping to C or C++ is harder with Python imo. C# is very very similar in the surface, in my internship I started a c# project and I swear I had never used c# and just started writing in it using intellisense and my knowledge from Java hahaahha.
      I think C++ should be the last language to learn, it's amazing but very complicated.
      I don't understand the complaints about Java code being verbose, most of this tedious code is automatically generated by IDEs nowadays.

    • @funguy29
      @funguy29 Год назад +1

      @@nicolascossio5961 Agreed. Couldnt have said it better.

    • @ngndnd
      @ngndnd Год назад +1

      @@deadpopcorn8523 just because its easier it doesnt mean its the better option. If you know java, you can learn python in like a week.
      If you know python, it will take you a while to learn java

  • @thomashansknecht1898
    @thomashansknecht1898 3 года назад +41

    I hope so. I have already spent 3+ years developing in Java. Java was the first language my University taught us. I have used many other languages since such as python, html, javascript, C, etc. Still enjoy developing in java better than any other language I have tried thus far. Mainly because java has such good testing options and is not overly convoluted or complex like the C language for instance. The Java language just seems to click with me (probably because I have written most of my code in Java)

    • @spacelem
      @spacelem Год назад

      Java was the first language I was taught too (when I did CS as a secondary subject in the first two years of my maths degree). However the maths department taught us Maple, Matlab, and R. Array languages, especially ones with a REPL, make the kind of numerical work I do so much easier, and nowadays I tend to use just R or Julia. The only time I've really used Java since university was when I wanted to learn a bit of game programming, and the tutorial used Java. That said, I do know people who built a Bayesian framework for doing genetics and epidemiology in Java (called "BEAST"), so it does find some use in a mathematical context.

    • @dipanjanghosal1662
      @dipanjanghosal1662 Год назад +2

      Exactly. Java just seems to click with me. Everything about it, its syntax, its flow, everything just makes sense and feels natural. I've tried other languages like Python, Javascript, Go, C#, C, C++ and most of them felt a bit **off**. C is way too manual, javascript initially seems easy but later on can get really convoluted with callbacks, and prototypes and a bunch of other things, c++ doesn't have automatic memory management, and Python feels like its abstracting almost too much away from me, c# feels nice though but it doesn't have tooling on the same level as Java...
      Java is perfect for me.

  • @hukuna9957
    @hukuna9957 2 года назад +4

    Java being my first language really helped me understand programming and now I can learn any language with ease.

  • @MrClaudioAgostini
    @MrClaudioAgostini 3 года назад +316

    Just a couple of things: 1) in Java not everthyng is an object: there are also primitives; b) Java is slower compared to C, but faster compared to Phyton: but there are very few applications where the better performance of C is really needed.

    • @thedumbestdoge881
      @thedumbestdoge881 3 года назад +23

      Aren’t compiled languages always faster because they’re directly translated BEFORE being ran vs translated AS it’s running?

    • @glumfish6862
      @glumfish6862 3 года назад +38

      @@thedumbestdoge881 Java is in the middle since it compiles to an intermediate representation which is then interpreted or in modern implementations it uses a JIT compiler .

    • @9SMTM6
      @9SMTM6 3 года назад +19

      Actually where performance matters Python is faster than Java, because it can fall back to C Implementations as it has a C compatible FFI
      The same isnt nearly as easy for Java or other JVM applications.
      Thats the very reason Python is used for Scientific computing and also btw why Java is horrible for proper 3D games.

    • @9SMTM6
      @9SMTM6 3 года назад +3

      Also often it's less about the Performance of the code as it's performance reliability, as well as the needs for the runtime environment.
      Even Go, which is a good bit faster than Java, has similar issues because of its Garbage collector.
      And Java just isn't ever going to be a real thing for embedded programming where the JVMs requirements and memory hunger is problematic. That btw is also a thing for Python, Micropython is okay for beginner projects and some tinkering but real products will always use something else with a very slim runtime.

    • @TheTacticalMess
      @TheTacticalMess 3 года назад +8

      @snow Is it slow though? Applications are faster than ever regardless of the language. We’ve made such huge bounds in hardware that companies can justify the use of more abstract languages which ultimately leads to a quicker development process ($$$)

  • @swelarsson86
    @swelarsson86 2 года назад +16

    Java will always be a important part of coding and in back-end Java is outstanding (Maybe that´s because i´m javadeveloper) but it´s also a good start for anyone is pretty easy to learn the concept of Java and when you know it then the world is open for you, you can easy and quick learn Rust, Ruby, Python, Kotlin and so on. You forgot in the video the "DRY"(Don´t repeat yourself) where you use classes and heritage with superclasses and subclasses. So a clean code is important in all coding but in Java you will learn this from the beginning. But i liked the video :)

  • @smgsngon5804
    @smgsngon5804 2 года назад +3

    i am not a coder or anything, but I have studied programming theory and fundamentals, and everything he
    explained makes sense to me. basically he went down the basics that a book taught me to help people
    understand the scope of programming languages and programming altogether.

  • @jimreynolds2399
    @jimreynolds2399 3 года назад +5

    You should've mentioned abstract classes and single-inheritance as pros. These are very powerful features that are not fully appreciated by many people. Java can also be compiled for a hardware target. Java is good for DB connectivity and has lots of solutions for persistence. It's good for server-side tasks like web-services with the use of Tomcat.

  • @thedumbestdoge881
    @thedumbestdoge881 3 года назад +31

    Bro I lost it on the you vs the guy she tells you not to worry about meme lmfao.

  • @fallencactus6359
    @fallencactus6359 3 года назад +14

    this is the EXACT video I needed
    thanks a lot!

  • @RoxioCZE
    @RoxioCZE 3 года назад +56

    Java is so pleasant to work with. There is everything u can think of built in, its ridiculous and my lazyass loves it

  • @wlk7318
    @wlk7318 2 года назад

    Really useful to hear your thoughts, thank you.

  • @ViralKiller
    @ViralKiller Год назад

    what is it actually used for?

  • @JoseVargas-dx7wz
    @JoseVargas-dx7wz 3 года назад +10

    Ok, Great topic! I agree with the strengths and flaws of JAVA. It's difficult , nowadays, to understand why a languaje get used and rise in popularity. Of course the people backing them it's important, support for multiple platforms it's a factor, but what I think account more for that is the shape of the learning curve. Seems to be that the learning curve of python it's really fast compared to C# or JAVA. Kotlin and Go also are advertised as lean languajes, but we all know for experience that when doing something real, the amount of code will pile up like crazy in any languaje. said this, I'm still undicided on weather I should learn JAVA, comming from C#, I better join a JavaScript based stack like Node.Js.

  • @thelaststark06
    @thelaststark06 3 года назад +15

    Thanks for the free trial. Just the resource I was looking for learning JAVA

  • @audiohutch
    @audiohutch 2 года назад +2

    I build java videogames on my channel. It is one of the best languages to learn in my opinion. I learned it when I was 14 and my college taught it for their CS degree. I got credited/skipped many of these classes because I was so far ahead and knew everything already because Java taught me when I was young.

  • @MovinduLochana
    @MovinduLochana 3 года назад +34

    Java is my favourite programming language

    • @user-fq2ty
      @user-fq2ty 3 года назад +3

      no

    • @Mersal-uj5nh
      @Mersal-uj5nh 3 года назад

      Nice , but nowadays I hear people talk a lot about Go Lang, any comments on it .

    • @aaronbaraiya3692
      @aaronbaraiya3692 3 года назад +2

      same here, screw Go its trash

    • @blasttrash
      @blasttrash 3 года назад

      why? any specific reason or just coz its the first language you learnt?

    • @OverG88
      @OverG88 3 года назад

      @@Mersal-uj5nh You can ask me whatever you want about Golang. Overall, Golang is very behind Java.

  • @stexjy1302
    @stexjy1302 2 года назад +3

    6:08 for that a little change to StringUtils would do the job, so I guess constant updates would help Java in that problem

  • @Gandagorn
    @Gandagorn 3 года назад +3

    I loved learning java and I had to learn it when I was 15 for FRC. It's a awesome robotics platform that my highschool competed in

  • @leavesoflemons5374
    @leavesoflemons5374 2 года назад

    you have a great way of teaching things, thanks !

  • @nguyencodervn
    @nguyencodervn 2 года назад

    Thank you very much for your course.

  • @hobbes2555
    @hobbes2555 2 года назад +3

    Simple answer: yes. Many businesses use it. It has powerful frameworks that connect in with it. If you know C# it is similar.

  • @x0kosmus0x
    @x0kosmus0x 3 года назад +13

    The Java code at 6:06 would not run. the parameter past into the reverse method is called "str" but in the for loop they use a variable called "hello" which is not defined. Also StringBuilder has a reverse method, so you don't need the for loop at all. The Java example is over complicated. I could write this with 6 lines of code and it would be readable. Still 4 lines more than python though

  • @alql77
    @alql77 Год назад +2

    It is worth learning if you’re watching this now, they are approaching a more data oriented programming design where they try to use for instance Optional in standard libraries more and more. Additionally in the light of several projects such as loom and valhalla which aim to increase performance for Java systems by allowing developers to use “light weight”-usermode threads for instance. Yes the drawbacks of Java is its garbage collector from time to time as well as nullability. However the language is still used so it might be worth to take a look at :3

  • @liuhc
    @liuhc 2 года назад +62

    For new programmers, Java is more of a medimum than the destination. It helps to smooth the learning curve from Python to C++/Go or whatever.

    • @sentzeu
      @sentzeu 2 года назад +1

      I wouldn't compare C++ and Go, there's a world of difference between the two, and Go lacks a lot of feature you won't find outside other Enterprise supported languages like Java, here I'm thinking transaction management, support for various types of callstacks like older SOAP Webservices and so forth.

    • @akin242002
      @akin242002 2 года назад +2

      Go is great for almost all situations. C++ with a competent coder or team is also great for enterprise.

  • @Ezdiess
    @Ezdiess 3 года назад +49

    Reversing a string in java, even using a StringBuilder looks like this:
    class Main {
    public static void main(String[] args) {
    StringBuilder sb = new StringBuilder("Hello world");
    System.out.println(sb.reverse());
    }
    }
    So I don't know why you showed that example

    • @NB-ph6cv
      @NB-ph6cv 3 года назад +2

      @@jaredroussel chicken scratch ghetto LMAO :D

    • @AshVXmc
      @AshVXmc 3 года назад +2

      Yeah he said it was an exagerrated form

    • @jorgeromeu
      @jorgeromeu 3 года назад +6

      this is kind of an unfair example though, in a real application you would not have to create a class Main, every time so in reality the code needed to reverse a string is just:
      String reversed = new StringBuilder("Hello world").reverse()
      Which is not that bad

    • @blasttrash
      @blasttrash 3 года назад

      yeah they always use this example to compare java and python. But lets ask them to refactor variable name in a 1 million line codebase. I bet java and intellij will have a field day compared to python and any smart IDE(pycharm, vscode or any other paid ones as well).

    • @advait35
      @advait35 3 года назад

      @@blasttrash I didn't understand, which IDE would be better at refactoring?

  • @Dainternetdude
    @Dainternetdude 3 года назад +6

    The graph at 5:19 is comparing language use by all users on the left to language use by professional developers on the right.

    • @sheepy0125
      @sheepy0125 3 года назад +1

      oh crap you're right!! but, java's still the third most used language in the 2017 survey (38.3%).

  • @philip12odeh
    @philip12odeh 2 года назад

    Useful for learning or starting off with oop and learning fundamentals of programing in general

  • @adrothemaster1568
    @adrothemaster1568 3 года назад +60

    Learning Java right now! I will say it can be tedious but after doing a small python class Java seems like a better starting point. I can learn the logic in Java and later can pick up other languages easier it seems!

    • @gawk494
      @gawk494 2 года назад +1

      did you learn java?

    • @adrothemaster1568
      @adrothemaster1568 2 года назад

      @@gawk494 yes

    • @gawk494
      @gawk494 2 года назад

      @@adrothemaster1568 was it your first language? and where did you learn from

    • @adrothemaster1568
      @adrothemaster1568 2 года назад

      @@gawk494 yes first language and now graduating from a boot camp. cydeo teaches java, selenium, cucumber, sql, jdbc, restapi, apachipoi. good school and well priced!!!

    • @nikhilvijay6022
      @nikhilvijay6022 Год назад

      Guys what is the best platform for Core java that teaches concepts through coding problems?

  • @RickGrimes2099
    @RickGrimes2099 3 года назад +6

    Sam..can't get enough of your videos..thank you 😊

  • @rfsimoes1992
    @rfsimoes1992 3 года назад +34

    HTML/CSS in a top programming languages...

    • @samuelemorreale7510
      @samuelemorreale7510 3 года назад +1

      It's THE top programming language

    • @maruf7956
      @maruf7956 3 года назад

      For web development not software development

    • @nonsudunk
      @nonsudunk 3 года назад +13

      @@maruf7956 html/css aren't programming languages

    • @someoneWhoSpeaksAbout
      @someoneWhoSpeaksAbout 3 года назад

      Exactly, dude

    • @majdhojera3276
      @majdhojera3276 3 года назад +5

      These are my favorite languages, i hacked google with them 😎

  • @mgs_4k198
    @mgs_4k198 3 года назад +2

    you make really good videos. You have a nice way of explaining complex things in an easily understandable way. Better than alot of programming channels I've seen

  • @ronz91
    @ronz91 2 года назад

    Great video!

  • @YsOsEriOuz760
    @YsOsEriOuz760 2 года назад +18

    the reason why Java dropped down from that chart is mostly from the rise of web developers.
    big enterprises developers still mainly use java and some other new language , thats why u see only a small % down from java

    • @funguy29
      @funguy29 2 года назад +1

      I agree. PHP shows up in the top 10 languages all the time because of wordpress.

  • @nicha4500
    @nicha4500 3 года назад +40

    I just discovered you

  • @hillariesgarden2150
    @hillariesgarden2150 Год назад

    Hey Sam, I started JetBrain and I wasn't prompted on how to get the 1st month free? Is there a code we need for when were prompted for payment or something?

  • @codyhubert6178
    @codyhubert6178 Год назад +2

    6:15 Java is not slow. **Disclaimer**, I program in embedded C for ARM cortex M3 (specifically the STM32F103RCT6 chip), and not much more. I am a hobbyist and not a professional so take this with a grain of salt.
    Java requires a runtime (written in C/C++) and is simply too large and too much overhead for effective embedded solutions. Embedded C is unbelievably faster than Java could ever be on an embedded chip. It compiles to straight machine code, and you really have to understand the chip's core architecture to program it properly (don't avoid malloc. Use it properly)
    When used, encapsulated within an operating system, Java is actually wicked fast. Way faster than VB or Python. The JDK has so many libraries and tools, it's really amazing to use. I hate the "everything is an object" style of Java but I refuse to discredit it by calling it slow.
    At work I don't have a C or C++ compiler, so I am forced to use Java to perform tasks. There's no feasible argument over Java VS C when it comes to speed, but Java is by no means a slow language. It has a huge developer toolkit, it is counterintuitive to write with but easy to understand (coming from C), and aside from embedded it is ultra portable. I'd argue it is the absolute fastest portable language.
    Java will never go away until it is replaced by another ultra portable, faster, and easier to use language. Anybody who understands compilers and languages will most likely agree that it is not possible as long as computer architecture remains the same.
    All that being said, Java is used on x86 arch and I only really know RISC stuff so I might be completely wrong, but I wholeheartedly think at this time that Java is here to stay and can't really be replaced.

  • @johndoe-el6ko
    @johndoe-el6ko 3 года назад +10

    A language that improves gradually and withstands the test of time. so yeah. Plus Java/Spring/IntelliJ is a match made in heaven.

  • @sppsports2449
    @sppsports2449 2 года назад +3

    Quick question: how prevalent is Java in 2021? I know Google's API uses Java, but do most applications use Java to program their APIs?
    (Sorry I don't know much about programming. I'm learning about Google vs. Oracle and trying to understand APIs)

    • @keerthichandra376
      @keerthichandra376 2 года назад +1

      Majority of enterprises today have Java in some shape or form within them, so I'd say it is very much relevant in 2021 and atleast for next couple of decades

  • @reamusgaroh
    @reamusgaroh 7 месяцев назад

    Hi, I never work at any companie in developement, I started java a while and i would like to know wich GUI is mostly used in work environnement (please forgive my english)

  • @jakobmeibeyer
    @jakobmeibeyer 2 года назад

    dude that thumbnail:
    while( a < b && b > a ...) 😂

  • @daffapradana8557
    @daffapradana8557 3 года назад +6

    Java isn't a beautiful written language, but it's definitely an undying language.

  • @pee-buddy
    @pee-buddy 3 года назад +33

    Any programing language compared to C or C++ is slow.
    Java is pretty fast compared to Python and JavaScript.

    • @prannayagupta8657
      @prannayagupta8657 3 года назад +2

      @GOWTHAM G I'm pretty sure that Go is still considered slower, although by a smaller margin compared to Java. If I'm not mistaken, C/C++, Go and Rust are some of the faster languages, but C/C++ is still considered the fastest.

    • @oleposchl2384
      @oleposchl2384 3 года назад

      Actually the java jit compiler makes java applications in many cases just as fast or faster than c/c++ applications. Performance can be inconsistent, but very high

    • @prannayagupta8657
      @prannayagupta8657 3 года назад

      @@oleposchl2384 Yeah but the inconsistency is the only reason why one will never say "Java is fast"...

    • @oleposchl2384
      @oleposchl2384 3 года назад

      @@prannayagupta8657 no i dont think so, i think people say its slow because they read it in social media, there are too many "java is slow" memes. Depending on the problem, you have to deeply know what you are doing to achieve faster results in c than with simple java

    • @prannayagupta8657
      @prannayagupta8657 3 года назад

      @@oleposchl2384 Oh ok, that's interesting.

  • @qqmayakashi
    @qqmayakashi 2 года назад

    So does it mean that universities that still offers java are outdated on some sort? cause i moved University bcs of pandemc. my first year of computer engineering on my first univ was using Python and this new univ was using java but their handouts was on Python for data structures.

  • @stephenmwick
    @stephenmwick 2 года назад

    You nailed it.

  • @deepayanbiswas4488
    @deepayanbiswas4488 3 года назад +3

    Could you pls recommend some of the best online courses/resources to learn Core Java (both paid and non-paid works) I saw your vid about top coding books, it was very helpful.

    • @ahmedaziz3375
      @ahmedaziz3375 3 года назад +1

      Google Java Mooc, I found it very detailed

    • @panthervish30
      @panthervish30 3 года назад +2

      Java masterclass by Tim Buchalka on Udemy is probably one of the best course available on the internet

    • @iohandle
      @iohandle 3 года назад +2

      Helsinki's mooc... quality

  • @vinayrwt
    @vinayrwt 3 года назад +4

    Thanks

  • @alihammadshah
    @alihammadshah 2 года назад

    It is if you are doing princeton's algorithm course. I just cannot not use the coursera program validator they provide for which accepts java only.

  • @thatoneuser8600
    @thatoneuser8600 3 года назад

    I don't get when software engineers mainly use an OOP language like Java or C# for some job but then go on saying they use Python (or a scripting language in general) to script away small things. Can anyone explain why use a scripting language in combination with some more heavy lifting language?

  • @helios99
    @helios99 2 года назад +3

    Even if its 2050 the answer is YES if its in your Semester syllabus!

  • @neelbanga
    @neelbanga 3 года назад +6

    Java is evergreen 🌲

  • @hoodahek
    @hoodahek 3 года назад

    im still quite new to coding learned basics of html5, css, and python in school and im learning java around August but imma still drill my mind with some tutorials so that i would have some basic knowledge and they teach Java for free in your (its some kind of strand/course) 11th grade and you will start I think internships on the 12th grade to build up your hours 350hours I think it was written by the department of education here but yeah

  • @aloysiushettiarachchi4523
    @aloysiushettiarachchi4523 Год назад

    I believe the lamba mapping introduced in 2014 hss given huge boost in AI like what I experienced with lisp inside AutoCAD in 80s.

  • @mr0661
    @mr0661 2 года назад +8

    I think you accidentally said that "embraces OOP" and "garbage collector" are good things.
    Embraces OOP
    1. Allows people to write bad OO-code easily
    2. Promises re-usability but never delivers. OOP reusability needs to be earned, so components are basically just as reusable as in C (at best).
    GC
    1. Says programmers to stop worrying about memory leaks, just causes people not think about ownership of their objects (which means bad OOP-code)
    2. Releasing dynamic memory still needs to be done typically somehow(you stop referencing to it)
    3. If you need to release memory, you just need to hope that GC will do it.
    4. Inability to write destructor is maddening, but having GC prevents this
    5. Reusing resources is really difficult, though, as we already threw any hope for performance out, perhaps this is moot point.
    But gotta say, I really like Java virtual machine. If you are not allowed to distribute your source code and want to run on multiple platforms easily, Java might be way to go.

  • @katok9938
    @katok9938 3 года назад +3

    1st year ComSci student here, and currently learning Java(from senior high school to 1st year college). Our instructor told us why we're studying java is because our alumni said Java programming is highly on demand

  • @mpelalidiko
    @mpelalidiko Год назад +1

    'You vs the guy she tells you not to worry about' = amazing demotivational poster

  • @anvithkakkera7196
    @anvithkakkera7196 3 года назад +1

    I like the fresh look!

  • @VS-vs8xo
    @VS-vs8xo 3 года назад +5

    Yes with Java is more coating but in example with reverse, there is a method which is more obvious 'StringBuffer sbf = new StringBuffer("Hello world"); System.out.println(sbf.reverse); ' and it seems not so complicated

  • @erwinjaygrande63
    @erwinjaygrande63 3 года назад +3

    I’m in financial industry specifically in core banking and fund services. Majority of the applications are in java based applications. Sure, new technologies emerge but Java seamlessly integrate to it. Frameworks like Spring Book and Quarkus are still famous for developing production level applications. I would still recommend Java to beginners along with new emerging technologies like cloud, containers, etc.

  • @jacobl7451
    @jacobl7451 Год назад

    my university taught me Java but I find it odd that they never got into the actually application of it.
    We learned nothing about Java in back-end development, Spring, and didn’t do a single project in Java. Only exams/quizzes.

  • @mangonango8903
    @mangonango8903 2 года назад

    My first programming language was batch, idk why,
    I just couldn't be arsed (excuse my French) to compile stuff

  • @kamil4151
    @kamil4151 3 года назад +5

    I've never encountered an "operating" performance problem in Java, the difference to C++ everyone is always comparing is within few percents. And in this range, it is just cheaper to either add native C++ routines for critical parts (very common), or just buy 10% faster hardware. Though I myself, even though Java was my first language 15 years ago, am drifting away from it. When I first seriously touched Python like 5 years ago, I can just never go back to that verboseness, which I ironically found as an advantage a long time ago. This is, what discourages me from catching up with all the new features (and lots of my friends too) - I just cant imagine myself to write all that stuff again to express simple things. Even though I find a Java ecosystem a lot more enterprise-ready than the Python one.

  • @ritchielrez1680
    @ritchielrez1680 3 года назад +55

    C++ is better when it's used like C with classes.

    • @ITSecurityNerd
      @ITSecurityNerd 3 года назад +5

      Well... yeah...

    • @davidthewise6617
      @davidthewise6617 3 года назад +7

      That was the first name of the language
      C with classes

    • @ITSecurityNerd
      @ITSecurityNerd 3 года назад +1

      I mean, it's better than it would be if you wrote straight C++ style code for some implementations, but it isn't better than any given coding language. I would say that it utterly depends on need. I use C++ in my C-style code specifically to enable encapsulation and to make altering multiple important values easier.

    • @alexmehta6070
      @alexmehta6070 3 года назад +2

      I mean it really depends. Java has the garbage collector which makes it a better introduction to coding and leads to less memory leaks.

    • @ITSecurityNerd
      @ITSecurityNerd 3 года назад +2

      @@alexmehta6070 you could make a good argument for C++ being a better intro because of just how hard it is to use. It really does make everything else easier

  • @sidharthcs2110
    @sidharthcs2110 2 года назад +1

    Learning Java at the university was the most depressing days in my life , I never looked back at it once I finished my uni exams.
    Reading the code after writing it is painful and the numerous curly braces aren't helping

  • @maximilianorodriguez9441
    @maximilianorodriguez9441 3 года назад +2

    Sup dude, I love your videos

  • @enforc3rr
    @enforc3rr 3 года назад +7

    Not sure if it is worth learning or not , but after learning java as my first language I find other prog languages like python or JS very very very easy to work with .
    So , for a beginner i highly recommend to learn Java as it will setup a solid base .

    • @tobiasbergkvist4520
      @tobiasbergkvist4520 2 года назад

      Or if you are a true masochist, start with x86 assembly, then learn C, and then Python. You will feel like a god when learning Python at that point.

    • @killerdroid99
      @killerdroid99 2 года назад

      @@tobiasbergkvist4520 true logic in your comment

  • @stefanandrian7446
    @stefanandrian7446 3 года назад +3

    As much as I don’t like Java , it’s not gonna die , it’s probably one of the most in demand languages

  • @77dreimaldie0
    @77dreimaldie0 3 года назад

    Did You… make this video with a special aspect ratio for landscape phones‽

  • @rayanemesbah7815
    @rayanemesbah7815 3 года назад

    Just start learning

  • @phirun7186
    @phirun7186 3 года назад +5

    Noti gang 🤟🏻🤟🏻

  • @lukaswerner4390
    @lukaswerner4390 3 года назад +5

    Started learning Java because of APCS and really enjoyed using it, until I discovered shorter languages like go, typescript, kotlin.

  • @siriusmarz512
    @siriusmarz512 2 года назад

    Thanks for the information with jetbrains learning plattform.

  • @marwanelkordy253
    @marwanelkordy253 2 года назад

    yes it is worth it beginners can learn a lot of fundamentals through it like GUI and JavaFX and good way to go in mobile app development or database SQL

  • @iq0578
    @iq0578 3 года назад +11

    Me:
    "You should declare similar variables pn the same line"
    Everyone:
    "He's out of line, but he is right"

  • @vjawsm
    @vjawsm 3 года назад +18

    java/C++ dev can learn any language, coz they just replace their bunch of code with a simple construct in their minds. It isn’t that seamless the other way around. Though I hate the fact that I need to write the code to calculate nCr and nPr in java just for a single calculation

    • @russeldioneo5187
      @russeldioneo5187 3 года назад +5

      Yeap thats whats going on, i started off in python. But i moved to java, than i got pretty good at it now i can pretty much understand most languages C, python, javascript. The pattern kinda just seems to get clearer

    • @nitin7218
      @nitin7218 3 года назад +1

      @@russeldioneo5187 yes. My reason is close to yours. Java looks like a well explained code. This builds your understanding more on the concepts you are implementing. Also Big tech companies still rely on java.

    • @tobiasbergkvist4520
      @tobiasbergkvist4520 2 года назад +1

      Try learning Haskell or APL with a Java background

  • @tomrecane6366
    @tomrecane6366 2 года назад

    How is HTML/css in the list of programming languages?

  • @darshmostafa6044
    @darshmostafa6044 3 года назад

    Now what is the best and big Companey used iT ( Spring BooT Or Node JS Or .Net Core ) ???

  • @danieldomin3956
    @danieldomin3956 3 года назад +3

    Sure, java is still worth learning. Although it's a old language, there are A LOT of huge applications which use Java, and obviously many job opportunities for Java developers.
    At last, remember about a point: despite that many recent languages, probably Java won't lose relevance in the next years, specially because those most important applications wouldn't change their whole structure overnight (it would be really difficult)

  • @hexadecimalhexadecimal5241
    @hexadecimalhexadecimal5241 3 года назад +8

    Starting out with python will make you a script kiddy for life. Sure you may have some success in the start because its easier......but down along the road when projects get way more advanced and integrated or even reach hardware level the majority gets toast fast.
    Incoming roasts bring em :

    • @Amitjha406
      @Amitjha406 3 года назад

      Agreed 💯

    • @xynyde0
      @xynyde0 2 года назад

      languages are just tools... pick the right tool for the right task and you've already covered 20% of the work. Also, python is great for statistics, machine learning and as a glue language. When you need more control over hardware, use C/C++. For the rest use python. Thats how a lot of large projects are done.

  •  2 года назад

    Honestly in not that into Java I clicked just because of your shirt!

  • @andr3318
    @andr3318 2 года назад

    some months ago: I don't do sponsorships
    now: JetBrains Academy, the sponsor of this video

  • @EhteshamShahzad
    @EhteshamShahzad 3 года назад +29

    6:15 "Java is pretty slow"
    So are Python and JavaScript, which have gained more popularity than Java. And Kotlin, which also runs on JVM (not talking about Kotlin native).

    • @akin242002
      @akin242002 2 года назад +1

      Python is the king of slowness among the big languages. Java is good for high speed performance. C/C++ is the fastest.

    • @tobiasbergkvist4520
      @tobiasbergkvist4520 2 года назад +1

      @@akin242002 Actually, Python can be fast when you need it - since you can easily write C/C++ extensions. Numpy is a good example of this. Working with numpy arrays in Python is likely going to give you better performance than Java/JavaScript etc.

    • @tomekg6629
      @tomekg6629 2 года назад

      Java was slow more than 10years ago. Nowadays it’s 1.5 times slower than cpp on average. Python is 20 times slower than cpp.

    • @tomekg6629
      @tomekg6629 2 года назад

      @@tobiasbergkvist4520 you can also write native c/cpp and use it from Java - but is it Java programming?

    • @killerdroid99
      @killerdroid99 2 года назад

      speed is not the only factor to make one lang superior to other

  • @haroldpepete
    @haroldpepete 3 года назад +7

    java is the leader in enterprise, spring cloud is the base for micro-service, one of the most used architecture currently, and spring is powerfull and easy to learn, this is like a, is php dying, is ruby on rails dying

  • @parampreetrai7093
    @parampreetrai7093 3 года назад +1

    Anyone noticed captions.

  • @Squig8
    @Squig8 2 года назад +1

    Yes, java is still huge in enterprise solutions and any java dev could easily and quickly move over to kotlin as well. Of course, nothing lasts forever in this field so never stop learning new stuff.

  • @aeon7121
    @aeon7121 3 года назад +6

    If i'm already getting the hang of python, is Java still worth learning?

    • @KeepOnCoding
      @KeepOnCoding  3 года назад +12

      Probably not

    • @pear4576
      @pear4576 3 года назад +2

      Just learn both, couldn't hurt really. I think if Python is your only language currently, then you should definitely learn a strong type language, it'll help you a lot. And well if you ever need some Java, you'll know what to do. Idk how much experience you have, if it's just a few months to a year, I'd probably continue using Python for now. If you're experienced in Python and you know what you're doing, then you can pick up Java relatively easy, honestly just knowing how to install it and run a program is worth something. You'll at least know what Java is and you won't feel completely clueless as to how Java files are created and ran. From there just build something small, doesn't really have to be anything great, just doing a text based RPG is easy enough and will get you used to Java syntax. I think having some experience in Java imo is always valuable, even if its' minimal, just knowing the syntax and knowing you can do it is helpful. And if you ever need to use it at your job, you can just Google how to do certain things if you don't know :).

    • @aeon7121
      @aeon7121 3 года назад +1

      @@pear4576 Thank you for the advice, appreciate it. Currently Python & R are my strong languages, picked up JS recently.

    • @felixbomm
      @felixbomm 3 года назад +2

      I recommend learning at least two languages, (e.g. python & java) that are pretty far in their applications, because you could greatly expand the field of things you can do. When you notice python getting to slow, you could use Java (or even C, if you really need every millisecond). Also, it would do great on your portfolio(when you want to code professionally) or just impress people even more (Wow, you can code in two languages?)

    • @felixbomm
      @felixbomm 3 года назад

      *pretty far AWAY in their applications

  • @King_Jango_13
    @King_Jango_13 2 года назад +3

    6:07 Couldn’t you just pass the string as a parameter of the StringBuilder, call the reverse() and toString() methods and return that?

    • @aaqibjavedz2569
      @aaqibjavedz2569 2 года назад

      Exactly what I thought. But i think the idea was to show how much extra code has to be written to do a simple task.

    • @King_Jango_13
      @King_Jango_13 2 года назад

      @@aaqibjavedz2569 Thought so, I’m just a coding nerd :)

  • @raheemdavis2696
    @raheemdavis2696 Год назад

    That mic + that shirt = W

  • @XS-zz6bl
    @XS-zz6bl 2 года назад +1

    The java code on 6:08 is wrong, variable hello in reverseString method is undefined and should be str