Easily Avoid The #1 Junior Developer Coding Mistake

preview_player
Показать описание
When you run into an issue check that the values of your variables are what you think they are, because they probably are not.

#shorts
Рекомендации по теме
Комментарии
Автор

After switching to TS, i saved a ton of time by avoiding these silly mistakes.

kaas
Автор

Debugging capability is perhaps the single most important attribute in any engineer

collapsingspace
Автор

Such good advice. Always check the value of a variable. It may not even be a null or undefiend issue, it could be a1 instead of a 2 kind of issue. Always check the value.

Spinikar
Автор

This is so, so true. I’ve been coding 30 years and if there’s one thing I’ve learned, it’s that bugs are mostly when a variable doesn’t contain the value you think it does.

jamonh
Автор

I just start using C# and honestly the debugger is super awesome. No more console logging every variable 😂 I still love JS/TS though

ninhdang
Автор

And I’m like uh hmm.. ok, sure 👍👍 🤣🤣🤣

PrashanthPuranik
Автор

Your explanations are so clear and easy to understand. Thank you for making this video!🤝

MyCodingDiary
Автор

That's why i initialize every variable i declare with a specific value.

tyrellwreleck
Автор

This comes up a lot on StackOverflow too. Nearly daily questions under the Python tag about "Why does it say 'NoneType' has no attribute 'x'?"

nigh_anxiety
Автор

I've been looking for someone like you my whole life, but I keep landing in places where I'm alone, surrounded by PMs and functional leads, and have to figure things out by myself. I feel like the best I can do is keep at it long enough in hope to become what you are for somebody else.

WhNeedsFrends
Автор

I can say I'm no longer a junior, thanks to this.

ChrisPirillo
Автор

Happened to me a week ago, if you posted this earlier it would’ve saved me a headache 😂

joshnijjar
Автор

thats why we make sure that we're type safe all the time 😅

jo
Автор

That’s why I like typescript, it forces me to check types right when I want to assign variables and not finding out later during runtime

simonkraemer
Автор

Debugging code it's maybe the most difficult thing a programmer can do.. it's exhausting.. cheers jack!🙋🏻‍♂️

josebaiturregui
Автор

Only Chuck Norris can dereference NULL

StathisNtonas
Автор

"We use typescript and we still don't know what type it is" ~ programmers are also human video - interview with a senior js developer

TakuCoding
Автор

Me Every making new function to get request post or get, print(request)

hasyidanparamananda
Автор

Being a programmer caused my trust issues

b.o.t
Автор

Once I got tricked in a similar situation. I used bcrypt to encrypt passwords and it never returned true when comparing. It turned out I never passed the actual password just always an empty string

marktheunknown