@kkiesling
While I think we both know it makes sense to calculate the flux in its own function, I don't think the example we're providing drives home a couple of the key points which motivate that for new programmers. In particular we don't really demonstrate:
- saving lines of code
- correcting an implementation in one place vs in 20 different places in the code
we can certainly talk about these things, but I feel from a learner's perspective that experiencing those things would be more powerful.
I'm going to think about this a bit and try to figure out how we might modify the demo to incorporate those points. Any thoughts?
@kkiesling
While I think we both know it makes sense to calculate the flux in its own function, I don't think the example we're providing drives home a couple of the key points which motivate that for new programmers. In particular we don't really demonstrate:
we can certainly talk about these things, but I feel from a learner's perspective that experiencing those things would be more powerful.
I'm going to think about this a bit and try to figure out how we might modify the demo to incorporate those points. Any thoughts?