I take it as the Prime Directive that I must teach every student in every class session. You may disagree, but I'm not asking to debate that question, but to look for how it might be accomplished, assuming it is, at least, a goal.
This isn't about lecture, per se. I'm not sure I believe it is possible to teach everyone with just lecture, since we all learn differently. So this isn't about what "level" at which to pitch the course. Suppose you wanted to give something to everyone in every class period. How would you proceed?
Let's assume that your class contains people of different background, preparation, and ability. Let's not assume that everyone needs to get the same thing out of each class, but something that will advance their own learning. Let's also assume that helping those with little motivation is not the main issue. I'm also not looking for a way that guarantees the result, but for techniques that make it highly likely to be achieved.
I have some ideas about this, of course. Active Learning is my big hammer. Teamwork also. Paired learning (not just pair programming) maybe, though I'd love to hear from anyone who has experimented with that (either successfully or unsuccessfully). I've done Paired Teaching with a co-instructor in which each of us does different things and takes control at different times, with different students likely preferring one of us over the other.
I once had two students who had failed a compiler course, never having had a positive educational experience land at the very top of the class in the following term. The other students there, one of my highest performing groups ever (on technical issues anyway), were very angry, accusing me of putting "ringers" in the class to make them look bad.
Note for the record that I have over 40 years of teaching experience and still can only begin to approach this, though I do believe that it is the prime directive.
Nothing in the Academia list seems similar to this, and I'm interested in CS specific ideas. I think it would be different in, say, teaching Russian Language, or Poetry.
I'm not looking for a definitive answer, but for ideas for how to structure the whole teaching process so that you reach everyone. But I'm also not looking for debate, but for practical suggestions.