Post #2114050
2026-05-06 16:13 UTC
@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.
Replies (2)
-
@nyovaya@transfem.social 2026-05-06 16:32
@nyx@lgbtqia.space @shana@mastodon.gamedev.place You just cant calculate the result of the infinite sum notation ^^
-
@doctormo@floss.social 2026-05-08 06:20
@shana@mastodon.gamedev.place @nyx@lgbtqia.space "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