In these two vids, I take a beginner’s look at interfaces. Not just what they are, but why we use them…
I think that the topic of short-circuiting is an under-appreciated one. In short, short-circuiting is simply ending an evaluation the instant it becomes false:
1 2 3 |
if(2 < 1 && 1 == 1) { /* stuff */ } if(2 > 1 || 1 == 1) { /* stuff */ } |
In this example, the second condition doesn’t get evaluated in either case. In the first example, the compiler sees that both conditions have to be …
This is a follow up to my 2 video tutorial “Interfaces in C#”. There were some comments left on the YouTube thread suggesting that some folks are understanding how interfaces work, but still don’t see the point in using them. As always, I say that exposure is the best answer. …
In these two vids, I take a beginner’s look at interfaces. Not just what they are, but why we use them…