I guess (perhaps I'm wrong) that humans and life in general tend toward homeostatis -- i.e. wanting to stay the same as before -- and not just physically but socially and mentally too, e.g. to keep what you have and avoid what's new.
An "avoiding extremes" doctrine might encourage that.
The theory of 'flow' in psychology suggests that people want to engage in activities which are not too boring but also not too challenging.
I think that school-teachers are aware of that phenomenon, and school-children become trained (habituated) to it.
But however useful or pleasant that may be, perhaps that (i.e. the pursuit or maintenance of that 'flow' state) is just samsara.
Does Buddhist doctrine challenge this? Or endorse it, use it?
In positive psychology, a flow state, also known colloquially as being in the zone, is the mental state of operation in which a person performing an activity is fully immersed in a feeling of energized focus, full involvement, and enjoyment in the process of the activity. In essence, flow is characterized by complete absorption in what one does, and a resulting loss in one's sense of space and time.
Named by Mihály Csíkszentmihályi in 1975, the concept has been widely referred to across a variety of fields (and is particularly well recognized in occupational therapy), though the concept has existed for thousands of years under other names, notably in some Eastern religions, for example Buddhism.
The flow state shares many characteristics with hyperfocus. However, hyperfocus is not always described in a positive light. Some examples include spending "too much" time playing video games or getting side-tracked and pleasurably absorbed by one aspect of an assignment or task to the detriment of the overall assignment. In some cases, hyperfocus can "capture" a person, perhaps causing them to appear unfocused or to start several projects, but complete few.
Can you comment on either of the highlighted statements from a Buddhist perspective?
Also perhaps this is related to my previous question, Aversion and Mahayana -- I guess that 'flow' might help you to do things, even useful things, even things you might not do otherwise, like your maths homework at school -- I'm not sure it's a useful tool (or habit) for handling aversion however, i.e. any activity which takes you "out of the zone" is something you might avoid.