Conversation

Regular reminder to self

3
5
0

@shana Regular reminder to self that all those scary for-loops are just iterated operators 😜

0
0
0
@shana Yeah, well, trouble is they often go to infinity :-).
0
0
0

@shana not really for loops. In math a sum can and often does go up to infinity, whereas a for loop cannot do that.

As an analogy to convey some information is fine, I'm just reminding that it ain't the same thing.

1
0
0

@nyx Super nitpickity, if you don't have a stop condition, a for-loop will happily go on until the death of the universe (or your pc, whichever comes first)

But in general, the sigma is the abstract definition, the for-loop is a possible concrete implementation of that definition, in a language that the target of this PSA (non mathy programmers) can understand and go "oooh ok I get it now". It would have saved me like half a semester if someone had shown me this up front, no other words needed.

1
0
0

@shana @nyx

"Lies to children" is an pedant repellant pedagogy.

I reckon the world a better place if more folk understood a touch pedagogy on top of their regular expertise:

https://en.wikipedia.org/wiki/Lie-to-children

0
0
0