Javascript Nuggets - Callback Functions

  Рет қаралды 24,191

Coding Addict

Coding Addict

Күн бұрын

Пікірлер: 48
@Shivertehtimbers
@Shivertehtimbers 3 жыл бұрын
The best teacher on youtube.
@СветланаЕременко-т4з
@СветланаЕременко-т4з Жыл бұрын
Hi John! Thanks for all your lessons here on KZbin. I've watched a lot of them and I enjoy your way of teaching so much! When I need to cover a new topic, at first I check the content of your channel. I've found my incredible teacher. With love from Ukraine💙💛
@CodingAddict
@CodingAddict Жыл бұрын
Glad you enjoy the content !
@LiquidMasti
@LiquidMasti 3 жыл бұрын
keep the nuggets coming its informative .
@eulerthegreatestofall147
@eulerthegreatestofall147 3 жыл бұрын
This is great!, It is the first time seeing so well explained the famous callback function concept!
@benlongo6480
@benlongo6480 3 жыл бұрын
Thanks John, it's always a pleasure watching your videos
@olivecliste9216
@olivecliste9216 2 жыл бұрын
John is my best online programming teacher. Thank you so much john.
@arcadan
@arcadan 3 жыл бұрын
Man this is gold.. thank you
@male3399
@male3399 2 жыл бұрын
Very helpful approach
@charujain4308
@charujain4308 3 жыл бұрын
Thank you for this great video. I finally learned what callback is..
@lamb8086
@lamb8086 3 жыл бұрын
I didn’t need to watch the video but wanted to give you the view. But I actually did learn something...I didn’t know the console still printed out the same input on separate lines when you kept clicking button haha I thought the new thing was it just showed how many times it was pressed until you logged something new
@hardikthaker5364
@hardikthaker5364 3 жыл бұрын
Please explain closures as addition to this...
@isacvarghesek7010
@isacvarghesek7010 3 жыл бұрын
Man you are awesome... Thanks for the help
@marcoonlinetv7769
@marcoonlinetv7769 3 жыл бұрын
Promises are next on the list
@emanueleraggi272
@emanueleraggi272 3 жыл бұрын
Hey John, thanks for all your work both here and for the amazing courses you publish on udemy! You are the best! I have a question: do you foresee to do some courses on unit testing? Or maybe a dedicated course on unit testing? or reuse existing courses for unit testing?. Thanks for all your work!!
@CodingAddict
@CodingAddict 3 жыл бұрын
Hmm. Very unlikely, really busy with updating the current content.
@emanueleraggi272
@emanueleraggi272 3 жыл бұрын
Gotcha! Thanks John!
@ujolmaharjan2010
@ujolmaharjan2010 Жыл бұрын
Thanks john
@spatialnasir
@spatialnasir 2 жыл бұрын
Thanks so much.
@themodernmonk7
@themodernmonk7 3 жыл бұрын
Callback function was always confusing me so much. Now I am clear with callback function concept. Thanks Sir.
@CodingAddict
@CodingAddict 3 жыл бұрын
Glad it helped :)
@blankomog
@blankomog 2 жыл бұрын
Thank you sir! Really enjoying this playlist. How are you able to zoom in and zoom out on your screen? Any special screen recording software?
@CodingAddict
@CodingAddict 2 жыл бұрын
Thank you for your support. Nope, just straight up Mac zoom feature.
@blankomog
@blankomog 2 жыл бұрын
@@CodingAddict I appreciate the feedback. Thanks.
@codex8797
@codex8797 3 жыл бұрын
Nice bro.
@calvitocalvon1711
@calvitocalvon1711 3 жыл бұрын
should i do the node and express tutorial before the react tutorial?
@CodingAddict
@CodingAddict 3 жыл бұрын
It depends. If you are looking for front-end content then React, if backend then Node.js
@calvitocalvon1711
@calvitocalvon1711 3 жыл бұрын
@@CodingAddict i want to be fullstack and i think im familiar enough with html css and intermediate js, but i dont know stuff like the document.query selector and such, in the end i will watch both but where should i start? Also papa john replied to my message feelin blessed 😍
@balutaalex6694
@balutaalex6694 3 жыл бұрын
Was wondering what editor and plugins do you use, the auto-reformatting blew my mind
@CodingAddict
@CodingAddict 3 жыл бұрын
Hello, Yes I use built in prettier extension (but I believe it comes as default now) and I added this code in settings.json { "editor.formatOnPaste": true, "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" } You can find my entire setup here github.com/john-smilga/VS-CODE-SETUP
@balutaalex6694
@balutaalex6694 3 жыл бұрын
@@CodingAddict Thank you for the quick reply and for the tutorials.
@tramparse84
@tramparse84 3 жыл бұрын
In line 19, does 'value' equal 'fullName'? Is that what the callback function is having passed into it?
@CodingAddict
@CodingAddict 3 жыл бұрын
yes
@joelexperienced
@joelexperienced 2 жыл бұрын
many thanks 🔥✌🤙☺😍
@tunamusic2314
@tunamusic2314 3 жыл бұрын
do you have course on react js , udemy ? share me the link, i'd like to register
@loydcose2780
@loydcose2780 2 жыл бұрын
Thank you for not including arrow function, as a beginner its confusing.
@ozankurucu6261
@ozankurucu6261 Жыл бұрын
Thanks!
@CodingAddict
@CodingAddict Жыл бұрын
No problem!
@ozankurucu6261
@ozankurucu6261 Жыл бұрын
​@@CodingAddict I follow you for a long time, I have learned lots of things from you. You deserve a big thanks!
@prudhvichinnam1488
@prudhvichinnam1488 3 жыл бұрын
Super videos do like this only 🔥🔥❤️❤️❤️❤️
@anuragkaushik2447
@anuragkaushik2447 Жыл бұрын
Never understood callback before
@AaronM
@AaronM 3 жыл бұрын
sorry, dumb question, but what is the purpose of this? i'm still learning, but if the callback is defined in the file (or i presume imported from another module) you can also just call it from within another function without explicitly passing it in as an argument. makeUpperCase and reverseString don't need to be passed in as args of handleName. again, sorry, I'm just trying to wrap my head around why you'd want to do this. update: i guess maybe i wrote the above too soon, cuz it looks like my question is kind of answered with the button example, where you're not defining the logic. I'm coming from more of a Node point of view, rather than browser point of view, or something, where you'd write out all the logic yourself? Is there another real world example that could help solidify this for me?
@CodingAddict
@CodingAddict 3 жыл бұрын
Hmm. Have you ever used map or filter functions?
@AaronM
@AaronM 3 жыл бұрын
@@CodingAddict I’ve used map in Python, which I imagine is similar in JS. I guess I didn’t consider that since that’s the way that built-in module is written, vs why one would intentionally write with callbacks in mind, but maybe it’s just as simple as, cuz that’s what they want it to do? Sometimes when I write (bad) functions, I’ll call multiple other functions too. So I think I was wondering, if I intend to call them, do I NEED to pass ALL of them in as args, or do I just have the OPTION to pass them as args?
@CodingAddict
@CodingAddict 3 жыл бұрын
Yes, as far as building your own functions that take in callback functions, I see what you are saying, often times you can make an argument that it's easier to just code all the login inside of the function. But it's important to understand the general concept, since callback functions are used all over the javascript as well as the node, and many different libraries.
@AaronM
@AaronM 3 жыл бұрын
@@CodingAddict I agree with you about understanding how it works, and appreciate your responses. I think maybe as I learn more and get more exposure, it will “click.” It may also be that I’m too rigid in my thinking - usually when I write my logic, I tend to write with a specific return in mind, hence my “hard coding” functions inside other functions. But I can at least recognize that by using callbacks, that return can be more fluid/flexible. Either way, I appreciate the response and thanks for the work you’re doing to help teach us.
@Dineshsharma-ec6ys
@Dineshsharma-ec6ys 3 жыл бұрын
Also make videos on async function and promises.
@elweonweandolaweafome
@elweonweandolaweafome Жыл бұрын
Javascript Nuggets - Async / Await
16:46
Coding Addict
Рет қаралды 25 М.
Javascript Nuggets -  Callback Hell
6:49
Coding Addict
Рет қаралды 22 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Javascript Nuggets - Filter and Find
15:14
Coding Addict
Рет қаралды 35 М.
Javascript Nuggets - Promises
13:28
Coding Addict
Рет қаралды 25 М.
Javascript Nuggets - Fetch API
7:20
Coding Addict
Рет қаралды 21 М.
Javascript Nuggets - Reduce Basics
7:42
Coding Addict
Рет қаралды 32 М.
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 990 М.
Practical Typescript 2 - Objects and Functions
59:33
Coding Addict
Рет қаралды 2,6 М.
Javascript Nuggets - Dynamic Object Keys
9:04
Coding Addict
Рет қаралды 49 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН