"The callback function gets put to the back of event queue". That's so refreshing!
@romanazeem30984 жыл бұрын
Best and the most hidden topic using JavaScript. Great Content
@sandeepsundaram55774 жыл бұрын
Happy Teachers Day !! One of the best teacher's !!!
@MustafaAli-xj6lq2 жыл бұрын
Best and most simple video so far
@khalidben99403 жыл бұрын
Great as usual.I learned a lot of java concept from you now I am learning Javascript advanced staff from you.I am grateful.
@mohammedshirhaan94922 жыл бұрын
There are so many famous tutorials out there that teach wrong things. Your tutorials are the real thing ♥️. Please create a complete Javascript course.
@CVenture4 жыл бұрын
Great .. Can you pls explain the differences between async await, promise and call backs? It confuses all the time..
@ranikontham55732 жыл бұрын
If we call a function inside another function then it is call called back. Promises are used to handle call back hells they have 2 parameters resolve, reject. To handle resolve we need to use .then to handle reject we need to use .catch To handle the promise chaining we will use async/await We need to use these async/await jointly for example async function test(){ let data1=await func1(); let data2=await func2(); } async > promise > callback I hope you got some idea now
@CVenture2 жыл бұрын
@@ranikontham5573 Thanks for replying after 2 years tho. Appreciate your effort.
@d3vilscry666 Жыл бұрын
@@CVenture Do you understand it now? lol
@vivekmishra58764 жыл бұрын
Great teacher always simplyfies the explanation like you
@sundaramjha17764 жыл бұрын
Really Awesome, i always recommend ur channel to other people.
@techiesrikanth24474 жыл бұрын
Happy Teacher's Day Koushik !!. Thanks for your Amazing Content.
@4t1962 жыл бұрын
You explaine very well...
@sreenathmca4 жыл бұрын
As usual you are great in explaining complex things in simple way...
@dipper0yawn3 жыл бұрын
I really like your didactic approach.
@KDOERAK3 жыл бұрын
great examples; I learned a lot. Thx!
@thankgoditsover4 жыл бұрын
So well-explained! Thank you!
@praveen271004 жыл бұрын
It's Great!!! Thanks a lot . You are amazing...
@yashpandey95504 жыл бұрын
Really liked the introduction to web workers. Quality content as always 🙏
@smartydude21574 жыл бұрын
Thank you so much for such informative video 😊.. Please make playlist of Data structure and Algorithms using Javascript will feel more thankful. Because there is no such playlist to learn Algorithm using Javascript.Thank you 😊
@praveenj31124 жыл бұрын
Thank you Koushik for this great content
@vsowill2 жыл бұрын
Man this is gold!
@smartguy3k3 жыл бұрын
Awesome!!! Thanks.
@RAJATTHEPAGAL4 жыл бұрын
setTimeout(fn, 0) and setNextTick are effectively same right, appendig the function to end of pending function callback queue 🤔. Although for anyone reading there is a setImmediate 😐 which actually happens to place the function call for the next tick and not the end if event loop. 😌 Small nuances of nodejs api
@FahadKhan-qj3ej2 жыл бұрын
Thank you so much.
@bourairabdullah12874 жыл бұрын
Please create tutorials for Docker and Kubernates, this topic is widely used and new !
@chieeyeoh62044 жыл бұрын
9:26 when you explain strategy 2 function processArray(bigArray, start) I think it will only execute once, because right after the forloop, start get increased by BATCH_SIZE while BATCH_SIZE remain the same the whole time
@ShubhamKundu_3 жыл бұрын
He told that there is a bug in the code, the condition should have been "i < start + BATCH_SIZE" instead of "i < BATCH_SIZE"
@vivekkoul442810 ай бұрын
How it will be start + batch size? Batch size is the size of the array and loop can't exceed batch size.
@enki1939 Жыл бұрын
why do we not just move the lessImportantFunction after the moreImportantFunction? Feels like that would be more of an intuitive way that doing the setTimeout(fn,0)?
@ashishchourasia28303 жыл бұрын
Great explanation, but I have some doubts: In strategy 1, why can't we just call the lessimportantWork() after the moreImportantWork()? why to use setTimeout altogether?
@garbagemail90893 жыл бұрын
hmm....good question AMC
@elmersbalm52193 жыл бұрын
Js works in a loop. A good candidate would be user interaction and screen update functions. Not terribly important but needs to be small, quick and out of the way when* needed. Let’s say you’re updating a cart to a busy server, not an intensive process but can be slow. You still need to interact with the user and that all happens in the event loop. * when the loop magic allows time for them
@pranab19894 жыл бұрын
Can you please tell us what software you are using to edit video.
@shubhampatel78704 жыл бұрын
Hi Koushik, can web workers communicate amongst themselves? webWorker1 and webWorker2 for example
@AnandKumar-ro1yd4 жыл бұрын
Sir, have you created multithreading and concurrency tutorial? Please create tutorial in this. These concepts are hard to understand
@ranjeetthorat13183 жыл бұрын
Use case one. just reorder function call .no need for settineout
@RafikBianconero3 жыл бұрын
So at the end is Nodejs a similar Java runtime ? since web workers were lunched ? at the end the difference between Java ecosystem and Javascript is only the fact that JS is a loosly typed, flexible language ?! It seems like there is a mimication or recreation or lets say highjacking of the Java ecosystem and a community revolution against Oracle passed supremacy, a community revolution supported by Google through v8 engin... ? is it right ?
@vivekkoul442810 ай бұрын
Is event loop concept also in javascript?
@pragyan3943 жыл бұрын
I always used setTimeout with 0ms as the time, but only now do I properly understand what it's actually doing
@rushabhmandvekar44113 жыл бұрын
Hello Sir, Please make one series on Nashorn JavaScript. The amount of contents on internet are very very less. Please address this. Thank You..!!
@NicDHa4 жыл бұрын
great!
@vivekkoul442810 ай бұрын
Can anybody tell me pls what is the bug in the 2nd method?