r/learnprogramming • • Apr 11 '21

Dopamine

So recently I came to conclusion that we are constantly stimulated with media, music other distractions that makes it harder to focus and learn programming or anything at all.

I remember that time I had pretty much 0 entertainment no media, no music, limited ability to go out somewhere or talk with someone. After a week or so I found a c++ book, I had attempted learning c++ before, but it didn't make sense, but this time it was different, it was my only source of entertainment, the only escape from reality and learning c++ was just as enjoyable as watching a great movie or listening to music.

I hope this will help someone

1.6k Upvotes

193 comments sorted by

View all comments

451

u/newguyonthecode Apr 11 '21 edited Apr 11 '21

It all comes with practice, to train your brain to be stimulated by things that actually are beneficial, have meaning and are productive. Its not as easy as it sounds, im struggling to get there. But god willing i will soon, pushing hard this time, i took a leap of faith at 29 to go back to uni for a second degree in CS. No turning back haha. Good luck man! Edit: spelling.

39

u/expresscost Apr 11 '21

Good luck to you as well!

16

u/quietpartyguy Apr 11 '21

Let's go broo!

74

u/[deleted] Apr 11 '21

I went there. And by that I mean I stopped playing too many games and code for 6+ hours a day excluding Sundays for family days.

But what worked for me wasn't cutting of dopamine or any other mumbo jumbo. What worked was to take it slow, learn and appreciate programming for what it is instead of treating it as "what I have to do to succeed" I cultivated a liking for studying. Which isn't the same with quitting everything else.

60

u/newguyonthecode Apr 11 '21

You must have misunderstood me. Its not cutting dopamine, its switching what stimulates your brain to release dopamine from gaming for example to coding. This is a biological natural process that is part of any challenging pursuit, not mumbo jumbo. Other than that, taking it slow, learning etc is the way to go! Never said anything else. And i did not throw everything away, i was laid off because of the pandemic where i used to work over-seas, now im back to my home-country and taking a new more future-proof path that I personally love.

→ More replies (1)

13

u/JCBh9 Apr 12 '21

I think you have a misunderstanding of dopamine and it's purpose in the body

3

u/Rebootrefresh Apr 12 '21

No offense but what feels subjectively like "cultivating a liking for studying" probably IS dopamine in action.

→ More replies (1)

6

u/Sampanna_ Apr 11 '21

I find comfort in hearing this! Good luck on your journey!

3

u/newguyonthecode Apr 12 '21

Thanks man, appreciated!

9

u/outlaw-s-t-a-r Apr 12 '21 edited Apr 13 '21

True, practice is key, as well as consistency, determination and discipline, but I think OP is saying that it was easier to focus and actually learn once he removed all distractions.

Back then, distractions were books, poems, walking outside and engaging the world, or even a conversation.

Today, our entertainment is making our attention span worse. Television, video games, PHONES, SOCIAL MEDIA, etc are literally making us less focused.

The average person could read for hours a couple decades ago, but today it seems kids can’t get through a couple pages without feeling like it’s a chore.

It has to do with the over stimulation of dopamine, the neuro-chemical responsible for motivating us and rewarding us.

We’re essentially flooded with it so when a tv show or porn gives you loads of dopamine, reading a book gives a lot less. Our brain essentially disregards anything challenging and anything that takes work or effort is then daunting.

Our brain hates being uncomfortable and learning comp sci can be just that as it challenges us.

What OP did was limit or cease all distractions and it allowed them to focus and see comp sci in a new light. It wasn’t a chore anymore, it became an interest, a hobby if you will and because of this OP will be rewarded very well as they seek to learn instead of feeling obligated to do so.

This is why my future kids won’t be using phones till they can buy it themselves and screen time will then still be limited as long as its under my roof.

Edit: grammar

2

u/newguyonthecode Apr 12 '21

Well said, exactly what i meant when i said train our brains to be stimulated by things that are beneficial. The natural process of this, at least in the beginning phase, is to eliminate all distractions with will power and turning it into discipline later.

4

u/[deleted] Apr 12 '21

Good luck man!, I am starting my course in September, for me that has an attention span of a goldfish sometimes I definitely need to remember this.

What methods do you use to stay concentrated and learn yourself to like learning?

3

u/newguyonthecode Apr 12 '21

Goodluck to you! So far im directing the excitement and curiosity momentum to invest it into creating a more disciplined program, and working my way one moment at the time. What counts is loving it first, then turning this impulse into a lifestyle, watching videos about it, reading about it, try to join online communities etc. However this is what im trying to do, everyone has got their method, hope I helped!

14

u/lungsofdoom Apr 11 '21

Why go to uni? Its kind of too much if you already have some degree. I have stem degree unrelated to programming and there was no way in hell i would apply myself for another degree and waste endless amount of time for like 15% of usefull information you might collect there, burried inside endless exams made for academic and competition purpose. I picked udemy courses, made some apps and projects and that is how i entered this field. If i entered another uni i would lose all my energy, one was enough for me.

7

u/newguyonthecode Apr 12 '21

My first degree was in business, that said i have worked for the past 8 years in that domain, i had 0 knowledge about all this. Being laid off and not being able to directly find a job i needed something more stable tbh, and more importantly something clear, and a catalyst to help break into this world in a guided manner. I guess you can say it was more a personal approach rather than a standard for how things traditionally go, these decisions go case by case and it does not mean i favor Uni over self-teaching. Also, im getting a minor degree in economics, so i can integrate with my CS and make use of my business degree, that way i can work more specialized programs. Besides, im not in the US, Uni here is not a financial destruction recipe (supposing you are in the US)

Hope this made it clearer haha

0

u/[deleted] Apr 12 '21

[deleted]

7

u/smajorp Apr 12 '21

Hey, different person, but I'll throw in.

I had some programming classes in Java in college, but didn't do much programming for a number of years. I started by making a website for my small filmmaking business in Python, Flask, and Bootstrap. I needed a website and it seemed like a fun idea to build it myself. In the process, I also learned about cloud hosting and used AWS to host.

This led to an opportunity to volunteer for a project related to climate change, where I really had to up my game as everything needed to be coded in a way that other developers could pick up and work with.

Once I had those down, I applied for a freelancing gig and got it. This again pushed me even further as I now was working with millions of rows of DB data etc.

At the end of the day, it doesn't matter what you do. Pick some small projects that interest you. Learn from it and move onto something else. The best projects solve a problem for you or someone else.

4

u/newguyonthecode Apr 12 '21

This is motivating as hell for a beginner like myself, kudos to you

2

u/lungsofdoom Apr 12 '21

First i went with general java course and i was making basic desktop swing applications. Of course that process wasnt short, i went through many books and tutorials throught few years. After that i chose to learn backend web development so i picked backend course and after i watched it i later made my own similar REST app and pushed it to github and placed link in my cv. My advice is to see what is wanted in your area (java c# web development, etc) then pick something you are interested in and learn framework from that area. Also, see which techonologies (like tools and frameworks, etc) are described in job descriptions and learn basics of them so you can put it in your cv.

→ More replies (2)

3

u/Cypaytion179 Apr 12 '21

This is too accurate, doing a stem degree and feeling the rigmarole.

→ More replies (3)

2

u/mobuckets21 Apr 12 '21

Rooting for you!

2

u/newguyonthecode Apr 12 '21

Appreciated man!

0

u/[deleted] Apr 12 '21

[deleted]

→ More replies (1)
→ More replies (7)