

Since you have a programming background, think of it like recursion. A function that runs, then calls itself has fundamentally changed inputs. Dialectics proceeds as spirals, this recursive loop is a cycle that always progresses quantitatively until the character qualitatively changes.
In practical example, as Capitalism decays, conditions quantitatively weaken for workers, which will eventually result in a qualitative shift in perspective and openness to new ideas.
I think this is the best approach. I’m still wary, but this is the viewpoint I’ve been coming to understand.