Get your free 1st month of JetBrains Academy: jb.gg/academy/keep_on_coding
@user-dh8oi2mk4f3 жыл бұрын
Shouldn’t you pin this comment so more people see it?
@cjp06053 жыл бұрын
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).
@leokac3 жыл бұрын
Can you promote my VSCode extension? And what's the price?
@khadidjaarezki89703 жыл бұрын
How long before the coupon expires?
@abhisheknaithani36473 жыл бұрын
Sir I completed my college and learn jdk11 what should i do now
@greggoldman35663 жыл бұрын
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.
@tamoai41613 жыл бұрын
Perfect!
@santhoshsiva2813 жыл бұрын
Thanks for ur advice bro
@ponalvsiki22542 жыл бұрын
Why did you learn HTML CSS but ignore JavaScript?
@jathebest28352 жыл бұрын
@@ponalvsiki2254 Good question. I'd like to hear this guy's answer as well.
@ponalvsiki22542 жыл бұрын
@@jathebest2835 yeah. Front end is getting more complex and needs more devs than Java.
@LeonASDEVEL3 жыл бұрын
Whilst java is a great language, oracle is possibly one of the worst companies.
@Henrique-eu8rw3 жыл бұрын
Preach, bro. Was much better in the hands of Sun.
@hungerfan5523 жыл бұрын
Nestle : hold my beer
@hungerfan5523 жыл бұрын
@BabylonianDynamics not everyone is a native english speaker
@LeonASDEVEL3 жыл бұрын
@BabylonianDynamics idk lol, if it annoys u too much I can edit the comment
@osvaldoleiva6783 жыл бұрын
openjdk: bro
@nqtural13223 жыл бұрын
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.
@J_R_Games3 жыл бұрын
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) .
@flunik6663 жыл бұрын
react is a cesspool
@SimpleProgrammer03 жыл бұрын
@@IvnSoft lol🤣🤣
@SimpleProgrammer03 жыл бұрын
actually java is so big and vast so its take time to die🤣🤣
@ahmedbathily70133 жыл бұрын
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
@Monster333363 жыл бұрын
Java cannot die.
@theburntcrumpet83713 жыл бұрын
Java is still widely used in enterprise. I’ve just started a job where the company’s existing platform is built in Java
@TwstedTV3 жыл бұрын
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......
@joseantoni0343 жыл бұрын
@@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.
@vaisakh_km3 жыл бұрын
@@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-tt9rz3 жыл бұрын
@@vaisakh_km they're not putting customers at risk, this is a false assumption. Mainfraimes are very well secured
@joseantoni0343 жыл бұрын
@@vaisakh_km 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.
@deepsonshrestha56463 жыл бұрын
Bro, I'm from 2030. It's still worth learning now.
@my_j.a.r.v.i.s.3 жыл бұрын
I'm from 2030 and now robots do Coding for us, we just need to give algorithms to them
@adityasurabattula69523 жыл бұрын
@@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
@lutfilubis23783 жыл бұрын
Variant!
@mego73893 жыл бұрын
Oh really? did you use Java to program your time machine?
@getrogo44743 жыл бұрын
Nepali bhaye pachi guff ta dina pari halyo ni ;)
@chaudharyzafar74653 жыл бұрын
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.
@thomashansknecht18983 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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.
@funguy292 жыл бұрын
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.
@deadpopcorn85232 жыл бұрын
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
@funguy292 жыл бұрын
@@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.
@nicolascossio59612 жыл бұрын
@@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.
@funguy292 жыл бұрын
@@nicolascossio5961 Agreed. Couldnt have said it better.
@ngndnd2 жыл бұрын
@@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
@cyclone34443 жыл бұрын
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.
@killerdroid992 жыл бұрын
and then replaced with nodeJS
@MrClaudioAgostini3 жыл бұрын
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.
@thedumbestdoge8813 жыл бұрын
Aren’t compiled languages always faster because they’re directly translated BEFORE being ran vs translated AS it’s running?
@glumfish68623 жыл бұрын
@@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 .
@9SMTM63 жыл бұрын
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.
@9SMTM63 жыл бұрын
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.
@TheTacticalMess3 жыл бұрын
@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 ($$$)
@gokuafrica3 жыл бұрын
Java with spring, I think the spring layer really brings along some nice abstractions and makes it easier to build applications using Java
@f.55283 жыл бұрын
yep, java without spring is just futile in entreprise world nowadays. Thank you spring(boot).
@Summersault6663 жыл бұрын
Log4j is awesome to create ramsomwares that can't be fixed for now...
@moderneinstein26443 жыл бұрын
I love Java, Please could you teach me the nuances of The Spring Framework .
@killerdroid992 жыл бұрын
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
@detimzhao75103 жыл бұрын
Bro, I was literally thinking about this last night as a beginner, thank you.
@Pzdrs3 жыл бұрын
Java is so pleasant to work with. There is everything u can think of built in, its ridiculous and my lazyass loves it
@MovinduLochana3 жыл бұрын
Java is my favourite programming language
@user-fq2ty3 жыл бұрын
no
@Mersal-uj5nh3 жыл бұрын
Nice , but nowadays I hear people talk a lot about Go Lang, any comments on it .
@eeeeeeeeeeeeeeeeeeeeeeeee-s3p3 жыл бұрын
same here, screw Go its trash
@blasttrash3 жыл бұрын
why? any specific reason or just coz its the first language you learnt?
@OverG883 жыл бұрын
@@Mersal-uj5nh You can ask me whatever you want about Golang. Overall, Golang is very behind Java.
@Swedishgentleman3 жыл бұрын
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 :)
@clementcle1303 жыл бұрын
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.
@SimonBauer73 жыл бұрын
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
@x0kosmus0x3 жыл бұрын
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
@mercy24093 жыл бұрын
hahaha yeah
@Ezdiess3 жыл бұрын
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-ph6cv3 жыл бұрын
@@jaredroussel chicken scratch ghetto LMAO :D
@AshVXmc3 жыл бұрын
Yeah he said it was an exagerrated form
@jorgeromeu3 жыл бұрын
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
@blasttrash3 жыл бұрын
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).
@advait353 жыл бұрын
@@blasttrash I didn't understand, which IDE would be better at refactoring?
@liuhc3 жыл бұрын
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.
@sentzeu2 жыл бұрын
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.
@akin2420022 жыл бұрын
Go is great for almost all situations. C++ with a competent coder or team is also great for enterprise.
@hukunamutata2 жыл бұрын
Java being my first language really helped me understand programming and now I can learn any language with ease.
@adrothemaster15683 жыл бұрын
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!
@gawk4943 жыл бұрын
did you learn java?
@adrothemaster15683 жыл бұрын
@@gawk494 yes
@gawk4943 жыл бұрын
@@adrothemaster1568 was it your first language? and where did you learn from
@adrothemaster15683 жыл бұрын
@@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 Жыл бұрын
Guys what is the best platform for Core java that teaches concepts through coding problems?
@Dainternetdude3 жыл бұрын
The graph at 5:19 is comparing language use by all users on the left to language use by professional developers on the right.
@ViralKiller Жыл бұрын
what is it actually used for?
@nicha45003 жыл бұрын
I just discovered you
@userpiero53593 жыл бұрын
He has good content
@nicha45003 жыл бұрын
@@userpiero5359 Yea
@codyhubert61782 жыл бұрын
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.
@smgsngon58043 жыл бұрын
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.
@audiohutch3 жыл бұрын
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.
@thedumbestdoge8813 жыл бұрын
Bro I lost it on the you vs the guy she tells you not to worry about meme lmfao.
@jimreynolds23993 жыл бұрын
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.
@JoseVargas-dx7wz3 жыл бұрын
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.
@thelaststark063 жыл бұрын
Thanks for the free trial. Just the resource I was looking for learning JAVA
@wariare12world953 жыл бұрын
actually...why did you stop making java tutorials?!
@EhteshamShahzad3 жыл бұрын
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).
@akin2420023 жыл бұрын
Python is the king of slowness among the big languages. Java is good for high speed performance. C/C++ is the fastest.
@tobiasbergkvist45203 жыл бұрын
@@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.
@gopfertami3 жыл бұрын
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.
@gopfertami3 жыл бұрын
@@tobiasbergkvist4520 you can also write native c/cpp and use it from Java - but is it Java programming?
@killerdroid992 жыл бұрын
speed is not the only factor to make one lang superior to other
@hobbes25553 жыл бұрын
Simple answer: yes. Many businesses use it. It has powerful frameworks that connect in with it. If you know C# it is similar.
@lucaspiano Жыл бұрын
I work with Java since 2001. Got an SCJP in 2004 and have worked for many companies like IBM, Accenture, Santander Bank, etc and well... Java for sure is one of the main languages and platforms to learn and invest your time/money for sure.
@mithos789 Жыл бұрын
how much are you making per year?
@stexjy13023 жыл бұрын
6:08 for that a little change to StringUtils would do the job, so I guess constant updates would help Java in that problem
@ritchielrez16803 жыл бұрын
C++ is better when it's used like C with classes.
@ITSecurityNerd3 жыл бұрын
Well... yeah...
@ITSecurityNerd3 жыл бұрын
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.
@alexmehta60703 жыл бұрын
I mean it really depends. Java has the garbage collector which makes it a better introduction to coding and leads to less memory leaks.
@ITSecurityNerd3 жыл бұрын
@@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
@alexmehta60703 жыл бұрын
@@ITSecurityNerd ah yes you want to learn how to solve integrals before addition. Yes it makes things easier if you actually end up understanding before you give up.
@daffapradana85573 жыл бұрын
Java isn't a beautiful written language, but it's definitely an undying language.
@vaisakh_km3 жыл бұрын
New word?? "Undying"😂
@princeregmi62193 жыл бұрын
Java developer 😂😂
@yadullahkurt21893 жыл бұрын
@@vaisakh_km he is mean Undead like Arthas The Knight :)
@mpelalidiko2 жыл бұрын
'You vs the guy she tells you not to worry about' = amazing demotivational poster
@fallencactus63593 жыл бұрын
this is the EXACT video I needed thanks a lot!
@enforc3rr3 жыл бұрын
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 .
@tobiasbergkvist45203 жыл бұрын
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.
@killerdroid992 жыл бұрын
@@tobiasbergkvist4520 true logic in your comment
@vjawsm3 жыл бұрын
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
@russeldioneo51873 жыл бұрын
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
@nitin72183 жыл бұрын
@@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.
@tobiasbergkvist45203 жыл бұрын
Try learning Haskell or APL with a Java background
@begga96823 жыл бұрын
Can people stop saying Java is slow. Please. We have an awesome JIT compiler with years of work put into it and even graalvm-nativeimage now. Yes, it's slower than C, obviously, but stop saying it's slow. You can easily make games with it or whatever you want.
@johndoe-el6ko3 жыл бұрын
A language that improves gradually and withstands the test of time. so yeah. Plus Java/Spring/IntelliJ is a match made in heaven.
@keerthichandra3763 жыл бұрын
Amen to that!
@kamil41513 жыл бұрын
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.
@rfsimoes19923 жыл бұрын
HTML/CSS in a top programming languages...
@samuelemorreale75103 жыл бұрын
It's THE top programming language
@maruf79563 жыл бұрын
For web development not software development
@nonsudunk3 жыл бұрын
@@maruf7956 html/css aren't programming languages
@someoneWhoSpeaksAbout3 жыл бұрын
Exactly, dude
@majdhojera32763 жыл бұрын
These are my favorite languages, i hacked google with them 😎
@stefanandrian74463 жыл бұрын
As much as I don’t like Java , it’s not gonna die , it’s probably one of the most in demand languages
@aeon71213 жыл бұрын
If i'm already getting the hang of python, is Java still worth learning?
@KeepOnCoding3 жыл бұрын
Probably not
@pear45763 жыл бұрын
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 :).
@aeon71213 жыл бұрын
@@pear4576 Thank you for the advice, appreciate it. Currently Python & R are my strong languages, picked up JS recently.
@felixbomm3 жыл бұрын
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?)
@felixbomm3 жыл бұрын
*pretty far AWAY in their applications
@hellelo.58403 жыл бұрын
I would say: If you're a freelance, Single Developer, go with: Javascript, Python....and the interpreter is your team, ( Save You A Lot Of Time - Cross Platform ) If you want want to work for a large company go with a compiled language and aim for a specific role. It depends on the value you want to deliver.
@haroldpepete3 жыл бұрын
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
@neelbanga3 жыл бұрын
Java is evergreen 🌲
@jan-lukas3 жыл бұрын
"The GC only takes a fraction of a second" Running the GC in Minecraft: 2 seconds freeze (during normal operation it uses the incremental GC or whatever it was called, but I modified the code)
@begga96823 жыл бұрын
no
@XS-zz6bl3 жыл бұрын
The java code on 6:08 is wrong, variable hello in reverseString method is undefined and should be str
@helios993 жыл бұрын
Even if its 2050 the answer is YES if its in your Semester syllabus!
@mazymetric8267 Жыл бұрын
6:08 verbosity of Java is quite exaggerated in this example. This code below reverses a string in java. public class Main { public static void main(String[] args) { System.out.println(new StringBuilder("Hello, World!").reverse().toString()); } Granted it's more verbose than the python alternative but I would argue it makes it easier to understand. It's very clear from reading it that that we are building a new string using StringBuilder, reversing it using reverse() and converting it to String using toString(). With python, it's hard to parse out what's happening with hello[::-1] if you don't know python.
@mr06613 жыл бұрын
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.
@zoriiginalx75443 жыл бұрын
This why Rust is better.
@sidharthcs21102 жыл бұрын
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
@ric82483 жыл бұрын
Even without the performance indicator, for anyone who has programmed in both C++ and Java, it should be pretty obvious that C++ is far (and I mean FAR) superior in almost every aspect.
@mosey66153 жыл бұрын
ok
@wawbagel2 жыл бұрын
lol what? :D were you high when writing your comment, Ric? :D
@ric82482 жыл бұрын
@@wawbagel do you even code son, that you should come up with a childish reply like that?
@wawbagel2 жыл бұрын
@@ric8248 oh yeah I do. And that’s why I commented your childish statement in such way. You have to be newbie or some dogmatic maniac to say what you said. Btw - what’s that “son” style about? Did you have tough childhood or something?
@ric82482 жыл бұрын
@@wawbagel nothing wrong, just putting you in your place after your gratuitious, nasty comment, kid
@nguyencodervn2 жыл бұрын
Thank you very much for your course.
@King_Jango_133 жыл бұрын
6:07 Couldn’t you just pass the string as a parameter of the StringBuilder, call the reverse() and toString() methods and return that?
@Good_Guy_Lex3 жыл бұрын
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_133 жыл бұрын
@@Good_Guy_Lex Thought so, I’m just a coding nerd :)
@wlk73183 жыл бұрын
Really useful to hear your thoughts, thank you.
@BeautifulTurkish3 жыл бұрын
Is this video still relevant in 2021? Nope. Lots of cliche about Java. Doesn't mention anything has happened in the ecosystem in the past ten years.
@pee-buddy3 жыл бұрын
Seasoned pros like yourself are an endangered species these days. The ecosystem is overrun by script warriors.
@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.
@hexadecimalhexadecimal52413 жыл бұрын
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 :
@Amitjha4063 жыл бұрын
Agreed 💯
@xynyde03 жыл бұрын
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.
@alql772 жыл бұрын
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
@katok99383 жыл бұрын
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
@leavesoflemons53742 жыл бұрын
you have a great way of teaching things, thanks !
@kraljict3 жыл бұрын
C++ is not C with classes. They are completely two different languages now.
@bwzie3 жыл бұрын
I mean he probably meant it as "At the time". And he technically isn't wrong, but now, yes, it is very different.
@kraljict3 жыл бұрын
@@bwzie Do a try catch block in C and tell me how that works out 😂😂😂
@bwzie3 жыл бұрын
@@kraljict ? Dude did you not read carefully? I agreed with you 😂 I said that yes they are, especially now, very different. But he obviously oversimplified it for the sake of the argument that Java at the time was built from the ground up with objects in mind.
@kraljict3 жыл бұрын
@@bwzie I know xD I am just saying though ( not arguing with you)
@tobiasbergkvist45203 жыл бұрын
@@kraljict In C, a function that can fail returns a status code, rather than a value. Typically, you use goto to deal with cleanup when an error occurs in C. int my_procedure(char* result) { int status; int return_code = 0; char* result1 = NULL; char* result2 = NULL; if ((status = subprocedure1(&result1)) != 0) { return_code = 1; goto cleanup; } if ((status = subprocedure2(&result2)) != 0) { return_code = 2; goto cleanup; } if ((status = combine(&result, &result1, &result2)) != 0) { return_code = 3; goto cleanup; } cleanup: free(result1); free(result2); return return_code; }
@danieldomin39563 жыл бұрын
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)
@asim10733 жыл бұрын
java and c++ will never die
@sppsports24493 жыл бұрын
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)
@keerthichandra3763 жыл бұрын
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
@RougeLino3 жыл бұрын
what language should i learn if? : - i want to create a word office app with a text scraping tool integreted. - or a social media like twitter or instagram (you can suggest a 2nd language if you want) - i also want the language to be popular enough to find a job or collaborators (other programmers who use that language) kind of easily
@ArielCacha3 жыл бұрын
the java example at 6:09 could have been done in 2 lines too (ignoring the main declaration): System.out.println(new StringBuilder(hello).reverse().toString())
@nguyenduy-sb4ue3 жыл бұрын
Clearly this meme is created by someone who hate java
@tomlester86813 жыл бұрын
Verbose doesn't mean declarative. In fact, it's the opposite. Verbose is usually imperative.
@Gandagorn3 жыл бұрын
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
@andreaspatounis56743 жыл бұрын
I am sorry to say but I think that if you know java a good idea would be to switch to c# that it is similar
@erwinjaygrande633 жыл бұрын
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.
@deadpopcorn85232 жыл бұрын
I love jetbrains, they are probably the best programming environment thingy, this is not a bot or smthing but its a genuine complement
@VS-vs8xo3 жыл бұрын
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
@manassrivastava97363 жыл бұрын
If you are based in India, and you want an SDE job, then ya you have to learn either Java or C++, there is no other way, the rest of the languages are either not accepted by the platforms or are not preferred by interviewers. So definitely go for Java.
@jsmastery19313 жыл бұрын
what about C#?
@RickGrimes20993 жыл бұрын
Sam..can't get enough of your videos..thank you 😊
@alihammadshah3 жыл бұрын
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.
@andreimarian853 жыл бұрын
In my opinon Java is worth learning.Why?Even tho I am new to Java and I just started learning 9 months ago, I chose it because there are lots of jobs out there that require you to know Java.It's true that if there weren't so many jobs that require Java i would have definetely chosen C++.I must be honest and say that it was really hard to learn it in the beginning but once you start working on some projects it is actually kind of fun :D.Therefore i would definetely recommend Java to any begginers (at least in my area).By the way that discord channel is really cool :D.
@thatoneuser86003 жыл бұрын
Do you often find yourself writing generic methods and generic types when designing/building your projects?
@andreimarian853 жыл бұрын
@@thatoneuser8600 Well I think that there's not a single project where I haven't used them where I needed them even tho I am not working as a software developer yet.I'm hoping that i'll get my first job in the IT industry soon.
@yadullahkurt21893 жыл бұрын
What are you using java for? what's your title?
@David-fv3lb3 жыл бұрын
@@yadullahkurt2189 I'm using Java for automation testing with Selenium/ Testng/Cucumber
@yadullahkurt21893 жыл бұрын
@@David-fv3lb thanks mate!
@debajyotinath50213 жыл бұрын
doesn't answer the question, asks the audience the same question
@iq05783 жыл бұрын
Me: "You should declare similar variables pn the same line" Everyone: "He's out of line, but he is right"
@shunnie84823 жыл бұрын
This comment section is cancer. You guys like to bash people because people started with Python, and think you are superior (for some weird reason), but honestly you are not. Switching from a language to another language, is always going to be easy, no matter the language. Only parts where you have a problem will be if the language has its own gimmicks, (which every language has), after you learn that you are set to go again. Python to C++, just learn memory, pointers and such, that is literally it. You dont need to restart from nothing. Programming is mostly just using loops and simple operations to do big things, its not about language. Rationale and thought process makes a good programmer. Languages are just a tool.
@nicolasperez56813 жыл бұрын
I love when people say "JAVA is slow". You are so wrong my friend. Java is as fast as native code thanks to the ability to be compiled at runtime for the platform specifics along with the tonts of optimization the JIT compiler has. If there is one thing that many benchmarks have proven, it's that the JVM is amazingly fast. In fact, it turns out that the JVM is so fast that only very carefully crafted benchmarks can illustrate any noticeable performance advantages for any other language.
@KeepOnCoding3 жыл бұрын
Source?
@nicolasperez56813 жыл бұрын
@@KeepOnCoding our internal benchmarks at Google show over and over that Java and Go, for instance, have similar performance most of the time. There are only certain type of problems where native is slightly faster. However, for most people and most application that neither true nor required. Most modern applications don't use CPU that much, most of the time is spent on IO call/cycle. The JIT compiler and the hotspot are extremely well crafted pieces of software that are able to optimize the bytecode on the flight for the specific platform being target. Go/C++ compilers normally don't do this at all. I think it is very wrongly to say java slower than native code, that is 99% of time wrong. Yes, there is again certain classes of problems where native is faster, but that is not the norm. Notice I am not saying native is bad, it is actually good too, and it is used when it is needed, everything depends on the problem on hand. However, learning Java in 2021, hell yeah, you should, the jvm is used everywhere with great success. The language has evolved quite a bit with the introduction of functional patterns and higher constructs. Verbosity is found on any language, as in some of our internal Go code today.
@noratrieb3 жыл бұрын
Java is very fast, but not as fast as native
@nicolasperez56813 жыл бұрын
Professionally I have used C#, F# for Windows apps, objective C for iOS, Java, Scala, Groovy, Python. C and C++ for devices. Pascal for competitive programming, SQL (make sure u learn sql!!!). Also Go once I joined Google. The point is that you will be constantly learning something new if you really want to be a software engineer. I will be surprised if you don’t have to touch Java ever, you probably will, so learn it, in fact, learn everything u can
@FF18Cloud3 жыл бұрын
@Jamie Walkerdine it really sounds like the source is his and his company's experiments and observations working with the language itself. So, essentially *he is the source*
@mhmdshaaban3 жыл бұрын
It totally depends on what are you looking for. Example: If you are a developer who wants to learn the concepts of oop, I think it's a very good choice.
@mynameisearlb3 жыл бұрын
Yeah I've been learning python for a few months and just wanted to develop an Android app and have been struggling for weeks now to grasp OOP because it seems absolutely necessary in order to develop for Android using python and things like kivy. So after struggling for a while I've decided to just learn Java and create a native app and finally fully grasp OOP. I've watched countless tutorials on OOP and python but still don't quite get how to accomplish my goal using objects. I started learning to program in C about a year ago and after a few months I decided to jump to python to grasp the fundamentals. I was able to complete a few programming challenges in C before switching on the solo learn app but just the really basic ones. I thought about kotlin but it seems that kotlin is more similar to python and a scripting language more than an actual programming language. I was delighted to see that java looks very similar to C and C++ so I've decided to just go all in with Java. At least it won't be a far jump from Java to C or C++.
@Delfinchik3 жыл бұрын
6:07 instead of "public static String reverseString(String str)" should be "public static String reverseString(String hello)" Or inside that method "str" instead of "hello" :) Nice video!
@neihed3 жыл бұрын
I searched for that comment.
@marwenlahmar15133 жыл бұрын
Hey man, in 06:23 you are confusing the JVM with Hypervisors such as VMWare or Hyper-V, the JVM has nothing to do with that, you are showing a diagram of an actual Hypervisor (Virtualized machine) and stating that's what the JVM is. That is incorrect.
@deepayanbiswas44883 жыл бұрын
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.
@ahmedaziz33753 жыл бұрын
Google Java Mooc, I found it very detailed
@panthervish303 жыл бұрын
Java masterclass by Tim Buchalka on Udemy is probably one of the best course available on the internet
@iohandle3 жыл бұрын
Helsinki's mooc... quality
@niceman12monster3 жыл бұрын
6:08 Java apporach since Java 1.5 class Main { public static void main(String[] args) { System.out.println(new StringBuilder("Hello World!").reverse()); } }
@arghyamitra32813 жыл бұрын
Java in backend is ❤️ .. thanks to Spring boot ❤️❤️ .. spring boot fits to the cloud native & microservive architecture so well , most / new microservices are written using spring boot
@killerdroid992 жыл бұрын
spring boot was copied/inspired from ruby on rails framework and ruby is the language of backend
@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?
@lukaswerner43903 жыл бұрын
Started learning Java because of APCS and really enjoyed using it, until I discovered shorter languages like go, typescript, kotlin.
@Randoperson453 жыл бұрын
StringBuilder has a reverse function so that example vs python makes no sense. I could do System.out.println(new StringBuilder("Hello World).reverse());
@thatoneuser86003 жыл бұрын
Indeed-really shows his credibility on this subject.
@unknownbiri3 жыл бұрын
This man is amazing
@omerfarukmerey3 жыл бұрын
To be honest in our school we learn Java/C/C++ and basic python. We discussed this. It is best language to start-off programming even though it has a lot of cons.
@virusblitz3 жыл бұрын
what about python? I'd say to get started its a lot easier...
@panthervish303 жыл бұрын
@@virusblitzSure python is easy to learn but if you're planning on venturing in Java or C++ development after learning python, you're in for some pain.
@omerfarukmerey3 жыл бұрын
@@virusblitz Python is a really good programming language. You can literally do everything. But if you really want to learn Computer Science, programming etc. It's not a good start at all. I am one in one of the top schools in my country and top schools in my country don't really teach Python just basics we did like 4 projects on Python and that's all. My personal opinion is that Python is not a programming language LMAO kidding... Python the language itself codes for you, you are not the one coding :D