Never heard of that, guess, you learn everyday! Thanks btw.
@catprog7 ай бұрын
I like reporting all the errors and then exiting from the function. error = false; if(!isUsername){ error = true; console.log('bad username'); } if(!isPassword){ error = true; console.log('bad password'); } if(error) { return; }
@Emmanuel-Pangan7 ай бұрын
That's also a good way. Catching the errors first, sending the error message, and then exiting the function. This way, it prints all the possible errors before exiting the function.
@Emmanuel-Pangan8 ай бұрын
Well a bit late but... Happy New Year everybody! Also, I won't use TTS anymore so I hope you're ok with my voice. And the video is recorded in low-quality settings because of OBS somehow, it should be 1080p but oh well. Best wishes!
@proton468 ай бұрын
Informativ video as always... You're doing great... Can't wait for the next video!
@Emmanuel-Pangan8 ай бұрын
@@proton46 Thanks a lot Proton! I'm wondering if I should do Unity tutorials next... and probably shift this channel to the game development side, any takes on this?
@proton468 ай бұрын
@@Emmanuel-Pangan I haven't used unity in the last 2 years... but I think shifting over to game development at least for now is a good idea... You can still make videos about more advanced c# features(e.g. delegates and events) as some of these features are probably useful for gamedev as well... :)
@Emmanuel-Pangan8 ай бұрын
0:57 The "Before" code is not the same to the original code. Sorry about this.