Тёмный

Java is "Strongly Typed"? - Here's What That ACTUALLY Means 

Coding with John
Подписаться 358 тыс.
Просмотров 53 тыс.
50% 1

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

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 163   
@_abdul
@_abdul 8 месяцев назад
Java and JavaScript are as closely related as Car and Carpets.
@Pacvalham
@Pacvalham 8 месяцев назад
also cat and caterpillar
@hoshyarkarimi
@hoshyarkarimi 7 месяцев назад
Hi John. Thank you for all your good videos. I am a Python developer and new to Java. I found Java API docs too ambiguous and uncomfortable for me, at least as a newcomer. Can you please make a video about how to read and work with Java API documentation?
@HeyLee.
@HeyLee. 6 месяцев назад
Please do tutorial for access modifiers in java
@MrPlaybook
@MrPlaybook 7 месяцев назад
Bro you rock!
@roel455
@roel455 7 месяцев назад
Nice video
@Mirage2020
@Mirage2020 8 месяцев назад
Gosh I hate Javascript so much...
@jayros4269
@jayros4269 8 месяцев назад
4:00 The real historic event is camel case for a variable in Python.
@CodingWithJohn
@CodingWithJohn 8 месяцев назад
The Java habits die hard
@rayenmerghmi5664
@rayenmerghmi5664 8 месяцев назад
We're waiting for spring and spring boot tutorial
@CodingWithJohn
@CodingWithJohn 8 месяцев назад
It's definitely something I use every day at work so I do aim to get to Spring eventually!
@dmax7400
@dmax7400 8 месяцев назад
@@CodingWithJohn That would be AWESOME! Take care John!
@AnantaAkash.Podder
@AnantaAkash.Podder 8 месяцев назад
Yes, we all want that
@radosny3279
@radosny3279 8 месяцев назад
yes i am waiting for a spring and spring boot
@katiaobraztsova7582
@katiaobraztsova7582 8 месяцев назад
❤❤❤❤yes, please! I looove your videos and your sense of humour!
@anuragbisht1200
@anuragbisht1200 8 месяцев назад
Just to note, * operator is overloaded in python. Hence, 3 * "Burger" -> 'BurgerBurgerBurger'.
@DekelGilboa-pv2je
@DekelGilboa-pv2je 8 месяцев назад
In fact, you can multiply strings in python. this: print("hello" * 3), will print: "hellohellohello".
@donwinston
@donwinston 7 месяцев назад
crazy.
@KABKAKIy_KAPATEJI_DOP
@KABKAKIy_KAPATEJI_DOP 7 месяцев назад
bruh 😬💀
@KABKAKIy_KAPATEJI_DOP
@KABKAKIy_KAPATEJI_DOP 7 месяцев назад
As a Java programmer beginner ,it is blowing up my mind.
@atrus3823
@atrus3823 5 месяцев назад
What's great about Python though is that operations between types have to be explicitly defined, and the built-in cases are well-documented. Also, Python has operator overloading, so + and * don't necessarily mean add and multiply. They mean whatever they are defined to mean. In the case of sequences, these are referred to as the concatenation and repetition operators. This is not that different than how Java reuses the + character as a string concatenation operator.
@Mirage2020
@Mirage2020 8 месяцев назад
Strong type languages are much better that weak ones, do you remember those days at elementary school when the teacher told you to do not mix apples with oranges when doing some math operation? Well a compiler is that teacher preventing you from trying to add an array with a map entry (and returning and string, yes, I am watching at U Javascript)
@wurlmon5191
@wurlmon5191 7 месяцев назад
Showing proper examples of langauges that differ from Java (as opposed to just saying such exist) is a very good way to teach people something they may remember later once they start learning such a language. Thank you, awesome video as always.
@caml1720
@caml1720 7 месяцев назад
i accidentally enrolled in an intermediate java class right out of intro to programming last semester and this channel has been a HUGE help. thank you!
@mizaelgaytan7109
@mizaelgaytan7109 7 месяцев назад
Thanks, now I know more about Java. When I go bald like every person who learns it, I will thank you again.
@shahabshafiee3333
@shahabshafiee3333 8 месяцев назад
I know you're busy but please make weekly tutorials.
@TheMoviemaker98
@TheMoviemaker98 7 месяцев назад
Java and JavaScript are like 2 brothers, one very old and grumpy but gets the job done while the younger one is much more of a happy go lucky type and just giving everything a shot, you guess which is which 😂
@chiragsuthar9315
@chiragsuthar9315 8 месяцев назад
"John codes in python" 😂😂😂
@sns23584
@sns23584 8 месяцев назад
A moment of Epiphany - It finally made sense to me as to why I love both cats and Java 😂
@jasperblase1374
@jasperblase1374 8 месяцев назад
It's a good thing you're back again. Hoping that you take care of yourself while teaching us. I've learned a lot from you, keep the good work!
@chiragsuthar9315
@chiragsuthar9315 8 месяцев назад
All things about javascript you just said 😂😂😂. So damn true!!!
@GameTornado01
@GameTornado01 8 месяцев назад
That's probably just my noob has-only-really-coded-in-java ass speaking, but dynamic typing seems like such a mess. Why would you willingly do that to yourself, not using the strong safety net that is static typing, and instead having to deal with those kinds of errors?
@0x000B
@0x000B 8 месяцев назад
Its a good thing since it means java is very strong 😅💪💪🔥
@ReBufff
@ReBufff 8 месяцев назад
this is why TypeScript exists😂
@aravindmuthu5748
@aravindmuthu5748 5 месяцев назад
lol, yeah. That too by microsoft 😂
@scott_parker
@scott_parker 8 месяцев назад
Love your explanations! Thanx a lot!
@carscupcake
@carscupcake 8 месяцев назад
He said the word with "P" :O
@housemajaliwa
@housemajaliwa 8 месяцев назад
Oh! The horror
@hennesseylei7398
@hennesseylei7398 8 месяцев назад
i like u dude. you got me through java last semester. i’m staying subed until the end of time
@paarsaJam
@paarsaJam 8 месяцев назад
Dear John, You have been an incredible source of inspiration and knowledge for me. Your passion for teaching and the way you convey complex ideas with such clarity and enthusiasm is truly remarkable. I am deeply grateful for your guidance and support. Thank you for being such an exceptional teacher and for making a positive impact on my life. Warm Regards.
@shubhamagarwal9182
@shubhamagarwal9182 2 месяца назад
Java : Strongly type language - Statically Type language - At CompileTime typing rules are enforced Python: Strongly type language - Dynamically Type language - At runTime typing rules are enforced JavaScript : weakly type language
@bydanak
@bydanak 7 месяцев назад
I started learning Object oriented Java at Uni after Python. It took me 2 months to get around as its very different syntax and its idea on classes, objects etc. Now its a way of practicing it what we’ve learned so far. Glad to find your channel. Very informative videos. I will watch some previous uploads while I’m learning this language.
@aishwaryah1981
@aishwaryah1981 5 месяцев назад
Explain the 1. Difference between Java 8 version and other Versions of Java 2. What is Memory Management and what are it's type 3. Difference between JDK,JRE,JVM 4. Why Java is partially OOP Language 5. What is Lambda Expression and how to use it 6. Difference between Abstraction and Interface
@realnai5586
@realnai5586 Месяц назад
I really love your explanation; it’s really funny, especially the JavaScript part.
@muthukrish5408
@muthukrish5408 7 месяцев назад
Hi John, Can you please explain about serialization and Deserialization topic
@janndervinribleza56
@janndervinribleza56 6 месяцев назад
Nice, now i know what that means. Hey John, can you give a little explanation about standard folder structure in Java desktop applications? Like Spring boot folder structure which classes are organized in every folder like DTO, MODEL, SERVICE etc. I'm just really confused where to put my files or organize them. Thank you.
@7tharan
@7tharan 5 месяцев назад
Your explanations are just amazing... I'm 12 years experienced Java developer. But still I am having fear about Data structures and algorithms which is blocking me to get selected in product based companies. So please start DSA playlist...
@pinolskun8764
@pinolskun8764 8 месяцев назад
This is entertaining despite knowing all of this, good job man :D
@jaybrass9259
@jaybrass9259 7 месяцев назад
I loved this. After developing in Java for a long time, I was put on a project written in ("Whacky Crap") React. OMG and Holy Bleep! I'm heading back to a Java project and I have one big sigh of relief.
@ThatGuyMwangangi
@ThatGuyMwangangi 7 месяцев назад
"Okay. I did my very best to multiply 3 * Burger, but because nothing made sense and it was pretty much impossible, I just came up with NaN. But I didn't throw any exceptions. Are you proud of me?" - JavaScript
@nurasilah3786
@nurasilah3786 5 месяцев назад
Hi John, is there possiblity u could explain relation of webpage vs java package and server side. Like overall picture of doing webpage
@khattami240193
@khattami240193 5 месяцев назад
Hi John, I believe you haven't discussed switch expression vs switch statement. Can you elaborate on the topic?
@ahamedabdulrahman
@ahamedabdulrahman 8 месяцев назад
Also SOLID principles, Clean Code from your perspective.
@johnmorrison2645
@johnmorrison2645 7 месяцев назад
Python variables have no type. It is objects in Python that harbor type. Python is dynamically but strongly typed.
@divyanshusingh6473
@divyanshusingh6473 7 месяцев назад
java is strongly typed language since it strictly enforces data types of variables at compile time itself. python is dynamically typed language since it allows changing data type of variables, but isn't weakly typed at all since it does fail at 3 + "burger" but at runtime. javascript is weakly typed since it'll always try to find an answer to various operations like 3 + "burger" will give "3burger"
@edgeeffect
@edgeeffect 7 месяцев назад
Yeah, that looks a lot like "statically typed" not "strong typed". If it was strongly typed, you could say "not only is this an int but it's values can only be 1,2,5 and 7"... that'd be STRONG typing.
@rodrigomarques1633
@rodrigomarques1633 7 месяцев назад
Broo i really enjoyed that content. "What in the world? do you want me to compile 3 * "Burguer"? Hell nah", hahaha awesome, i love Java
@manishjha5908
@manishjha5908 7 месяцев назад
If JavaScript were a human he'd have sued John for bullying 😂
@stephanieezat-panah7750
@stephanieezat-panah7750 7 месяцев назад
hahahaha! moon landing, Roman empire, John codes. yes yes and yes. spot on. and yes, there are many reasons why I do not like Python. what the hell. no semi-colons? .
@revvedup587
@revvedup587 2 месяца назад
Hey John, i would like to teach us parsing, logging etc.
@Tu-xw7od
@Tu-xw7od 5 месяцев назад
Great video with so funny expressions haha, thank you so much
@josephgikuru6595
@josephgikuru6595 6 месяцев назад
good content can you kindly make a video about sockets, applet and servlet in java. Tag me in the video
@pradyumn2692
@pradyumn2692 6 месяцев назад
The historic date when the video of John coding in python was uploaded in this channel happens to be my birthday.
@beepbeeblebrox3972
@beepbeeblebrox3972 5 месяцев назад
he programmed in python once and disappeared...very interesting🧐
@pokerface7840
@pokerface7840 7 месяцев назад
I feel like I need to strengthen my arm muscles before I can type code in Java 😔
@rajshekarpujari2002
@rajshekarpujari2002 7 месяцев назад
Make OOPS PLAYLIST in java ..... IN DEPTH 🙏
@patiwindsend675
@patiwindsend675 6 месяцев назад
Hey nice Videos, Streams in Java would be a cool next Video.
@nxthingbutv0id958
@nxthingbutv0id958 6 месяцев назад
You should do a mini series on popular Java libraries and how to work with them
@patrickagarcia5913
@patrickagarcia5913 День назад
Yeah. John is a cat person hahaha
@mrooglyboogie4118
@mrooglyboogie4118 5 месяцев назад
Love the jokes in your content, totally makes my day
@andres98
@andres98 7 месяцев назад
Loved the programming languages analogy to animals 😂
@walterbushell7029
@walterbushell7029 7 месяцев назад
3 * "Bugger" is not "3 Burgers" in Javaacrript?
@sivakumar.s2559
@sivakumar.s2559 8 месяцев назад
Jhon your LinkedIn profile please
@mashiramashi6307
@mashiramashi6307 7 месяцев назад
Javascript be like: are u proud of me😀😀
@a7mdbest15
@a7mdbest15 7 месяцев назад
Love your way of presenting this😂
@bogdanpopa268
@bogdanpopa268 7 месяцев назад
Anyone else here thought 3*Burger will be BurgerBurgerBurger? 😂
@spidysense7754
@spidysense7754 7 месяцев назад
Bro I hava a qn Is javafx worth learning?
@dev_lcastaa5490
@dev_lcastaa5490 2 месяца назад
JavaScript is Spaghetti language
@tahiriqbal2447
@tahiriqbal2447 7 месяцев назад
Waiting for spring and spring boot tutorials
@rayana2344
@rayana2344 6 месяцев назад
Please please please do a tut on iterators 🙏🙏
@aravindmuthu5748
@aravindmuthu5748 5 месяцев назад
want a 'b' + 'a' + + 'a' + 'a' in javascript?
@marekoko2083
@marekoko2083 8 месяцев назад
I've just imagined a personification of mr. Java giving me "that" stare when I wanted.... juuuust wanted to... maybe for a joke... or a cheap laugh... only suggest to try just once, a "burger" multiplication by 3. And you know, that thought gave a chill, sent shivers down my spine, and now my body is aching all the time! 😉😁 Great video John! Lots of laughs! Loved it! ❤😊 Now I can do my work - resolve issues after not very well thought out branch merge of Java code - with a badass smile on my face. 😎
@iekie4180
@iekie4180 7 месяцев назад
I come from Java world and C# and I was shocked while learning Javascript. why does an array have to be dynamic wtf. I like it when it's static and has laws and with Javascript it doesn't matter. I mean in Javascript you don't even need to check anything, it's really stupid Exactly in Javascript there is no integer etc. just a stupid let or var. I love Java and C# for that. but let's be honest, software developers need to broaden their horizons (=
@aravindmuthu5748
@aravindmuthu5748 5 месяцев назад
Javascript is known for being the stupid one for a long time, but... [int, float, double, long, longdouble, byte] vs number? you tell me which is cleaner.
@mikes333
@mikes333 8 месяцев назад
My grandchildren were flabbergasted when I told them about John coding in Python. They immediately made TikTok videos about it.
@balaganesharuna5109
@balaganesharuna5109 6 месяцев назад
Hi John. Your explaination in the sorting algorithm videos were so good. It would be great if you do a full DSA playlist.
@7tharan
@7tharan 5 месяцев назад
Waiting
@giorgiobarchiesi5003
@giorgiobarchiesi5003 7 месяцев назад
Great video. I remember those crazy days, programming in pre-ANSI C language, without function prototypes, when the slightest modification to your code could lead to a real disaster. Thank you so much for highlighting and explaining the nature and the importance of “type safety”. I think that “null safety” is also fundamental; if you don’t have a video on that, you might as well consider the subject. Obviously, type safety and null safety come at a cost: you need a good degree of expertise in software design, otherwise those features will seem more like a burden to you.
@ShailjaGautam-pv3px
@ShailjaGautam-pv3px 7 месяцев назад
Hi John ...yours videos really help me alot .. I have 1 request Can you please make whole JAVA concepts ?
@diegoramos27
@diegoramos27 7 месяцев назад
Loved the Quesadilla, Puppy and Burger references, makes learning much more fun, could you also make a video on Weak and Strong references? Thanks
@levon9
@levon9 7 месяцев назад
Really enjoy your videos. Would you ever consider creating some videos on the more common/useful Design Patterns? You have a knack for clearly explaining things, so these would probably help a bunch of people. Either way, thank you for sharing all of these great videos.
@Miketar2424
@Miketar2424 7 месяцев назад
7:45 LOL, Javascript sounds like that enabling cousin who just wants everyone to like them, and never calls anyone out on their mistakes.
@aravindmuthu5748
@aravindmuthu5748 5 месяцев назад
you know what, that actually worked... JS is one of the most popular languages out there. The JS community is HUGE.
@for_whom_the_bell_tolls
@for_whom_the_bell_tolls Месяц назад
Man that is a genius video ))
@danielstromberg
@danielstromberg 7 месяцев назад
Actually, Python can do static types now as part of its new gradual type system. And Java can permissively do integer + string. And it's possible to have a statically typed language that isn't manifestly typed, like Haskell.
@PixelOutlaw
@PixelOutlaw 7 месяцев назад
Common Lisp (Steel Bank) is a dynamic strongly typed compiled language that doesn't crash on error it stays up and gives you an opportunity to correct the error and then continues. It doesn't just compile once, you actually program it while it runs and it compiles to machine code per function as soon as it gets a new/updated function definition. Pretty cool technology but I'm glad it's not popular because people would ruin it like they did with super popular languages.
@LathashreeV-p6b
@LathashreeV-p6b 7 месяцев назад
Fun n interesting way of learning
@JDMorris81
@JDMorris81 7 месяцев назад
Kotlin also infers data types
@BSKXX
@BSKXX 5 месяцев назад
So funny, that you are taking the part of the compiler and shout out from that perspective 😂 - So: Funny & informativ, you cannot except more. ❤
@javalady
@javalady 5 месяцев назад
I laught a lot... well done :)
@junyorff12
@junyorff12 8 месяцев назад
Woww, new camera?! Great job John🎉
@CodingWithJohn
@CodingWithJohn 8 месяцев назад
Same camera as the last year or so of videos, but had to record in a different room because of a bunch of water damage in the one I usually use
@davidbednar7174
@davidbednar7174 8 месяцев назад
I'm still upset that C added the auto keyword. Sure it's convenient for writing code but adds so much time to understand someone else's code.
@wakinki
@wakinki 8 месяцев назад
when I learned what I could do with javascript after 7 years of studing java I was i shock
@Alcatraz-23
@Alcatraz-23 6 месяцев назад
A spring boot series is so badly needed from you. Please make that possible, you made Java so welcoming and fun!
@beepbeeblebrox3972
@beepbeeblebrox3972 5 месяцев назад
when will you be baaaaaaack?
@evantran161
@evantran161 6 месяцев назад
please java iterator tutorial
@cirodirosa6752
@cirodirosa6752 8 месяцев назад
Isn't Javascript being front-end is trying is trying to emulate stability?
@Crystal_error404
@Crystal_error404 8 месяцев назад
Thank you 😄. I learn something new about Java and Javascript.
@janailtongoncalvesdesouza4160
@janailtongoncalvesdesouza4160 8 месяцев назад
I like Java but don't like cats. I don't make sense 😂😂😂
@CodingWithJohn
@CodingWithJohn 8 месяцев назад
Hmmm, not sure that's allowed
@esQmo
@esQmo 7 месяцев назад
Javascript is dumb
@paoloa89
@paoloa89 7 месяцев назад
More videos and more frequently John ! Fantastic explanation as always 😁
@pontusschönhult
@pontusschönhult 7 месяцев назад
is ur java course free?
@aidoka2000
@aidoka2000 7 месяцев назад
John your methods of teaching are amazing :))
@thisissmz
@thisissmz 7 месяцев назад
😂😂 i love your contents
@RJNoe
@RJNoe 8 месяцев назад
I’ve been a software engineer for 40 years. Primarily worked in C for the first half of my career, mostly Java for the past 15. (And I’ve been forced to do some JavaScript, but I really don’t want to talk about it.) John, your videos have often given me ideas for interview questions and a few times led me to reconsider language features in a way I hadn’t before. I recognize your professionalism and greatly respect your dedication to your craft. But this was the first of your many videos that contained an insight so novel and penetrating that I nearly dropped my phone. Yes, JavaScript is a dog of a language while Java is a cat. Now I just have to figure out which animal represents C.
@stephanieezat-panah7750
@stephanieezat-panah7750 7 месяцев назад
oh wow. you must have been my colleague. C for 20 years, then Java .....with some JS. lol
@tipeon
@tipeon 7 месяцев назад
The animal for C is definitely the cockroach. It lurks in all the deep, dark, damp corners of our computers and is impossible to kill. 😂
@megasusmegajos4321
@megasusmegajos4321 6 месяцев назад
Why are Optionals so similar to WebFlux Mono ?
Далее
Optionals In Java - Simple Tutorial
15:53
Просмотров 213 тыс.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Просмотров 28 млн
pumpkins #shorts
00:39
Просмотров 17 млн
Трудности СГОРЕВШЕЙ BMW M4!
49:41
Просмотров 1,6 млн
Is Computer Science still worth it?
20:08
Просмотров 342 тыс.
Java 21 new feature: Virtual Threads #RoadTo21
33:35
Просмотров 64 тыс.
Being Competent With Coding Is More Fun
11:13
Просмотров 83 тыс.
Lambda Expressions in Java - Full Simple Tutorial
13:05
How computer processors run conditions and loops
17:03
Просмотров 106 тыс.
Watermelon magic box! #shorts by Leisi Crazy
00:20
Просмотров 28 млн