Testing and Defensive Programming

preview_player
Показать описание
Covering types of error, types of test data, test plans, trace tables and defensive programming (validation, sanitisation, maintainability and readability). Apologies for the length, I wanted to cover it all in one go!

If this video was useful, please like it and subscribe, it really helps! Also, if you use an ad blocker, whitelisting my channel is very much appreciated!

To watch the videos in their intended order and only those applicable to you, please use the following playlists:

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

I was worried about CS until I found this, I cannot express how grateful I am to have found this, we need more teachers like this so that we all can do well.Thank you.

Lordknight
Автор

7:58 he goes it’s difficult to explain.... LIKE WTAF IVE GOT MY EXAMS TOMORROW

amzy
Автор

Got mocks next month! I've covered this just making sure I've covered it well.

desiccantmusic
Автор

At 3:59, when discussing runtime errors, you mention that it's because your RAM is full, but won't that memory just go to virtual memory? Love the videos - saving my grade!

augustustranter
Автор

I watched this right before my exam and still forgot what defensive programming was😃

shocochells
Автор

2:44 example isn't an error as an array starts at 0, so 6 index's are generated

maxilander
Автор

can someone link me some trace table questions plz

justin-gkkx
Автор

Hey! I have my mocks in january, I was wondering if these are all the videos for paper 1

ShahnawazKhan-resj
Автор

When it comes to readability, in real life code not in school, you shouldn't use comments for a variety of reasons :
- If a function needs a comment, then it means it needs a more descriptive name.
-if a function does many things, you need to break your code into smaller pieces.

In some cases comments can also be deceiving, lets say you are writing a comment about the date, and then where is day you added an other variable called Life or a boolean, then your comment becomes wasted.

Your code structure must be easy to read, give your code to someone who has no programming experience whatsoever if he's able to understand then you are good to go.

Goodluck.

FuzzyDPozzy
Автор

u speak to fast and miss out sylabils sometimes and it has hard to hear

jnzo