Java Programmers Be Like
HTML-код
- Опубликовано: 27 сен 2024
- Every Java Programmer... Basically.
Take this with a huge pile of salt.
I'm gonna put the music i used here in the description once I have time.
If you want you can follow me on twitter, I don't use it that regularly but I'll work on that. - Развлечения
Starts with Hello World slowly moving to Goodbye World
Those are what I use to console log. If I’m building a feature and everything is going smoothly, I use log “Hello World”, but if I’m struggling with a bug, I’ll log “Goodbye World”
@@perezident14 lmao 😂
Eu amo python e java
@@perezident14 Lmao, i'm gonna start doing that
i see what you did there
The more people hate Java, the bigger my salary gets. Thanks my friend
it's fine you deserve it, you deal with enough already xD
Same
the bigger your salary the more your manager thinks about migrating the codebase to some shit like python or c#.
@@estevaopimentel8710 php bonjour
@@estevaopimentel8710 LMFAO C# is worse than Java and I'm talking from experience, you can clearly see they were copying Java and they managed to make it even worse.
the "put each line of code in a new class" got me laughing all day
outstanding joke tbh
edit: didn't remember commenting on this vid but like 1.6k likes for this comment is absurd
a day is 24 hours and ur reply was 45 minutes ago 🤓
@@probablyanon :thonk:
@@probablyanon bro think all day literally🤓
@@probablyanon he laughed in assembly
@@probablyanon he typed after he finished laughing
You aren't a Java developer if you've never come across a NullPointerException.
Also, proud to say that I was here when it had 155 views, 42 likes, 5 comments, and was uploaded 36 minutes ago.
I love my IllegalStateExceptions that occur when closing my JavaFX program :)
It doesnt even lead back to my own code : ))
Its just there : D
I know a couple of languages but I’m going to learn java
@@randomnotes4258 I see you are a masochist. If you've ever done C#, then you already know Java, and vice versa. If you've done C++, then it shouldn't be too difficult since the two languages are pretty close to each other in terms of syntax.
I literally got 6 NullPointerExceptions this morning, LOL
0:30 Fun fact, Kobayashi is a python programmer, in the anime they sometimes showed her code (web backend i guess)
I don't remember what the code was but I'm pretty sure it was the standard library. Another screenshot I found on the web shows her writing what seems like a HTML server library. I think they just put various libraries they could find lol
Kobayashi, Python is slow. Use C instead.
She codes in magic, it's the language of the dragons, Tohru's dad is the company CEO's friend
@@HCosta21 exactly, python
So Django?
Java and OOP are like taking a relatively simple concept and twisting it around itself in the fourth dimension for no reason.
And that’s why we love it
Tell me you flunked your intro to programming class without telling me
@@alliesakat I'll have you know I got a 71.92% in my class
@@alliesakat C will take you to Mars, Java will make you cry
@@infiniteplanes5775 did you separate that class?
Imagine using VSCode to code in Java, like masochistic
*_I use VSCode to code in Java and code anything_* 🤷♂
@@SnS-SpartaN Intellij is better. VSCode sucks for Java or any other programming language except Javascript.
Vim😈
@@Anuj-es3yrI use VScose for everything that isn't Java or C/C++.
@@Anuj-es3yr nope. VSCode all the way. All in one editor that is also lightweight. Doesn't lag your computer or makes you learn editor everytime that you tried to switch language. Plus has so many good extension for free on the box. But in other editor it's either paid or not existing. Other editors are like MacOS. You are thinking it's good because you didn't meet superior Linux.
I think coding java in vscode is the real war crime here.
I was expecting to see maven dependencies added in.
I was sorely disappointed
I expected to see gradle downloading its stuff for 2 hours
And i was expecting the use of normal IDE, that takes care of 70% of stuff he made by himself
PTSD triggered
@@illyatkachov4514 yea
@@sefeo0 lmfao yes gradle
to quote a friend of mine: "i run gradle then go take a nap"
as a junior java developer, I can confirm that this is 100% accurate. Especially the nullPointerException part.
kotlin ftw
Thank god we have a junior dev here to legitimize this meme for those of us who thought they were just making this all up on the spot
i'd very much get a null pointer exception than a segmentation fault or god forbid... no error at all
Actually no. Every java developer uses an IntelliJ IDEA. And that's enough to claim Java the best programming language
while writing your methods are u checking if the object is null or not?
you really made this look way more exciting than it actually is
Bro kinda deserved the error and pain after naming a function foo
Its OOP. It is called METHOD
@@illyatkachov4514 I seriously hope you are joking.
@@FADHsquared ive seen people learning programming and failing to do the simplest things just because they dont know how to call things properly. So no, im not joking
@@illyatkachov4514 Educators matter much more than "educatees". It's probably that they were not taught right. They're NOT failing.
That's for valid points where you see people "failing to learn" anyway. In this case actually this is actually a very trivial thing to say - I don't really care whether somebody calls a method a function or a method as long as I know what they're talking about.
@@FADHsquared bro, i am the educator. Its impossible to educate a person, if both of you speak different languages. Ususally i spend one entire lesson to get them say things right. Because when they cant say it right, three things happen: 1 they fail to understand what exception messages say and understand how to solve problem 2 they cant google their problem themselves and have to ask me for help, wasting my time 3 i cant understand quickly what they want and have to re-ask and clarify million times, wasting even more time. So for me its better to spend one hour to get them say things right, then to spend multiple hours figuring out problems bc guy didnt got the difference between variable and argument
Damn, did you really had to call us like that?? I mean about the "Making way too many classes" and about the "Overcomplicating the solution to infinity" xD
Nothing personal bro
For those wondering, the outro song is a remix of Chieri Ito’s “Merry Christmas”.
Great song btw
As a Java Developer, i first create a project using a single class and after the project is done, I refactor each line of code in a separate class.
I laughed harder than I expected. Newbie Java dev here, thank you!
Yes, java programs are often amazingly over-engineered. Some devs seem to believe that everything needs to be inherited from something abstract and constructed by a factory, and that all numbers and literal strings must be in a separate class full of constants. Sometimes these measures are NECESSARY, but they are overused for sure. But java actually ROCKS, if you just look objectively at its features: 1) virtual threads, which get you the scalability of node.js without async/await (but you can do async/await if you want), 2) super-fast garbage collection, 3) safety from array overbounds, and many other potential hacks, 4) many new ways to parallelize without getting into synchronization hell. I have mastered many languages over the decades, and I LOVE java more today than ever before.
Completely agreed, everybody likes to shit on Java but it's honestly *fine*, still pretty medicore nowadays with options like Kotlin and Rust (both of which still have their own downsides ofc) but it really isn't that bad
@@sqrt7956 what language would you recommend a java dev to learn next? I want to learn more memory mangement and OS stuff so I was thinking C++ as I can work on games as well
I don't work super low-level often, but I think learning the basics of C and then either going to C++, Rust, or Zig will be your best bet for that. If you're doing games then C++ is probably going to be easiest :)@@avidreader6534
the problem is that most devs are forced to use it with those old fashioned coding styles cause most senior managers on projects are used to the 2004 java, and 80% of jobs out there are based on java, hence the hate...i quit 3 jobs because of this, im forced to write in a shitty and impossible to reason way because some old fart can't accept im better than him
@@sharkpyro93 Most of the shit in Java is bloated syntax-wise, but I generally like Java's organization structure and class/interface hierarchy (which is why I like Kotlin). What coding styles do you mean? I haven't worked professionally with Java outside of more modern projects.
Tbh after I had to learn C, Java was literally heaven for me. Fuck this C shit.
Really? My experience was the opposite.
@@jorionedwards it depends on what you program. C and C++ are significantly more difficult to learn than Java. C++/C does not have a garbage collector, so the user has to free the allocated memory himself, and it also does not have as many implemented functions as Java. C/C++ is for really robust projects that require extreme speed for their operation
@@jorionedwards Same dude.. Java made me realize that writing simple programs is actually easier in C++
@@johnvincentjimar4157 I'm stuck at do, while, do-while and for
@@JoséBrozTito welp at first I struggled with it as well, after days of practice you'll just get used to it. Everybody got to start somewhere😎
Regardless of what people say about the verbosity of Java, I still haven't found better logging and stacktraces. Takes me all of 1 second to find an issue in Java.
Also real Java devs put the curly brace on the line with the function definition or if/loop statement, not like those dirty C# devs
The one true brace style is best
100% agree
K&R best, I use C# and I use K&R. I can not imagine myself going back to those days of using dirty BSD.
true
true
as a java developer i can confirm this is me, except that i use switch() and also WHY DID U USE PRINTLN TWICE JUST DO PRINTLN("
") OH MY GO-
Copy pasting println makes the code more readable to me. Sure, you could do a for loop with printf and %n or something but at the end of the day, you don't win extra points for making it take extra time to understand what you're doing
@@jmc042 Good for you.
@@jmc042 As a Java developer I can confirm your comment is THE way we try to fortify why we chose Java (I still love it)
"programming is actually a dr.stone reference" 🤓
I’m having flashbacks to making all of my custom C libraries for my bare metal software watching this
Each conplaint about java is another 50 needless classes I make
I am Java developer, literally I spend more time fixing errors and mostly are regarding a space missing within a String or stupid server's error. I love Java.
No Java developer ever: using VSC
And also: Sticking to Java for more than a week
+1 notepad is even better than vsc for java dev
@@FLUXMC2137 Notepad and VSC feel equally if you've used IntelliJ before
I miss scouring Stackoverflow every Friday evening (before having to trigger some scripts), to fix some never-seen-before (by me, 10+ years in) error that Eclipse would display instead of starting up.
@@szilardfineascovasa6144 if you know how to read errors and debug your stuff the only problem are sneaky bugs
@@1aboPLZ Fair enough, but this wasn't my stuff. 🙃
It was Eclipse itself refusing to start (read: crash), because some internal misc. stuff somehow became corrupted.
One of my classmates did put every class into a new project today. It worked about as well as you would expect.
Government speed?
thats probably was the only programming meme that actualy made me laugh
Tbh the head first series is absolutely the best !!
0:50 I was CERTAIN you were about to get a object.toString() output but surprise surprise, the Java lord himself overloaded the toString() method
As a java dev I utterly relate to the screaming guy
this programmer: maybe it's so fucking bad but it's powerful:
kotlin dev: I am the power
Java: the most beautiful language that ever existed
How similar Java and C# are is pretty insane tbh. It feelt just like this for me last night
What is the music at 0:19? I also heard it from Doug Doug, but I can’t seem to find a name for it.
Did you find out?
It's Sewer Surfin' from TMNT 4
Compiling from command line felt like learning another language
Time to close that Intellij window
very java experience. i approve.
btw you can pattern match with switch statements now. it works well with enums too
I'm currently converting COBOL to Java.
...I actually enjoy it. Fun challenge.
As someone who barely knows anything about code this is accurate
New line for opening curly? Are you a PHP spy?
As a Java developer (junior), I can approve this is how we create abstractions when there is absolutely no need.
Of course it's needed because it's clean code™ best practices™ and evaluating on a case-by-case is too much work.
編集上手すぎ
Yeah, yeah, puplic static void main string args, we get it. Completely original video. By the way, you forgot to include folders com.example.projectname and directory for test. You didn't even use maven or gradle. You are the impostor.
how much layers of encapsulation are you on right now my dude
Where’s the PrintHelloWorldStrategy with the PrintHelloWorldStrategyFactory class?
Almost everything I did at university was in Java. That was the gold standard for UK-based CS degrees at that time.
But I can barely remember any of it now.
public static void main(String[] args)
Have you had time to add the music in the description?
As a java programmer I can confirm this is how we program everything
Imagine public static void main(String[] args)
so what? :D
Boilerplate driven programming
As a python programmer, i see this as an absolute win
I somehow felt C++ was easier than Java at first look. Now I regret both
Nah Java easier. It looks solid, when you learnt java core
Java coders: we just like to type. we like to type a lot.
Why everyone hates java so much? I freakin love it
As a master in object orientation that is inefficient.
Python developers:
Print("Hello World!")
Renge-chan (thumbnail image) made me watch this video. I couldn't say no!
Python feels like telling someone what to do
C++ feels like telling a 5 year old what to do
Java feels like explaining a 5 year old what to do in spanish
anime + programming = the coolest content you can think of
NullPointerException is the bane of the Java programmer's existence.
Run hello world in the console, write mastery java in the resume 😂
Add few more lines on a hello world project and you have a full REST ready API with persistence.
If you compare us to best girl Kobayashi, I can't help but feel proud
as a java dev , i can confirm we become tanjiro when we get the millionth null pointer exception
I came across a class once called IsNotNull. It was in election software no less. To their credit, the class did do exactly as advertised by its name. It returned True if whatever was given to it was *not* Null. Guess was led me to discover it in the enormous codebase.
Did it also return true if it WAS null??
@@spencer3 No, but someone inevitably messed up due to the reversed boolean logic, and wrote something like 'if IsNotNull || IsEmpty'. It was a little more convoluted than that, but basically it resulted in Null being passed to the second test instead of short circuiting.
When I first tried doing a java project, I coded for hours, just to get like 600 errors. I never coded in java again.
And oh boy when you make it a multilingual 😂
Java is one of the simplest computer programming language... We were taught Java in 6 th standard till 12 th standard... When u learn c and cpp Java becomes a piece of cake ... As the syntax is beautiful... Not too much jargain
the dr stone reference at the end i can't :sob:
this is an overexaggeration of events, but yes, it is true
as a C# dev, nothing makes me more happy than the possuble null checks
I use Java professionally for web applications and to be fair, nobody writes classes with a single line of payload code nor does anybody use strict object oriented programming. If the goal is only to write "Hello World!", I would save time by using my Python or JavaScript interpreter
hello c++ programmer here c:
I love how people see Java as the rube goldberg machine (i think that's how you spell it) of programming. It certainly is V E R B O S E
Oracle and its products, including Java, make me puke. I hate that company and everything it makes in my bones.
So... When in movies there are haking scenes, they are coding in Java?
In html💀
0:51 Ohayo sekai Good Morning World
*Python be like*: print ("hello world!")
flashing colors, big screams, nice video i mean it
how to Center a hello world in java, help pls assignment due to day
...println("\t\tHello World");
// I guess? what do you mean by 'centering'
@@pladimir_vutin this is clearly a joke
@@mrmartinwatson1 oh, ok, I guess I read too much Java docs and it's making me dumb!
Html , css , JavaScript
print("hewo word !!1111!!!")
As a fellow java programmer, i can say this is very relatable
imagine using vs instead of intellij
top part of the iceberg yes,
but imagine the program runs smoothly, but not in the right direction
New Programmer seeing a Programmer:
How the Very Experienced Programmer sees the Programmer now: *just basic code that doesn’t work*
My guy hasnt deal yet with maven hellish dependencies
0:38 this screen got me laughing 😂😂😂
this guy used an if-else to enumerate over an enum type instead of a switch statement
i tried using the correct spacing but i got tired after the first 4 days and im slowly transitioning to trying to fit everything in a single line if possible...........i hate java soo much
Me writing 50 lines of boilerplate code
I did not know I epileptic sensitive before watching this video
this is amazing
"Exeption in thread", i programming in Java and i hated this word
I'm gonna need that source code
Me learning C: I hate C and it's pointers
Me learning Java: me and C are ballin'
ProjectContractChargingPeriodProjectAccountReferenceVM
XInternForecasterAsyncSourceDataController
nice video +1 sub, Java is cool
wtf, java dev will use intellij , not vscode bruh
My education forces us to learn oop using Java. only in our second year we will be using either C# or C++ depending on the module you choose for your second year. Java is so unnessesairily long in syntax.i'm happy java21 is changeing things for java to just void main instead of psvm