Тёмный

Does Java SUCK!? 👩‍💻  

Coding with Lewis
Подписаться 559 тыс.
Просмотров 952 тыс.
50% 1

Наука

Опубликовано:

 

12 дек 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,4 тыс.   
@orinbrim7019
@orinbrim7019 Год назад
Java was the only language I used for a few years, and having to learn python after it is such a brain twister.
@Kyle-ut7bg
@Kyle-ut7bg Год назад
Really? I was only using C++ for a long time before learning anything else, I just had to tell myself that python is pretty much just English and it wasn’t that difficult.
@orinbrim7019
@orinbrim7019 Год назад
@@Kyle-ut7bg I guess I used confusing language. By brain twister, i by no means am saying it’s difficult. It’s just so shocking simple, that it stuns me when I am trying to do things and am used to a slightly more verbose way of formatting.
@orinbrim7019
@orinbrim7019 Год назад
@@pablojavier7965 Why?
@pablojavier7965
@pablojavier7965 Год назад
@@orinbrim7019 Because you can get stunned by the amount of thing you need to know just to understand the boilerplate code
@indyplaygames3066
@indyplaygames3066 Год назад
agreed. personally i love java and i have a lot of fun with coding in java
@viainablee
@viainablee Год назад
I remember a comment on reddit There are only two kinds of language: The hated one & the one that no one uses
@Iam_Qachal
@Iam_Qachal Год назад
It was a quote by the creator of C++
@FADHsquared
@FADHsquared Год назад
A quote made by the creator of a controversial language. No wonder.
@viainablee
@viainablee Год назад
I see, lol
@daifee9174
@daifee9174 Год назад
A quote of the creator of a language which I think works incomparably better than Java.
@innesiparacheirodon1140
@innesiparacheirodon1140 Год назад
Man the ones that no one use are for the most part the one we forgot and forgot to hate
@freakmangd
@freakmangd 8 месяцев назад
“Compared to other languages” *Shows C#, Java’s twin brother*
@conundrum2u
@conundrum2u 4 месяца назад
Maybe when C# was named J#, but modern C# beats Java like a poorly designed red headed step child with the gang of four book until it admits that the JVM is trash.
@AndersJackson
@AndersJackson 3 месяца назад
​@@conundrum2uso many faults I don't know where to begin. Java is enterprise level, which C# isn't. Java is consistent over all internal classes/libraries. C# isn't.
@conundrum2u
@conundrum2u 3 месяца назад
@@AndersJackson you listed 2 vaguely opaque concepts. enterprise level meaning what, exactly? that there's a large set of libraries already available? yep, that's C#. the fact that there are very large corporations using C#? again yes. internal libraries? you mean how when a feature is proposed to the language and the Java community throws a "but muh compatibility" fit? that doesn't exist in dotnet
@mdbrenna
@mdbrenna 3 месяца назад
C# is way better
@AndersJackson
@AndersJackson 3 месяца назад
@@mdbrenna no, it isn't. Java is Enterprise quality, C# isn't. You can still run code compiled from Java 1 on modern Java, and it has only added two new instructions in the byte code since the beginning. That to support functional programming. C# isn't Enterprise quality, but it still can be good enough.
@VictorGamerLOL
@VictorGamerLOL Год назад
Public static void main string args
@user-fe3hu3jf2u
@user-fe3hu3jf2u Год назад
Psvm, if you do not work in notepad)
@thatsalot3577
@thatsalot3577 Год назад
System.out.println("hehe boi");
@atvonguyentien5726
@atvonguyentien5726 Год назад
@@user-fe3hu3jf2u just 'main' for me or it could be automatically generated lol
@atvonguyentien5726
@atvonguyentien5726 Год назад
This joke is as stpid as hell
@randomstranger8326
@randomstranger8326 9 месяцев назад
and now it is gettin removed lol@@atvonguyentien5726
@Moony-708
@Moony-708 Год назад
When someone gets negativeness about: Java: Minecraft C++: Unreal JS: Every Website Existing C#: Unity ....
@GigaDavy91
@GigaDavy91 Год назад
Minecraft is an example of how abandoning java improves performance, the others are actually good examples
@itsfudge_
@itsfudge_ Год назад
​@@GigaDavy91 And that's why Mojang develop Minecraft Bedrock based on C++, and Microsoft work really hard to promote it
@cxlappsed1548
@cxlappsed1548 6 месяцев назад
​@@itsfudge_and their modding support is 10x more limited compared to java
@theshermantanker7043
@theshermantanker7043 4 месяца назад
​@@GigaDavy91Minecraft's perf is due to Mojang's bad code style, not Java, it's literally the absolute fastest VM language out there
@GigaDavy91
@GigaDavy91 4 месяца назад
@@theshermantanker7043 scheme and lisp are faster than java, and are both interpreted, some versions of scheme are as fast as assembly
@reverbisland
@reverbisland Год назад
Most people who hate Java have never worked on large enterprise codebases where Java thrives. Yes for your hobby project it’s kinda shitty, but when you work on enterprise solutions that generate tens of millions in revenue it’s incredibly powerful with a rich ecosystem. You do not want languages like Python for that.
@adilg7078
@adilg7078 Год назад
Its a top 3 programming language for a reason some people hate just to hate lol
@managMent_
@managMent_ Год назад
I have worked in big (also enterprise sized) java and c/c++ code bases and no, I still hate Java way more. May come down to preference, but personally Java is just too restrictive.
@aperture147
@aperture147 7 месяцев назад
I've spent a few years on developing java program for an enterprise. It's a absolute nightmare, but it's controllable. Imagine pulling a codebase to your machine for the first time, it's a 1G of git history and there might be a team of 5 Indian guys working on it, on another branch, for another feature. The are a room of tech lead, who draws UML and it immediately reflect into interfaces. Java is a great language, but it has a bad reputation of verbose code and terrible work related to it, so a lot of opinions are biased. Their work sucks, not the language itself.
@whohan779
@whohan779 7 месяцев назад
It's legacy, doesn't make it good. By that logic why would any1 use a browser besides IE or Netscape? This is not far-fetched: despite the intentional similar name Java unlike JavaScript is basically dead for web development, unless you want you sites to have even more gaping holes than those still using Adobe Flash.
@misakamikoto8312
@misakamikoto8312 7 месяцев назад
​@@whohan779 no language becomes legacy if the community behind it keeps developing the language and releasing new versions of it.
@Maniac-007
@Maniac-007 8 месяцев назад
most people hate java not because of the language.. but rather because of oracle screwing up
@aperture147
@aperture147 7 месяцев назад
in my experience, people hate java because their job sucks and their project using java, which is bloated by past devs.
@s3m527
@s3m527 Год назад
Used to develop native android apps in Java but i moved to Kotlin recently and it is sooo much better IMO.
@BooleanDev
@BooleanDev Год назад
@@PrinceFelipe000 flutter dart is where its at
@MD-ji7dh
@MD-ji7dh Год назад
Well Kotlin also runs on JVM and is basically Java with better syntax
@asher05
@asher05 Год назад
No its not 😑 i develop android with java and when i look at kotlin code i just.... no
@BooleanDev
@BooleanDev Год назад
@@asher05 I can kind of agree. As someone who doesn't know kotlin very well, I don't like how it reads
@MurderByProxy
@MurderByProxy Год назад
Lol where my NativeScript people at!
@ahmedbahloul7818
@ahmedbahloul7818 10 месяцев назад
I find that good java code is easier to maintain and understand than a good python or js code
@whohan779
@whohan779 7 месяцев назад
I'm honestly curious: are there any noteworthy cases when you need to decide between JS and Java nowadays? For me Python compares to both, but otherwise. 🤷‍♂️
@sbbs942karanshah3
@sbbs942karanshah3 6 месяцев назад
​@@whohan779But python doesnt work with many cases but java works better
@blu3260
@blu3260 5 месяцев назад
​@@whohan779 Well, the obvious one is that js is good for websites, java is good for if you want to write a scalable server. Java and js are both used in mobile app development. And the biggest one in my opinion is also the things that already exist that already use java, so like if you want to make a minecraft mod, or you want to use certain libraries, java supports a lot of things purely by existing all these years. But also, perfectly fine to stick with python, you can do a lot with whatever language, except use javascript for desktop apps or anything server-side ( _cough_ I hate node and electron _cough_ why do I need to run a whole chrome browser for discord to function _cough_ )
@kaushalprasadhial9335
@kaushalprasadhial9335 3 месяца назад
Can u please write a java code for hello world application
@bruhyawn
@bruhyawn Год назад
when i started learning java i hated it now i love it more than python
@redcrafterlppa303
@redcrafterlppa303 Год назад
Congratulations to escape python hell 🎊🎉. Welcome to the world of programming.
@mohamedsulaimaansheriff9787
When u know java u can master any programming language
@richardpaulhall
@richardpaulhall 8 месяцев назад
" i love it[Java] more than python" Easy call. Python is a horrible language.
@aperture147
@aperture147 7 месяцев назад
I saw you evolved from a guy with big ego to a mature dude who hate all the languages cuz they're all suck
@bedstevesuper1936
@bedstevesuper1936 6 месяцев назад
I think every other programing language is better than java.
@sp.n7401
@sp.n7401 Год назад
My problem with Java is more how it forces you into OOP, like you have to create a scanner object to read input instead of just calling a function. I had to create a whole bunch of objects that had different roles just to read REST data. It just feels very unnecessary.
@matthewsocoollike
@matthewsocoollike Год назад
Yeah that’s a common complaint
@alessioantinoro5713
@alessioantinoro5713 Год назад
You gotta, open the connection, use the connection and close the connection, each of those methods might throw an exception that needs to be handled, it's easier to use an object to do those, and you get the positive side that you can share the object reference instead of the file descriptor (less clear code). Then java to fight verbosity, made a special try catch that can open, use and close by defining only a try catch. try(var out = new DataOutputStream()) { // Use the out... // Once outside the try, the out variable will call the out.close() automatically } catch(Exception e) { //Handle exceptions }
@Speiger
@Speiger Год назад
You do know the New IO (nio) library allows you to just read a file path into a byte array directly? And you can just work with that? Reading with a scanner in general is the worst/slowest way to read data in java. It is only used for tutorials iirc, or to interact with the console. While yes it forces you into oop, at least in a lot of ways it gives you ways to deal with your data more easily.
@alessioantinoro5713
@alessioantinoro5713 Год назад
@@Speiger Will study it 👍
@bakedgiraffe
@bakedgiraffe Год назад
C: writes a function Java: create a separate file possibly in a new namespace based on the directory. Create new class. Add static method. Import the file. Call method using the entire namespace. Fails to compile because you didn’t try to catch the 7 possible exceptions in the method
@JoJohns85
@JoJohns85 Год назад
Thank you! I am an eCommerce Java developer and of course I use it daily. I had a bad taste in my mouth at one time for Java, but once you understand how to write clean Java code it’s pretty slick.
@jacoblpeterson
@jacoblpeterson 6 месяцев назад
100% agree. Good Java code can look super clean, especially when you leverage the newest language features.
@endermaster08
@endermaster08 Год назад
"Java is very messy, but so is every other langauge" proceeds to show yandere dev ass code
@AFTstorm
@AFTstorm 8 месяцев назад
> hates java for being verbose > invents react and typescript
@kinershah464
@kinershah464 Год назад
I would say the same for languages which are bullied these days like C++. People's past traumas are making them not touch that language again.
@hatnis
@hatnis Год назад
or maybe its just that there are better options. With rust out, and carbon coming out eventually theres no real reason to learn C++ or Java
@paapipirate8499
@paapipirate8499 Год назад
​@@hatnis java and c++ are both extensively used in Legacy systems and Big Tech infrastructure. New languages cannot compete or even come close at least for 5-10 years.
@KManAbout
@KManAbout Год назад
​@@paapipirate8499 more like 10-25
@GigaDavy91
@GigaDavy91 Год назад
​@@paapipirate8499 i mean Cobol and fortran are still used in legacy systems but they are not good languages by any means 😂
@NateLevin
@NateLevin Год назад
C++ is uniquely horrible though. It is an amalgamation of terrible, confusing features amassed over time.
@thegate8985
@thegate8985 Год назад
Java is an instrument, Python is an instrument, Rust is an instrument. Any language is an instrument. Don't blame instruments. Blame those who use them wrongly
@climatechangedoesntbargain9140
some instruments just suck
@sheepketchup9059
@sheepketchup9059 9 месяцев назад
​@@climatechangedoesntbargain9140great carpenter never blame his tools
@climatechangedoesntbargain9140
@climatechangedoesntbargain9140 9 месяцев назад
@@sheepketchup9059 yeah they just get proper tools
@quantuman100
@quantuman100 8 месяцев назад
@@sheepketchup9059 a great carpenter still wouldn't use a finishing saw to hammer in nails
@EhdrianEh
@EhdrianEh 8 месяцев назад
This is ridiculous. Java is like the plastic recorder you played in school. There are other languages that are more like fine made wood and brass. Just like anything else, every tool has it's high or low quality.
@k1lez
@k1lez Год назад
*shows Minecraft Bedrock edition while talking about java*
@junaidywijaya
@junaidywijaya Год назад
Java actually helps a lot because the coding syntax is similar with c# im currently focused on so it's not bad, just thinking it as a path lead you into next journey
@sonuaryan5287
@sonuaryan5287 Год назад
You are right about your perspective. But truth is c# is similar to java. Java came before C#
@GigaDavy91
@GigaDavy91 Год назад
Yeah C# it's a better version of java, better performance and mostly better syntax, even tho they did screw up something along the way
@sonuaryan5287
@sonuaryan5287 Год назад
@@GigaDavy91 yes c# is more reliable than java.
@__lasevix_
@__lasevix_ Год назад
C# is the result of Microsoft Devs being fed up with using Java
@cheetor18
@cheetor18 Год назад
​​@@__lasevix_ so fed up, they ended up doing the exact same style of coding :))
@angryapplebombs914
@angryapplebombs914 Год назад
NullPointerException Nuff said
@qwerty81808
@qwerty81808 Год назад
Not like you can’t end up with a null pointer in literally any language
@mustafazakiassagaf1757
@mustafazakiassagaf1757 Год назад
​@@qwerty81808rust don't have null
@Ved3sten
@Ved3sten Год назад
Ever heard of seg fault?
@seungjoonwoo2462
@seungjoonwoo2462 Год назад
At least it tells u what line
@qwerty81808
@qwerty81808 Год назад
@@mustafazakiassagaf1757 and in exchange there are certain safe operations you can’t do because the compiler can’t tell that they’re safe.
@qtf0x
@qtf0x Год назад
Minecraft’s a bad example considering MS had to rewrite it in C++ (b/c why would you write a 3D game in Java dear god why)
@Speiger
@Speiger Год назад
Yet the c++ version, while faster, runs a lot worse in gameplay. The java version is slower, without mods that make it on par with the c++ version, but it is actually a lot more playable to begin with. Or do you like falling down through the floor at any power level of 2... Not a joke that is a bedrock bug deemed not worth fixing.
@qtf0x
@qtf0x Год назад
@@Speiger I don’t think bugs are a feature of the language a program was written in. Like it’s obviously possible to write perfect C++ code, that doesn’t mean Microsoft’s engineers are going to
@Speiger
@Speiger Год назад
@@qtf0x Nah, was Closed on the issue tracker as "Won't fix" meaning its a intentional feature.
@qtf0x
@qtf0x Год назад
@@Speiger lol literally “it’s a feature not a bug” that’s great
@electronnuclear
@electronnuclear Год назад
don't forget the fact that the C++ version is multithreaded. from the bugs I've seen on the internet, it looks like ,more than one thread is trying to complete one single task but the task is executed at different timings making the results unpredictable (mostly the reason ppl call redstone in that version is"cursed" or random). from this i think it's not bcz of C++ rather than the programmers themselves. Java edition is single threaded and it only uses other threads for rendering new chunks.
@lzxty6024
@lzxty6024 Год назад
I've been coding Minecraft plugins in Java for the past 3 years, I love Java so much!
@mayurbhor2231
@mayurbhor2231 Год назад
Love Java , super readable
@innesiparacheirodon1140
@innesiparacheirodon1140 Год назад
you can easily read a file in java but good luck reading a program.
@mayurbhor2231
@mayurbhor2231 Год назад
@@innesiparacheirodon1140 Reading an whole service is easy in Java because of the increased readability which facilitates abstraction of understanding
@jannik323
@jannik323 Год назад
one thing you didnt mention: you cant run it anywhere. its a : compile once ,run nowhere,install java everywhere,debug everywhere language
@atvonguyentien5726
@atvonguyentien5726 Год назад
Because you suck. Youre so stpid that you mess everything up and dont know what is going wrong
@explodatedfaces
@explodatedfaces Год назад
Compile once, run on a blu-ray player, "3.5 billion devices all of them blu-rays", documentation outdated by 22 years, "when we print the stack we PRINT the stack" language.
@explodatedfaces
@explodatedfaces Год назад
@@shhawty the joke went over your head, just like solid runtime errors that are actually useful managed to avoid Sun Microsystems and Oracle. Yeah you can install a JVM anywhere, and it will suck anywhere you install it.
@bakedgiraffe
@bakedgiraffe Год назад
Java: Brew once, puke everywhere
@Eugen1344
@Eugen1344 Год назад
compile once, "oh shit, the version is too low", install different java, change PATH, "oh shit, the version is too high", install more java, change PATH, brute force untill you find the magic java version seriously tho, have they ever heard of backwards compatibility?
@PorkShark
@PorkShark Год назад
I hate Java, but I hate Javascript *MORE.*
@abhilashpatel6852
@abhilashpatel6852 3 месяца назад
noo. javascript has shorthand notation. I am good at both of these. but javascript is fun to do pet projects.
@Xestra37490
@Xestra37490 Год назад
As long as your program doesn’t crash 💥 all languages are great 👍🏼
@not_vinkami
@not_vinkami Год назад
Java doesn't suck. It's just that its successors are too great while being compatible with the entire jvm environment
@Gamerexde
@Gamerexde Год назад
Java was the first language I learned and it isn’t that bad, I kinda like it tbh and can get stuff done. Now days my goto languages are C# and Rust but if I had to use java for some reason I will happily use it.
@elllieeeeeeeeeeeeeeeeeeeeeeeee
@Lim Compilation errors are bad in all C-ish languages
@Stringboiler
@Stringboiler 2 месяца назад
My first language was Turbo Pascal. Then c/c++. I was really happy that i don't need to use that pointers anymore. And system throws exception instead of ruining memory. But as i said before there are no bad programming languages. But a lot of bad developers and managers
@hamud323
@hamud323 Год назад
Everybody who hates on Java cuz they started off with in CS just hate it because they weren’t forced to start with C++ like computer engineers were
@xhalozero
@xhalozero Год назад
Kotlin definitely is an upgrade. Still gotta deal with Gradle & building though so I use python for small projects
@spiriten
@spiriten Год назад
What are the benefits of Kotlin? Some friends have been trying to convince me to switch a Java project I'm making to Kotlin but I don't really see much past syntax changes.
@ehabaleid1093
@ehabaleid1093 Год назад
@@spiriten kotlin requires much less boilerplate code and handles it natively instead of requiring 3rd party dependencies. Plus kotlin has very useful modern features like string interpolation, type inference, null safety, extension functions and coroutines
@Kommentierer
@Kommentierer Год назад
@@spiriten Properties and extensions were the reason for me to switch for new stuff. Data classes and sealed types had been a reason as well, but those are features Java introduced some versions ago as well. Oh, an Kotlin encourages null safety. Properties are a very important feature for a modern language, followed by async operability.
@FADHsquared
@FADHsquared Год назад
​@@spiriten Coroutine, performant higher order array inlined methods(as opposed to the slow Stream API), etc.
@spiriten
@spiriten Год назад
Tried replying a couple times with specifics, RU-vid deletes my comments. Many of these seem like non-festured and like they'd actually get in the way. Regardless, coroutines and improved performance functions sound nice... but not nice enough to switch my code base
@christianfernandez5717
@christianfernandez5717 Год назад
Spring takes Java to a whole new level. Lombok is useful for boilerplate and other conveniences. Wish it were more comprehensive in its vanilla state, but definitely not a bad language. I've never understood the whole language snobiness anyway. It's just a programming language.
@danishpeer4315
@danishpeer4315 Год назад
Exactly.
@badbeastclub6460
@badbeastclub6460 Год назад
Java is easier to learn than C++ i want to have a c++ free course I gave up in 30 mins 😢
@Luca-re3ve
@Luca-re3ve 7 месяцев назад
100% agree i love java and work with it but as you said i've worked on SO MANY shitty codebases that almost made me quit my job
@HasanAmmori
@HasanAmmori Год назад
People start to love Java once they spend Christmas debugging some weird bug, that always, ALWAYS comes from some dynamic loosely-typed language. Suddenly, writing long variable names with types and all is not a bad idea afterall.
@HrHaakon
@HrHaakon Год назад
And Eclipse and IntelliJ both lets you autocomplete stuff like mLVN into myLongVariableName, so it's not like you have to type the whole thing either.
@svenyboyyt2304
@svenyboyyt2304 Год назад
Strict typing is not one of the reasons why people don't like Java. It wasn't mentioned in the video and there are loads of strictly typed languages. With your logic people should hate Rust. Guess what? Rust has been the most loved language every year since it was released 8 years ago. Java is one of the most hated. So you're wrong.
@svenyboyyt2304
@svenyboyyt2304 Год назад
Strict typing has nothing to do with Java, it's not specific to Java. I bet you're the kind of person that doesn't realise you can have a capitalist dictatorship and a communist democracy.
@sneak9407
@sneak9407 7 месяцев назад
​@@svenyboyyt2304quick question, why do you not like java then?
@ChamplooMusashi
@ChamplooMusashi 6 месяцев назад
I once fixed a bug none of my senior devs could figure out because it was an issue with a 60 character line file name that needed to match an exact class path but yea JS hijink bugs are the big problem lol. Not anticipating those classes of bugs is like leaving memory leaks in a c or cpp program and thinking it's the languages fault you fucked yourself
@sail0rd666
@sail0rd666 Год назад
Java runs using a JVM (Java virtual machine) which is a huge problem when you focus on performance, but as long as you have enough ram and processing power you can run java basically everywhere so as always it depends on what you want to do
@karim-abdallah-dev
@karim-abdallah-dev 5 месяцев назад
"Null Pointer Exceptions" Entered the chat 😂
@AYMENDEV
@AYMENDEV 4 месяца назад
😂
@MrTeen-ul7yc
@MrTeen-ul7yc 9 месяцев назад
Thanks for not making it a loop. Really appreciate it.
@alxjones
@alxjones Год назад
My big problem with Java is that Kotlin exists. Kotlin is simply much more refined and modern, it has better support for functional style, better null safety, it's less verbose, but it still carries the core spirit of Java. Also, Java codebases tend to be on old versions of Java, which are a lot worse than modern Java. Anything Java 7 and below is lacking any amount of functional features, Java 8 is extremely common and has some, but it's not until Java 14 (when Records were released) that it really starts to have the kind of support you want.
@simpleelegant9269
@simpleelegant9269 9 месяцев назад
Bro... Before, I hated people yelling Kotlin is better. I started Java and played with it almost 2 years. I came to a point where Java is running out of updated libraries such as on Android. M3 designs are now in Kotlin. Google docs mostly written in Kotlin. When I learned Kotlin, it only took me a day and I can create an app with it. I am thankful with Java for the skill she gave to me but I swear I will never go back to that trash.
@alxjones
@alxjones 9 месяцев назад
@@simpleelegant9269 I've been programming in Java for over a decade at this point, some 6 years professionally. I was also skeptical of Kotlin for a long time, especially outside of Android. I mean, other JVM languages like Groovy and Scala had niches, but none succeeded at being strictly better than Java, so I had no reason to believe that Kotlin would. Now, I think it's just a matter of time (possibly a long, long time) before Java is eclipsed by Kotlin in pretty much every space.
@ArchonExMachina
@ArchonExMachina Год назад
Java is a great example of a clear, concise and safe language with no lack of libraries.
@Gisbert-12843
@Gisbert-12843 Год назад
clear??
@TheDragShot
@TheDragShot 9 месяцев назад
@@Gisbert-12843 It's definitely more clear than your average macro-heavy big C/C++ project.
@meme6852
@meme6852 7 месяцев назад
Well written code in java can be very clean. Strict typing realy helps to detect many bugs at the compilation process.
@Darkerfoxtech
@Darkerfoxtech 8 месяцев назад
Java: NAN! Not a number. Ok java what is contained in that var? Java: oh that var is a a number.
@indp8752
@indp8752 3 месяца назад
You're thinking about javascript, not java
@Aketi15
@Aketi15 Год назад
create a ai based conversion tool to change syntaxes between multiple languages
@konodioda8689
@konodioda8689 Год назад
After trying kotlin literally can't look at java code without gagging
@philippebaillargeon5204
@philippebaillargeon5204 Год назад
Kotlin syntax is gorgeous. I really enjoy Python and C# too
@rehkmansa
@rehkmansa Год назад
As a typescript user I’m more open to trying Java than python It’s weird, I know
@ahmedbathily7013
@ahmedbathily7013 Год назад
​@Keesturn reading Kotlin syntax is very awful and hard
@deamit6225
@deamit6225 Год назад
@@ahmedbathily7013 i am in the same verbose mindset i have learnd its just a matter of learning that syntax afterwards its realtively easy to read
@Lampe2020
@Lampe2020 5 месяцев назад
I actually think it's funny that the main function often begins with "public static void main" XD
@DiazGee
@DiazGee Год назад
Hey this video helped me out, I always wondered this, thank you!
@AstronomyAstropy
@AstronomyAstropy Год назад
Oh thanks Lewis you give me idea making Minecraft java edition clone i swear i want make
@tzabarpho.
@tzabarpho. Год назад
gl
@bakedgiraffe
@bakedgiraffe Год назад
Java has way too many rules and restrictions. All files must be classes/enums/templates, namespaces are forced to be the directory structure, no default parameters, no static functions, forced encapsulation of every class you use, bad error messages, no multiple inheritance, annoying exception handling, no conditional compiling, etc
@thecoolnewsguy
@thecoolnewsguy 9 месяцев назад
No multiple inheritance is literally an disadvantage because it's a pain and most other languages don't have it
@richardpaulhall
@richardpaulhall 8 месяцев назад
Those "rules and restrictions" you hate make the programs robust and maintainable.
@technicalnepaltuts
@technicalnepaltuts 10 месяцев назад
Bro really said that at last 💀
@travgames0113
@travgames0113 7 месяцев назад
The software my company's diagnostic equipment uses to store images in Java.
@ccgarciab
@ccgarciab Год назад
Java has improved through the years, but it still requires to make almost everything into a class or object. That's my big gripe with it, and many devs, with more experience and writing experience than me have dissected this problem. But there's also the problem that many people are stuck using Java 8 or even 7, and ofc they are missing many qol improvements.
@rainyonrecord
@rainyonrecord Год назад
Moved to rust after 3 years of java, best thing I’ve ever done.
@O1dBay
@O1dBay 3 месяца назад
the first lang i learned thoroughly, and paved my path as a dev. so i will always have a soft spot for it
@toslaw9615
@toslaw9615 3 месяца назад
I don't hate Java, I just don't really like it and prefer other languages, but code in whatever language you want.
@bhavyakukkar
@bhavyakukkar Год назад
I refuse to believe that this guy has ever written more than 10 lines of code
@CodingWithLewis
@CodingWithLewis Год назад
Wrong, I have wrote 11
@dan6erbond
@dan6erbond 10 месяцев назад
Seriously. He behaves more like a influencer than an actual developer.
@lilv728
@lilv728 8 месяцев назад
Why? Actual question
@MurderByProxy
@MurderByProxy 8 месяцев назад
@@CodingWithLewis written my guy
@managMent_
@managMent_ Год назад
Java is highly restrictive. It forces you to use OOP for everything, forces you to always pass objects by reference, forces you let the GC do its thing, and will not let you use quality of life features present in other languages like operator overloading simply because the creator of Java didn't like them, while still using them for string concatenation. Its the University style, textbook correct hyper defensive style of coding come to life. At least the people who use it code like that.
@bakedgiraffe
@bakedgiraffe Год назад
Also no default parameters, forced method overloading, no multiple inheritance, no static functions, directories are namespaces, no conditional compiling, encapsulation of every single file/class you import, poor compiler optimization, bad memory management, etc
@chie5747
@chie5747 Год назад
SimpleBeanFactoryAwareAspectInstanceFactory
@HrHaakon
@HrHaakon Год назад
@@chie5747 That's Spring, and Spring is it's own thing.
@69k_gold
@69k_gold Год назад
​@@bakedgiraffe which language are you talking about?
@bakedgiraffe
@bakedgiraffe Год назад
@@69k_gold Java. I hear kotlin addresses some of those problems but I haven’t tried it yet
@stevenclark2188
@stevenclark2188 Год назад
My complaint would be Java encourages object-oriented designs with design patterns that create an illegible explosion of classes. C++ too but at least there you can use the tools in service to another paradigm.
@adityaranjansahoo6261
@adityaranjansahoo6261 Год назад
Java is the HOLY BOOK... FINISH IT FIRST..THEN VENTURE OUT FOR OTHER OPPORTUNITIES 👍🏻👍🏻
@marvinasas2060
@marvinasas2060 Год назад
I am a mechanical engineer and had to learn some java at the beginning of my studies. After that I never wanted to code again ever in my entire life. Years later I did an internship at a company and had to develop a small tool in python. I didn't have a position where I had to code, so that was kind of unexpected. But wow, I actually had fun coding and decided to become a software developer after my degree instead of doing engineering stuff. I am now on the job for about 2 years working as a full stack developer with a master's degree in mechanical engineering. So basically java traumatized me to a point where I never wanted to see any sort of code in my life again and python saved me years later from that trauma 😂
@michaelstevenson5044
@michaelstevenson5044 8 месяцев назад
SAME, Java makes me hate coding
@SahilP2648
@SahilP2648 5 месяцев назад
Both of you need to get your brain checked by a professional
@nikunjmmistry
@nikunjmmistry 4 месяца назад
When i started my career and started learning java doing hellow world god damn took hours and to run the same on other machine another hell due to all these jdk jvm env variables hell, it was black hole instead of focusing on solving problem, had put whole lot of effort to just set it up. At that time we didnt have proper ide, youtube help videos etc had to depend on books or someone's help. It was nightmare 😅
@dijkstra4678
@dijkstra4678 Год назад
I learned basic skills in many languages over the course of being a hobbyist, so I never developed a favouritism or dislike for any language... except for the weird ones
@emmany2767
@emmany2767 Год назад
And what are the weird ones in your opinion
@keokawasaki7833
@keokawasaki7833 Год назад
@@emmany2767 +1 I'm interested in knowing too. It has to be something that's not weird by design
@0mdf
@0mdf Год назад
Weird ones is functional style languages?
@musicallyrelaxable
@musicallyrelaxable 10 месяцев назад
​@@emmany2767Did you heard of cow programming language? It's says moo moo😂
@gavinthecrafter
@gavinthecrafter Год назад
Writing in Java is great if you get paid hourly
@jorenmartijn
@jorenmartijn Год назад
I was done with it when I tried adding different types of numbers (floats and integers for example) and had to use like 5 lines of code to do so versus one line of PHP.
@y-max
@y-max Год назад
I love Java, it's a really detailed language.
@y-max
@y-max 10 месяцев назад
@@furkanunsal5814 never heard of it
@thecoolnewsguy
@thecoolnewsguy 9 месяцев назад
​@@furkanunsal5814horrible
@TS-yb8xe
@TS-yb8xe Год назад
Java is the only language I love. I love Java syntax, it is clear and easy to read.
@gabedarrett1301
@gabedarrett1301 10 месяцев назад
If you really think Java is "clear and easy to read" compared to high level languages, I honestly don't know what to tell you 😂
@TS-yb8xe
@TS-yb8xe 10 месяцев назад
@@gabedarrett1301Depends on how you define "clear syntax", for me make the syntax shorter does not mean make it more clear. The only reason I stick to Java because I find the syntax is clear and easy to read, especially if your code is complex. The only reason I stay away from Go, Kotlin, Python, PHP, because the syntax is horrible, especially when your code is complex.
@oduwaimade6037
@oduwaimade6037 4 месяца назад
“Time to seek therapy for your past trauma”, that sh&t blew me away 😂😂😂😂😂😂
@wesleyoliveira6570
@wesleyoliveira6570 2 месяца назад
The real problem is the license
@mozteq7536
@mozteq7536 Год назад
"java is boring" is often told by people who only had personal projects that they are unable to read after 6 months. Yes it does not have the spiciness of the triple comprehension list filtered by a lambda expression that you can do in python, but that's honnestly not a bad thing.
@bakedgiraffe
@bakedgiraffe Год назад
Boring is good. That’s why I like C because you can keep it simple. Java is just annoying with its unnecessary rules and restrictions
@aizazulhaq
@aizazulhaq Год назад
This is the first video where Lewis appreciated Java instead of mocking it😄
@laas29
@laas29 Год назад
write once, debug everywhere. Another point that worth to mention is, being a Java developer will give you a lot of opportunities... maintaining legacy code. For new and exciting projects the companies tend to use those languages who takes less effort to deploy and write such as Golang, Javascript and Python.
@AnujeetRoy09
@AnujeetRoy09 Год назад
I was gonna tell you about how it's not legacy code... then I realized that you are probably using a smartphone.
@laas29
@laas29 Год назад
@@AnujeetRoy09 thankfully, for that purposes is not longer needed, you can write native android apps with Kotlin, or hybrid ones with Dart and even with typescript/JavaScript which most of the user cases are covered using an hybrid approach. Aside from android I'd say Java is a bad choice to start a new project.
@AnujeetRoy09
@AnujeetRoy09 Год назад
@@laas29 that's not what I meant :). I didn't say android, I said smartphone.
@chivicks_hazard
@chivicks_hazard 11 месяцев назад
Java is actually a cool language to learn,if you wouldn't mind the 'OOP' 😉
@CodingWithLewis
@CodingWithLewis Год назад
What do you think about Java!? 🤔
@mohammadyahyaq
@mohammadyahyaq Год назад
I actually don't know why people used to hate java. Fun fact, I think it is way better than any dynamically typed language (like Python)
@rockyx588
@rockyx588 Год назад
C# > Java 100%.
@sajidulislam4112
@sajidulislam4112 Год назад
​@@rockyx588 You mean Microsoft Java > Java? Ok 😀
@redcrafterlppa303
@redcrafterlppa303 Год назад
I actually started with java and use it to this day. I can only recommend anyone who wants to learn to program to start with java instead of python. It helps enormously in the long run where python tends to stick and slowly you down. Java introduced you to industry standard syntax right away without being overloaded with tons of special magic keywords. It's incredible what new features are on the horizon for java (yes java is not boring and dead its activity developed). For example nearly the full feature set of (named) tuples and patterns matching which is in its last preview phases in form of records and pattern matching with switch and instanceof. For more information there are great videos on the official Java RU-vid channel.
@tammodirksen1408
@tammodirksen1408 Год назад
Probably one of the best languages to start with if you actually want to learn coding. And it is big in application development too. Not only is Android development Java-based but a lot of enterprise application backends are written in Java with frameworks like Spring or Vaadin.
@StrikerBadger
@StrikerBadger Год назад
Java definitely is one of the languages ever.
@niimiyo13
@niimiyo13 Год назад
As a Java hater I need to say, Java isn't that bad. Java conventions are. The thing I simply cannot understand in Java is why can't a field be public? Why use getters and setters for EVERYTHING even when clearly unnecessary? If the only thing your getter does is return and the only thing your setter does is, well, set, I don't see why it shouldn't be a public field.
@adilg7078
@adilg7078 Год назад
Its used for security reasons in OOP thats really all there is to that, im pretty sure theres a quicker alternative to do it but idk for sure
@thatsalot3577
@thatsalot3577 Год назад
It's called enCapSulatIon.
@blastinnn
@blastinnn Год назад
Bro is hater but doesn't know basics of oop
@lilv728
@lilv728 8 месяцев назад
I learned Python before I learned java, and honestly, I liked java better as soon as i got into it. I love java now, I find it to be really readable and easy to use.
@glitchingcore
@glitchingcore Год назад
I used to want to try Java, but after some time of seeing all the hate I changed my mind
@redcrafterlppa303
@redcrafterlppa303 Год назад
Lern it. It's worth it. It's a great stepping stone for learning any language (except python) if you learn python it's pretty likely you will never learn another language and become a programmer.
@SahilP2648
@SahilP2648 Год назад
Java is one of the best languages out there except for the whole JVM thing. A good alternative is Kotlin or Kotlin multiplatform. Kotlin compiles to Java code but it's better in terms of readability, coding speed and new coding practices. But Kotlin multiplatform doesn't have good library support.
@glitchingcore
@glitchingcore Год назад
@@redcrafterlppa303 I'm planning to learn C++
@redcrafterlppa303
@redcrafterlppa303 Год назад
@@glitchingcore powerful choice. There's a lot you can do with it. But if you ever get frustrated with unreadable errors and weird bugs I suggest you have a look into rust.
@glitchingcore
@glitchingcore Год назад
@@redcrafterlppa303 alright, thank you
@bradleon1926
@bradleon1926 Год назад
The main reason Java is so popular is that it's taught to almost everyone as their first language for some reason nowadays Ok apparently this really just an American high school thing. AP computer science A.
@user-fr2fm3ri3w
@user-fr2fm3ri3w Год назад
What are you talking about maybe in India or something in Europe we have Python everywhere
@BlueNEXUSGaming
@BlueNEXUSGaming Год назад
Because Java was so popular that, Java got flagged as a Global Security Warning.
@bradleon1926
@bradleon1926 Год назад
@@user-fr2fm3ri3w interesting, in america we're usually taught Java
@user-fr2fm3ri3w
@user-fr2fm3ri3w Год назад
@@bradleon1926 here the first time I had to do anything Java related was my second semester and it wasn’t to learn Java it self it was to learn the concept of object oriented programming
@bradleon1926
@bradleon1926 Год назад
@@user-fr2fm3ri3w nice
@HARDCOREBULL
@HARDCOREBULL 10 месяцев назад
public static string void bruh moment lmao
@HARDCOREBULL
@HARDCOREBULL 10 месяцев назад
am i right or am i void!!
@rohankumarpanigrahi7475
@rohankumarpanigrahi7475 3 месяца назад
Python junkies : structured code is messy
@michelepreta3339
@michelepreta3339 Год назад
I'll always feel much safer handling raw pointers in C++ (which can be easily avoided anyway) rather than handling Java references having to understand if some implementation of a virtual-by-default method might return null and why
@casper42069
@casper42069 Год назад
I'll learn Java in my second semester as CS student. Hope it doesn't sucks so I can validate my semester 😂
@itsfudge_
@itsfudge_ Год назад
If you put fair amount of learning and practice to understand how Java OOP works i'm sure you'll used to it in a month. Don't let the long syntax demotivate you to learn, trust me it will make sense soon ps: from a person who first introduced with procedural programming with python and then introduced OOP with java
@casper42069
@casper42069 Год назад
@@itsfudge_ thanks for the reply ❤️ I'm planning to start leaning java during the holidays so I can have an head start before the semester begins.
@shhawty
@shhawty Год назад
​@@casper42069 good luck
@elllieeeeeeeeeeeeeeeeeeeeeeeee
If you want to wait to learn Java for the next semester, you can learn C# in the meantime which has a lot of transferable knowledge
@bakedgiraffe
@bakedgiraffe Год назад
Java isn’t bad but it has so many unnecessary rules and restrictions. I’ve learned to love C and rust just from how easy it is to only code what I want. Of course I’m not going to write a web server in C but if I work on an open source C project, I can focus on only writing what I need and not worry about all of the restrictions Java has. C# is nice because it keeps some of the features from C++ too. It still has goto statements 😆
Год назад
bruh you forgot to address the JVM
@blender_wiki
@blender_wiki 4 месяца назад
One drawback of Java is the tendency for developers to rely on the garbage collector rather than mastering memory allocation techniques. While Java served its purpose in its time, the landscape has evolved. Nowadays, particularly for server applications, transitioning back to languages like C++ or C# often proves more beneficial. The economic advantages, stemming from improved efficiency, can be substantial, especially in server environments where the difference can translate to millions of dollars annually in a data center setting.
@unduloid
@unduloid Год назад
Yeah, it kinda sucks, just like any other language out there. But it pays the bills. Honestly though, if I have to work within the JVM I'd rather use Kotlin.
@itsfudge_
@itsfudge_ Год назад
My teacher introduced OOP to me with Java. Yeah, the verbose-y syntax are very overwhelming at first, but soon it make sense to me. When i had to encounter Python OOP for the first time for my project, i was very confused and i still think that OOP with Java still make a lot of sense to me compared to Python, it's just feel more proper and logical since Java is almost purely OOP.
@vimukthaariyasinghe8041
@vimukthaariyasinghe8041 Год назад
True that
@bakedgiraffe
@bakedgiraffe Год назад
Yeah I never understood why people would want to use python as an OOP language. Its an interpreted language so use it like one. They’re called python scripts for a reason
@CapitalGearGaming
@CapitalGearGaming 3 месяца назад
One of the first languages I got super deep into at school. I created a Mock OS called FireStar as one of my last projects, had desktop icons, a functioning science calculator, and I even embeded another friends game into it and had a rudimentary command prompt. Before you ask, yes. It was more like a game, and not a real OS, no Kernel or anything like that. But at the time it was extremely fun.
@Dr.MaxMillian
@Dr.MaxMillian 10 месяцев назад
Agree so much for what he said, sometimes gossip may make people to misunderstand something and may cause over-reaction and more.
@joshaustintech
@joshaustintech Год назад
I've really enjoyed how much Java has improved in the last 10 years!
@Ricardoathul
@Ricardoathul Год назад
java full stack development still have scopes?
@Jd-ki3hf
@Jd-ki3hf Год назад
​@@Ricardoathul I want to know that.
@Ricardoathul
@Ricardoathul Год назад
@@Jd-ki3hf yes it does
@junaidywijaya
@junaidywijaya Год назад
Me who start my journey to coding with Java
@Peteboi64932
@Peteboi64932 8 месяцев назад
Imma do a game in vbs. I already did an account creating-deleting excel macros where each account creates it’s own workspace (excel page) and they can log on/off/delete/create whenever they like!
@LowOrbitFlux
@LowOrbitFlux 6 месяцев назад
Java is terrific. They got object oriented programming right. The swing API was amazing.
@suryac850
@suryac850 Год назад
Java is the best language for back end development. One you deal with large codebases and have to work with multiple teams together, you will understand the importance of writing vrebose and strictly OOP code. Try debugging Production errors and you will see how important Java is.
@moncefarajdal4582
@moncefarajdal4582 Год назад
Bro, JAVA is the BEST. I do most of my uni work with JAVA and I love it. Of course, we work with other languages but my go-to is always JAVA.
@b60977
@b60977 Год назад
Same here. And I love OOP 😅
@the_null_man
@the_null_man Год назад
just wait until you'll discover kotlin
@sanerin7111
@sanerin7111 Год назад
​@@the_null_man donno about kotlin, man. I feel like Java code is way easier to read to be honest, but I guess it depends on your preferences
@denischiosa4496
@denischiosa4496 Год назад
@@sanerin7111 just entered in a new project where at round table decided to write new microservices in Java instead of kotlin, reason is it's easier to hire java developers than kotlin devs
@markus4925
@markus4925 Год назад
Same. 👍♥️ Java
@ExdeathZ
@ExdeathZ Месяц назад
Packing and running java along with the Public static void main(string **args) thing made getting hello world started harder than C(++) with visual studio so I bounced off of it.
@jimmorrison2657
@jimmorrison2657 5 месяцев назад
Java was the biggest language in the world for about fifteen years. That's a long time. This speaks for itself.
@HalkerVeil
@HalkerVeil Год назад
The problem is gamer culture is now influencing our programming culture. Rather than programming being one with godly powers to a gamer.
@ViperLash900
@ViperLash900 Год назад
Agreed to them if it's not C# then the language sucks. It also make me laugh when gamers talk like they know how to program but then get completely lost when you start taking about the basics of object orientation programming
@dfields9511
@dfields9511 8 месяцев назад
C gives you a revolver and you proceed to shoot your foot off by accident C++ gives you a machine gun and a safety but you blow off your entire leg Java gives you a water gun With no water so you will not drown 😂😂😂
@princeakinolaoluwagbemigag1750
Java is the most beautiful language ever
@combustiblelemons1894
@combustiblelemons1894 Год назад
you showed the cover of Minecraft bedrock which is coded in C# not Java
@MrSwac31
@MrSwac31 8 месяцев назад
how not to argue, speed run
@HoseanRC
@HoseanRC Год назад
people be like: "java is useless!" "well, they coded minecraft in java..." "yeah, but what else?" "ahhh... minecraft mods?"
@ZaccOfficial
@ZaccOfficial Год назад
What's funny is that is the main reason why Minecraft is so taxing and laggy for lots of people despite it's graphics and everything
@lexgaddaffi6624
@lexgaddaffi6624 2 месяца назад
Most Android apps are written in Java. ATMs use Java majorly though some ATMs combine Java with C++ and assembly. SimCards are fully written in Java. Java is preferable when developing front-end applications because finance and FinTech demand a highly secure system. Netflix's backend is fully done in Java. Spotify is also done in Java. The majority of the popular platforms out there have at least a portion of them done in Java e.g. amazon, RU-vid, etc. Need I go on?
@drjvoices
@drjvoices 9 месяцев назад
I was taught in high school java, and java only, half of the time i cannot read my own code and if i do, idk what its doing bc it just looks messy.
@MA-rz5pd
@MA-rz5pd 9 месяцев назад
Your videos are awesome, and thank you for your effort
Далее
How I would learn to code (If I could start over)
9:16
Gặp 2 thánh troll | CHANG DORY | ometv
00:42
Просмотров 13 млн
Why Most Programmers DON'T Last
18:56
Просмотров 270 тыс.
Using docker in unusual ways
12:58
Просмотров 411 тыс.
The Ultimate Tier Programming Tier List | Prime Reacts
26:57
My Brain after 569 Leetcode Problems
7:50
Просмотров 2,4 млн
Java is mounting a huge comeback
3:40
Просмотров 1,1 млн
35 Things Every Programmer Should Know
18:01
Просмотров 52 тыс.
how Google writes gorgeous C++
7:40
Просмотров 807 тыс.
How principled coders outperform the competition
11:11