Live data from Hacker News

Coding As A Substitute For Meditation?

statspotting.com

11–20 of 24 posts

Re: Coding As A Substitute For Meditation?

#11
This an observation well supported by the theory of Flow. It's psychology's foray into positive thinking, a big part of which is productivity.

Coding, when you're good at it and have mastered your tools, IS meditation (at least on the surface) as you feel an intrinsic sense of well-being.

Re: Coding As A Substitute For Meditation?

#12

To be fair - there's a massive different between focusing on something you're passinate about (like coding) and focusing on not thinking. Not thinking and letting your mind relax is completely different from, and often way harder than, thinking about a passion. Jusy "getting in the flow" is not the point of most meditation.

Please keep in mind that the flavour of meditation you are describing is not the only one.

"[M]editation refers to a family of self-regulation practices that focus on training attention and awareness in order to bring mental processes under greater voluntary control and thereby foster general mental well-being and development and/or specific capacities such as calm, clarity, and concentration" Walsh & Shapiro (2006)

"[M]editation is used to describe practices that self-regulate the body and mind, thereby affecting mental events by engaging a specific attentional set.... regulation of attention is the central commonality across the many divergent methods" Cahn & Polich (2006)

The practice of 'coding in the zone' might as well achieve the same effect as traditional meditational practices and be called meditation on that ground. In fact, you are training the control of your attention with that practice.

Re: Coding As A Substitute For Meditation?

#13

Similarly, I've found that playing engrossing video games draws most of my attention from pain -- or anything else really.

Yes, when I was exhausted from coding or simply the stress of work playing an imersive video game helped to refresh my mind.

Also, years ago when I was studying and had headaches, playing chess against computer was also refreshing. I suppose I was using different parts of the brain and letting others rest.

Re: Coding As A Substitute For Meditation?

#14
I'm kind of turned off by this post. I'm a fairly experienced meditator in a few Buddhist traditions. You could definitely make coding a kind of meditation. People do driving meditation, or dish washing meditation, but it's usually as an extension of other mindfulness practice. I wouldn't just slap the 'meditation' label on coding unless the practitioner is explicitly going out of his/her way to make it a meditation.

Re: Coding As A Substitute For Meditation?

#15
post #12

To be fair - there's a massive different between focusing on something you're passinate about (like coding) and focusing on not thinking. Not thinking and letting your mind relax is completely different from, and often way harder than, thinking about a passion. Jusy "getting in the flow" is not the point of most meditation.

Please keep in mind that the flavour of meditation you are describing is not the only one. "[M]editation refers to a family of self-regulation practices that focus on training attention and awareness in order to bring mental processes under greater voluntary control and thereby foster general mental well-being and development and/or specific capacities such as calm, clarity, and concentration" Walsh & Shapiro (2006)…

I'd agree for the most part. If it helps the person relax and promotes concentration, then that's good. And the more naturally it comes the better.

A lot of meditation in western countries consists of people forcing themselves to sit and focus, then measuring the amount of time they sat as an accomplishment. It doesn't lead to any long term benefit though, and if really forced, it will actually have the opposite affect.

EDIT: Actually beneficial mediation is something else, and the Tibetan traditions flat out understand it better than anyone, period, they're the Caltech or MIT. Other traditions are ok, but they're not the same caliber.

Re: Coding As A Substitute For Meditation?

#16
Meditation is not about cluttering your consciousness, but freeing it from agitations and useless load, we produce themselves.

It is not about chanting mantras. It is about realization of the "source" of the mental content.)

Calling a concentration, deep focus of so-called state of flow a meditation is confusing misuse of the language (using wrong associations).

Constant agitation and restricted, repetitive patterns of "thinking" is misuse of the mind.)

Re: Coding As A Substitute For Meditation?

#17
post #12

To be fair - there's a massive different between focusing on something you're passinate about (like coding) and focusing on not thinking. Not thinking and letting your mind relax is completely different from, and often way harder than, thinking about a passion. Jusy "getting in the flow" is not the point of most meditation.

Please keep in mind that the flavour of meditation you are describing is not the only one. "[M]editation refers to a family of self-regulation practices that focus on training attention and awareness in order to bring mental processes under greater voluntary control and thereby foster general mental well-being and development and/or specific capacities such as calm, clarity, and concentration" Walsh & Shapiro (2006)…

I have similar deep experiences doing meditation related practices (Pranayama) and programming. This happened when I was focused on solving a single algorithm for long time. If I have to describe details about this time I can say that I was 18 years old, was doing my own parsing algorithms for a small language, and I debugged the algorithm in my head all the time.

Re: Coding As A Substitute For Meditation?

#18

To be fair - there's a massive different between focusing on something you're passinate about (like coding) and focusing on not thinking. Not thinking and letting your mind relax is completely different from, and often way harder than, thinking about a passion. Jusy "getting in the flow" is not the point of most meditation.

I think it's more convincing if you point out that the reason meditation is harder is the effort involved in pointing your thoughts back towards your breath or something else very simple.

Flow is the state where it is no longer a struggle to control your attention. What you are paying attention to can require a very active mind.

Mindfulness meditation involves practice at directing your attention, your focus is on meta-cognition. Your breath is often chosen because it requires no attention. It's boring. That makes it good practice at discarding all the other thoughts that come up and focusing your attention back where you want it to be.

Sure, meditation is a broad term but this is at the core of the vast majority of what's called meditation.

Some ideas involve meditation with a goal (considered attainable or just an asymptotic ideal at the end of the direction of improvement) of achieving a state like flow in this practice, so you no longer struggle to maintain your attention on nothing. Apparently extremely serene and calm and peaceful. Sounds wonderful.

Flow is different from meditation, to paraphrase what ramblerman said in another comment: meditation is an exercise of directing attention. Being good at that can help you attain "flow" more easily in other activities.

I know I've found meditation to seem to be good practice for when I want to focus my attention deeply.

Re: Coding As A Substitute For Meditation?

#19
I don't think it's valid to compare a flow state with meditation. Coding isn't just "one thing", not like mindfulness mediation practices are about "one thing".

It seems to me that coding is about actively using a lot of your brain. At the abstraction level of a brain or a mind coding is a whole lot of different things.

I happen to think meditation is good practice for directing your attention mindfully, improve your ability to direct your thoughts. Good at directing your thoughts at something? You'll find you enter flow states when doing it. So I see the connection, but they aren't the same.

Re: Coding As A Substitute For Meditation?

#20
post #9

Exceptionally misguided. Having meditated for an average of forty minutes every day (sometimes for as much as 2 hours a day, in 40 minute blocks) for the last half year and having coded many, many hours in my life, I can say that this conclusion is decidedly incorrect. Most forms of meditation are about doing nothing except breathing. Coding, like any other task, is far from this. Again, exceedingly misguided.

Exceptionally misguided.

Indeed, I would even say such misconceptions are harmful, since coding has quite the opposite effect. After a day of too much or too intensive coding, I usually find that my brain continues to be occupied with coding problems. E.g. when I'm half-sleeping I see problems that don't exist (at least not in sleeping ;)). Meditation has the opposite effect: the mind becomes calm and unoccupied.

It's important to give the mind rest and time to process your day.

Post reply on HN