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

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.

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

3

u/Cypaytion179 Apr 12 '21

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

→ More replies (9)

2

u/mobuckets21 Apr 12 '21

Rooting for you!

2

u/newguyonthecode Apr 12 '21

Appreciated man!

3

u/[deleted] Apr 12 '21

If I can offer any advice it's this: willpower is a suckers game.

Imagine willpower like a finite bar of mana that can only be replenished by things like rest, food, unwinding(what ever that is for you.) Basically the longer you have to rely on it the harder it is to keep doing it because your attention span and energy is not infinite. It can be worked on though through practices like meditation, mindfulness, and taking breaks in responsible manors.

What you should do instead is just remove temptation. Do you play xbox to procrastinate? Unplug your console, put it in a box. When you wanna play it you have to physically and consciously unbox and plug it in.

Do you get distracted with your phone? Turn it off when you study. And put in on a high shelf.

Little things like this will make you more productive than just relying on willpower alone.

Good luck on your degree I wish you all the best!

1

u/Greywacky Apr 11 '21

Currently considering making a similar move myself. How is it going?

10

u/newguyonthecode Apr 11 '21

Its a bit complicated. Several things to consider, including financial security for at least the first semester until you “settle in” and get used to your schedule, so you can work the rest of the say (no night school where im from), so i have money saved that can provide that security. You have to put the extra effort, because somehow you will be competing with 22 y/o grads in the job market, so maybe consider going for something very specialized or still new. I know this is not exactly your question, but I thought ill give you small part of check-list. And back to your question, its the happiest ive been in 8 years, very refreshing, new, stimulating, intriguing. I love it so far

→ More replies (4)
→ More replies (4)

52

u/Hapablapablap Apr 11 '21

Very relatable! The first programming I did was in 2000. The internet was still not that much of a time suck. Netflix streaming was not a thing. YouTube wasn’t a thing. I was visiting my boyfriend for the summer in Massachusetts and while he was in his summer classes I started reading his Sam’s Teach Yourself C in 24 Hours for entertainment and built little programs like Simpsons Trivia quizzes and a checkers program that didn’t work but you could move a piece around the board lol.

It was much easier to get engrossed in learning back then. Our lives are architected around to distractions now, cell phones, text messages, apps, notifications, immediate access to information. Sometimes I go to silent meditation retreats and I really get a healthy dose of how addicted I am to these things. The retreats have no phones, no reading, no writing, no music, just focused work. The first few days all I want is my cell phone and Netflix it’s rough.

Thanks for sharing!

5

u/expresscost Apr 11 '21

Thank you for sharing as well!

2

u/swiftfastjudgement Apr 12 '21

Semi related comment here. I have a very demanding job that requires some sort of TLC 15 hours a day M-Fr and half time on Sat. It’s not labor intensive as I’m maintaining clients, etc, however is very taxing mentally.

So I’ve dubbed Sunday as my non screen day. No tv, phone, video games, etc. Only occasionally cheat with a Disney movie for the kids. It’s only 1 day a week but It really makes a difference with resetting your mental state with life.

2

u/Hapablapablap Apr 12 '21

This sounds wonderful. It’s easy for me to ignore screens when I’m with someone, but I live alone, no kids or partner, worked from home for 10 years... it’s made me pretty isolated. On the weekends I try to read, write, and listen to podcasts which is about as screen-detoxed as I get. It’s great to have a regular disconnection ritual.

31

u/derrick88rose Apr 11 '21

Dopamine addiction is absolutely real. Ever since I've shut down all social media except for reddit, and pulled back on all short form entertainment, I've been not only happier but vastly more productive.

It takes discipline but if a smooth brained ape like myself can do it, then I bet anyone can.

7

u/corruptedOverdrive Apr 11 '21

This helps a lot.

I've done the same thing by dialing everything back. I have a few freelance projects, but I want to start some more complex projects which itself has created the old "paralysis by analysis" syndrome. Picking what technology I want to use is whats killing me. I get going with one JS library, and I get frustrated, then switch to another. I'm using Vue right now and for some reason it's clicking better than React. I'm also itching to try something with Svelte but I keep telling myself to finish this Vue project first.....

But thanks for encouragement, I need it!!

4

u/derrick88rose Apr 12 '21

I get like that too. It takes time and patience, but making sure you finish the current project before you touch anything else sets the goal. Best of luck to you!

2

u/Smyles9 Apr 12 '21

What exactly about vue makes it seem like it’s clicking better? I’m starting with react and it makes a little bit of sense but it’s definitely hard learning how to use components and jsx when so far my only experience has been with vanilla js. I’m wondering if vue or Angular might be better for me to start.

→ More replies (1)

1

u/SlinkiusMaximus Apr 12 '21

Yeah I do very little social media or even video games anymore, and it’s helped a lot. Maybe not for everyone, but I’m guessing it helps many.

1

u/taknyos Apr 12 '21

Ever since I've shut down all social media except for reddit

Cutting Reddit too did wonders for me. I get benefits from it too (like some other social media) but still feel the exact same negatives as well.

Having it on my phone makes it too easy to access

1

u/Quit_Later Apr 12 '21

The book irresistible ^

132

u/DopeAppleBroheim Apr 11 '21

This is also called a Dopamine Fast for anyone wondering. Definitely helps reset your dopamine system. It kinda sucks at first if you’re constantly consuming media like phones, tv, video games, etc.

22

u/WasdMouse Apr 12 '21 edited Apr 12 '21

This is pseudo-science. Read this.

Edit: The original work is fine, but beware about what people tell you about Dopamine Fast. There's a lot of pseudo-science about the work.

12

u/kafircake Apr 12 '21

The article isn't criticizing the original work. It's pouring cold water on people taking the metaphor of fasting and running with it to maladaptive ends.

Did you actually read it? It's a really quick read.

5

u/WasdMouse Apr 12 '21

Did you actually read it? It's a really quick read.

I did. I was referring to his other comment where he said to "YouTube dopamine fast". There's a lot of clickbait titles, videos, and articles about what dopamine fast actually is. The original work is fine but should be taken as a guideline and not be taken to the extreme. I was fearing a lot of people would fall for that. In the article, Sepah even says that the "title should not be taken literally."

6

u/DopeAppleBroheim Apr 12 '21

I think the author of this article is out of touch. I’ve literally seen no one mention “fasting” from social interactions, food, exercise, etc.

The whole idea is replacing bad dopamine-releasing habits (video games, porn, drugs, etc) with good dopamine-releasing habits (reading, exercise, real social interactions, etc). Not cutting out any dopamine related activity, as that’s ridiculous.

It’s about rewiring your dopamine system and building healthy habits, not simply adding or subtracting dopamine from your brain.

→ More replies (1)

3

u/paradigmx Apr 12 '21

No, it isn't pseudo-science, it's real science. It is just taken to excess by some organizations. It literally says that in the article you posted.

→ More replies (10)
→ More replies (1)

4

u/AmatureProgrammer Apr 11 '21

Interesting. I never heard of that till now. I will take a look into it.

3

u/[deleted] Apr 12 '21

Innocent question: if you start feeling good from reading books and accomplishing a goal you had. Doesn’t that “feel good vibe” you get cause a surge of dopamine too? Only difference is; it’s from another source? A healthy one.

5

u/Solako Apr 12 '21

A value driven one. Rewiring your neurotic systems to develop synapses that excite you. Dopamine rushes may come when you get coding.

→ More replies (1)

2

u/DopeAppleBroheim Apr 12 '21

Yeah, the point is to “fast” from bad dopamine-releasing activities. Not good ones. Don’t quote me on this, but reading a book isn’t going to release anywhere near the amount of dopamine as watching porn or doing drugs. That’s the whole point, basically replacing bad habits with good ones.

0

u/[deleted] Apr 12 '21

[deleted]

14

u/paradigmx Apr 12 '21

You want a super effective dopamine fast, look up Sensory Deprivation tanks, also called float tanks. For $40-$100 or so(depending on where you live and quality of tanks), you can lay in complete darkness in a soundproof chamber floating on 10 inches of body temperature salt water for an hour or so. I was skeptical until I tried it and ended up staying for a double session the first time I went. It is the ultimate dopamine reset button for me. I come out ready to get shit done every time. I've been doing it for a short while, but a partner of mine has been doing it for years. She absolutely swore by it and I finally gave it a shot. Totally worth it. I also have ADHD so dopamine is a serious daily problem for me. An hour a week is a life changing benefit for me.

5

u/[deleted] Apr 12 '21

I'm gonna be honest with you I have tinnitus and this sound like a nightmare.

→ More replies (1)
→ More replies (3)

10

u/iaowp Apr 12 '21

It's just common sense.

We have decided that feeling good is something we should strive for.

So we do stuff that makes us feel good. Whether it's drugs or TV or sex or making people feel bad (war lords, bullies, bosses, abusive spouses/parents, etc).

After a while we do it too much, so you can try to reset yourself by avoiding the stuff that makes you easily receive dopamine.

20

u/[deleted] Apr 12 '21

No. Not “common sense”. There is no evidence to back up a dopamine fast and its benefits out there. Just pseudoscience

→ More replies (11)

2

u/TheTeralynx Apr 12 '21

I wish I could do this but 100% of my school assignments are online

→ More replies (1)

3

u/[deleted] Apr 12 '21

Its a well known effect in psychology that quick and easy rewards for tasks tend to be addictive, and make tasks that take more effort without immediate rewards less appealing.

This is how video game/social media additction works, and partly why all modern major release games went to shit. Ever notice how all competitive shooting games are now team games? Its so that when your team wins, even if you didn't really do anything, its still registers as a happy feeling, and it keeps you playing. And when your team loses, its easier to blame a shit team instead of realizing that you suck which also keeps you playing.

The hack to all of this is psychedelics btw. One good dose of LSD/Shrooms will reset your brain like nothing else out there.

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

19

u/randomtrip10 Apr 11 '21

This. It was so hard to self learn unity when I was smoking meth.

5

u/orbitalPadre Apr 12 '21

tell me about it, i was smoking catnip when i first started learning basket weaving

18

u/canowa Apr 11 '21

That's why the only game I keep on my computer is minecraft: it's relaxing enough when I need a break but also so much boring that forces me to get back learning :)

16

u/paradigmx Apr 12 '21

As someone with Severe ADHD, dopamine is the primary focus of my daily life. ADHD means that my passive brain doesn't produce Dopamine at the same rate that I need it, so I have to constantly find ways to either reduce the amount of Dopamine that I need, and find alternative sources of Dopamine. Without ensuring that I manage my Dopamine intake effectively, I will inevitably go on what could be considered a bender. Video games, candy, tik tok, porn. Whatever my brain can find to give it a fix. I honestly have no say in this when it happens. It's like a primal urge.

So to help myself stay on track, I need to have some routines. First of all, a new routine that has been a significant discovery for me is that I book an hour per week in a sensory deprivation tank. It's like power cycling my brain. The first part of it feels like withdrawals. My brain jumping around trying to find something to focus on, eventually I just drift off and I can focus my thoughts. Since I started that, my need for dopamine has dropped radically. Secondly, I set timers for everything and reward myself regularly for changing tasks when the timer goes off. This includes working, studying and gaming. Third. I let myself have a bender occasionally. I'll pick an evening where nothing is needed, pick up some junk food and follow the dopamine wherever it leads. Sometimes I pick up a hobby I forgot I had, sometimes I get 2 weeks of work done in 4 hours. Sometimes I sit there and binge watch something on tv or YouTube.

People that aren't ADHD will still always need to balance Dopamine to some degree, but for me it's a full time job. Learning how to manage distractions and reorienting myself are key to having any kind of productivity.

→ More replies (8)

39

u/technologysex Apr 11 '21 edited Apr 11 '21

Know the feeling. We removed our WiFi from our cabin a couple of years back and you really notice how entertaining anything you can get your hands on is. I try to not have my phone around me when i'm there and just reading a book it's so strange how i'll unconsciously take this breaks every couple of pages and reach for my phone. I'll get bored for a minute, staring out in the air, and then go back to the book because there's nothing else to do.

Old movies and TV shows that's been on my laptop for ages becomes a gold mine at night and i'll be super grateful to discover some old movie that would otherwise feel a bit like "work" to sit through.

All this stuff about dopamine and social media is obvious and a bit trite by now to most people, but it is still good to remind ourselves.

5

u/iTAMEi Apr 11 '21

I leave my phone upstairs Saturday/Sunday mornings and watch a bit of TV and it’s very much the same.

9

u/WeStanForHeiny Apr 12 '21

Decade long dev here,

I think it’s extraordinarily important for anyone getting into this field to find your zen. What I mean is, find the ideal set of conditions for you to completely concentrate and focus.

For me, I know that having a pair of sound cancelling headphones, my big spotify playlist, closing out everything unrelated to my task(s), and the ability to drum a little means I can absolutely crank through work. And even better, it doesn’t feel like work — and I get a dopamine hit for each little task I accomplish along the way. I also know I tend to get my best work done during the after lunch to end of day window.

This is just the particular formula that works for me, but I would extremely encourage any of you who are dipping your toes into this line of work to experiment with different things. Some folks like natural office ambience. Some like songs (with no lyrics).

You’ll know you’ve gotten your formula correct when you look down and back up and it’s been 4 hours without you evening realizing it.

Toy around with different setups until you find something that works for you. It makes success so much easier.

3

u/Smyles9 Apr 12 '21

I find that I do my best work from 6pm-10pm, although for music or movies, I feel like it depends on the nature of the task. If it’s difficult I need quiet, if it’s easy but tedious I need a movie or music to keep myself from getting bored and slacking off.

1

u/WeStanForHeiny Apr 12 '21

The important thing is simply recognizing what works for you. You’re on a good track.

Keep it up!

2

u/Keroseneslickback Apr 12 '21

Love me some music and work! :D

I'm still on the beginning of my journey. It's hard to buckle down and read/watch coursework to learn stuff. Essencial, yes, but I struggle through it. I'm always waiting for my break sessions.

But when I have a task to practice with or to build something that I know decently well, headphones and glasses on (I use IEMs), some tunes going, the time FLIES. I actually need to take breaks so I don't burn out too quickly. Oddly enough, I prefer rock music for programming (versus electronic stuff when I'm freelance writing).

22

u/GameKyuubi Apr 11 '21

d o p a m i n e

13

u/[deleted] Apr 11 '21

w e l i v e i n a s o c i e t y 😱 😱 😱

6

u/babypunter12 Apr 12 '21

I've found in my personal experience that mornings are the key to having a productive day. For anyone reading this comment that OP's post applies to, I'd propose trying the below in the morning and see how it helps you. It's stuff you probably should be doing anyway to keep healthy outside of programming.

As soon as you wake up:
- Stretch
- Drink Water
- Do a Deep Breathing Exercise

For the first hour of the day:
- Don't open any digital sources of stimulation (social media, news posts, emails, etc.)

5

u/[deleted] Apr 12 '21

You now understand why authors lock themselves In rooms or have cottage getaways in the woods with nothing but a typewriter.

Or how athletes isolate themselves from the world before a big game.

They're forcing concentration.

It's very difficult for us in our field simply because contact with the internet goes hand in hand with our craft and as of the last decade has also engulfed movies, music, and other forms of entertainment.

Though I know it's nearly impossible for us if you ever get the time off long enough I recommend going on a "media flush" basically it's a few days to a week where you only interact with electronics as completely mandatory. So no music, no videos, no websites, no reddit. If you can maintain this for a week or so it kind of resets your brain so you start feeling less of a need to use websites like reddit or youtube. You'll also learn pretty fast when you remove distraction you start doing productive things because the alternative is boredom.

Besides that if you're also capable another good recommendation is speration of work computer and research computer. So basically you could for example, have your laptop right beside you for programming/any other work that doesn't require the internet. That a device like(I prefer my ipad) for doing any actual internet research. So now you've separated your work tool from your research took. In order to mindlessly open a tab and use reddit you have to physically switch devices. Also having a internet disconnect from your main device makes it a lot easier to concentrate as you can't access the internet without moving your concentration off screen.

I know a lot of this is extremely difficult for most programmers but if you can find ways to work even some of this Into your life you will see benefits to your concentration and productivity.

4

u/[deleted] Apr 11 '21

can relate to that

4

u/memecoder Apr 12 '21

Try not to context switch too often. The more you context switch the more fatigue your brain. Learning actually causing stress in the brain. Top dop suppression is required to regulate the stress. Having good sleep, sunlight, exercise, and diet can play a role. And be prepared to fail and accept the feeling of failing. Accepting that feeling and be okay to not get it right. Motivation comes after action. Start small to remove the friction. Lose the expectation of the goal and only focus on what you can do now. Start with 10 minutes or reading a paragraph and summarizing and be content with that.

7

u/Victor_Quebec Apr 11 '21

So true! Distractions everywhere... Thanks for sharing!

After two unsuccessful attempts to learn C from tons of video tutorials out there to give something back to the FOSS and Linux community, I've finally got my hands on Deitel's "C: How to Program" in parallel with taking a CS50 course on the language. What a wonderful experience is trying to grasp the ideas gradually from a well-taught book and practicing each step along the way!

3

u/ValentineBlacker Apr 12 '21

Oh, I just program and watch videos at the same time. Efficient, fun, brain vibrating very fast, dopamine pooling at the bottom of my skull.

3

u/schnozzberriestaste Apr 12 '21

I recommend checking out Deep Work by Newport. Also Digital Minimalism.

2

u/Vanilla_mice Apr 11 '21

that's very true, that's pretty much my main goal right now, to learn how to time manage and actually focus. it's very easy to lose yourself with all of this.

2

u/Sad_Wendigo Apr 11 '21

More likely leads to a decreased overall level of seretonin than dopamine. Could be part of the reason everyone and their mother has to take Zoloft these days.

2

u/Allgaming20 Apr 12 '21

If they u are anything like me and ur brain just doesn't like silence due to your past, i recommend lo-fi music for programming so ur not sat in silence, don't use lyrical music while programming cuz it will become distracting

2

u/[deleted] Apr 12 '21

Yes. This helps tremendously.

3

u/sachiewang Apr 11 '21

I quit social media (reddit is an exception) over 2 years ago for the same reason! It’s so much better too, less things to worry about. I’m glad you were able to pick that back up again! I get dopamine from learning to program too, but it’s a bit different in a sense that I feel it when I solve a problem I’ve been stuck on. We’re a bit similar! Good luck on your journey!

3

u/[deleted] Apr 12 '21

I learned all the syntax in one week when i was doing dopamine fasting, it wasn’t fasting per say rather more like waking up at 5 am, eating breakfast, doing meditation for half and hour and then getting done with learning by 10 am. After that I used to reward my brain all day with dopamine. Only 4 hours of laser sharp focus for one week got me finish with syntax. One of the best week of my life.

2

u/[deleted] Apr 12 '21

Yep. Dopamine Fasting is a thing. Mainstream websites will say its bullshit/pseudoscience but anyone who’s tried it knows the truth.

2

u/mplaczek99 Apr 12 '21

When the code finally works is the ultimate Dopamine rush

2

u/Smyles9 Apr 12 '21

Especially if it’s something other than styling an object, like a function for example thats interactive and you can finally interact with it.

1

u/ObjectiveEmotional Apr 12 '21

I am in same situation right now but im learning C#.

1

u/macsimilian Apr 12 '21

I had the same experience with a C++ book. I didn't program in C++, still haven't really. But just working through that book slowly and absorbing every sentence, not moving on to the next until I completely understood the previous, was very satisfying. That's where I first figured out Generics, and probably other concepts. I carried that book around for a while. Definitely recommend Accelerated C++.

1

u/nellyson29 Apr 12 '21

I know right.. its so easy to get distracted these days. So much going on.

1

u/Smiling_Buddha1 Apr 12 '21

Me too, pretty much in two years of high school didn't have any form of entertainment( was in a hostel). I was good at Maths but terrible at science. 2 whole years did only science and maths, got really good scores after, since I had no source of entertainment, really understanding science was only source of mystery to me, it became fun then

1

u/Rocky87109 Apr 12 '21

There is a word for it already:

"distracted"

That's why when I was in college, even though I had my own computer and desk in my apartment, I would go to one of the libraries and learn shit. I don't really use phones as entertainment devices so that doesn't really distract me as much.

This is also an issue for me working at home.

1

u/Bot-Fyra Apr 12 '21

I had to stop playing pc games to focus on studying. Can only study at evenings before bedtime. If i could i would study whole day because i have found that i can get more focus at mornings and daytime.

1

u/Smyles9 Apr 12 '21

I read the documentation and mess around with the code in my project seeing what I can do. Getting to tinker with things and then see something work is awesome. If I get bored and I know what I’m doing I’ll put on a movie while I do it.

1

u/ToolpaKaizen Apr 12 '21

Try dopamine reset.

1

u/deadant88 Apr 12 '21

I get a massive hit of dopamine or whatever you want to call it every time I overcome a problem in coding. There is no sweeter feeling than closing all those browser tabs! Then you hit the next problem.

1

u/N4th4nN3v3r Apr 12 '21

Isn't it a waste spending all that time finding answers and then discarding them? Why not save them? If nothing else, to share with others, if/when they run into the same problem. I highly recommend using Tablerone for this kind of "I might need this some day again, but not sure" bookmarking: https://tabler.one/

1

u/[deleted] Apr 12 '21

Thank u

1

u/[deleted] Apr 12 '21

My brain has changed too i am sure as i don’t want to game almost ever now

1

u/jimmy999S Apr 12 '21

Yeah right, lemme go bust a nut real quick. /s

1

u/[deleted] Apr 12 '21

What is the c++ book?

1

u/WartedKiller Apr 12 '21

When I was in Uni, I was listening to the 5 same song while studying a subject. In the exam, when I wasn’t remembering something, I was “playing” those song in my head. It saved me a couple of time.

1

u/ChampionGames Apr 12 '21

Am I the only person that likes programming because it’s fun?

1

u/RoguePlanet1 Apr 12 '21

Reddit is addictive, but I'm glad to have subscribed to the subs like this. When I'm mindlessly scrolling, I'll find a video or recommendation that'll make me want to get into the learning mindset.

In fact, you just reminded me that I need to keep reading Eloquent Javascript......

1

u/Good-Vibes-Only Apr 12 '21

This reminds me of the time my mp3 player died while in the first 1/4 of a long run.. considered calling it quits right there and going home, but instead had the run of my life and haven't used headphones since

1

u/Riresurmort Apr 12 '21

When you spend a week trying to solve a coding problem, then you succeed, the feeling is better than sex!

1

u/KwyjiboTheGringo Apr 12 '21

If you do it right, music can help you get into a flow state while coding. I do have to mute sometimes for problems that are really tough, but usually I can listen to my playlist for hours and it helps to keep me hyper-focused.

learning c++ was just as enjoyable as watching a great movie or listening to music.

Took me a long time to realize that learning and using new skills can be fun. We get so used to instant gratification and low engagement with passive media that taking the path of least resistance becomes automatic. But after you spend enough time learning, you can rewire your brain to recognize when you're wasting time. It's okay to turn your brain off sometimes and binge-watch Netflix, but that should be a decision you consciously make, not a habit that you default to.

1

u/ArthurDeemx Apr 12 '21

I love programming, but I find it hard to relate to you, making software is stressing as hell, debugging, random issues, and when you simply can't make something work and you can't find an answer for it, I have one project that I stopped working on because I couldn't fix one of the issues after months of trying I gave up and started another project, not saying that you are lying but I doubt you ever coded an entire project if you see programming as something so entertaining.

1

u/[deleted] Apr 12 '21

If you do activities that release high dopamine You will be accustomed to it.. You can't do activities which release low dopamine. So try dopamine detox (search about it, I watched video in YouTube)..

1

u/[deleted] Apr 13 '21

yep and use emacs

1

u/irukandji69 Apr 12 '21

Great point! It's like spending time in the joint and all you got is your books and jacking off.

I may have to partake in some "Dopamine Fasting" myself (As DopeAppleBroheim put it).

0

u/CyraxSputnik Apr 11 '21

You know too much

0

u/jluizsouzadev Apr 11 '21

Did you build some side project with C++?

0

u/[deleted] Apr 12 '21

"The Deep Work Hypothesis:

The ability to preform deep work is becoming increasingly rare at exactly the same time it is becoming increasingly valuable in our economy. As a consequence, the few who cultivate this skill, and then make it the core of their working life will thrive. "

The book Deep Work by Cal Newport is something I reflect on every month, and has unquestionably aided me by bringing quality focus to the deliberate tasks I choose to pursue in the short amount of time I have to pursue them. For sure worth a look at the book for those who are looking to master a skill faster and with greater depth than most people are willing or capable to commit to. Sit down, work. No media or even a hint of possible entertainment for long periods at a time. Deliberate and uninterrupted.

It's an old-school skill that seems mostly common sense, though not commonly possessed, especially in these days when attention merchants are fighting at every moment for your hard-earned free time. Worth a read.

0

u/JCBh9 Apr 12 '21 edited Apr 24 '21

Everyone learns this again when the power goes out

"OMG WHAT AM I GOING TO DO MY LIFE IS OVER"

next day: "Man... i'm kinda looking forward to reading a book on the porch until it gets dark then i'm gonna sleep goooood

AKA ... This too shall pass and human adaptability is very very high

0

u/UnidentifiedTomato Apr 12 '21

It helped me :)

-39

u/antiproton Apr 11 '21

So, you were so undisciplined that you couldn't force yourself to study unless you had literally every possible distraction involuntarily removed from your presence?

And you interpret this as some kind of great wisdom?

Proficiency requires work. In all things. If you cannot dedicate yourself to the work because you'd rather watch people on Youtube say soul crushingly stupid things or because you'd rather play another 8 hours of Overwatch, there's nothing we can do for you.

Life requires self control.

28

u/[deleted] Apr 11 '21

You sound like a dick

20

u/TwinFoxs Apr 11 '21

Nah doesn't sound like one. Is one.

Gotta love the asshole i.t/c.s guy that loves to talk to down

11

u/Hapablapablap Apr 11 '21

Yeah, this is textbook overcompensating for feelings of inadequacy. How embarrassing.

6

u/TwinFoxs Apr 11 '21

I love love computers, love coding etc. I tried to read a 2k page book for a+ certification and cannot do it.

Learning coding and other stuff can be very very dry and boring. It's super hard to force yourself on something that's not 100% fun to learn. You can push yourself and be like much discipline but you'll burn yourself out if you don't have fun or take breaks.

11

u/youngrd Apr 11 '21

Wow what a self-righteous fuck face.

4

u/s-ded-in Apr 11 '21

I have never seen a developer with thoughts like yours created something valuable. Maybe proficiency requires work but great results require right attitude and a lot of passion.

-17

u/[deleted] Apr 11 '21

Stop trying to find excuses/reasons to do/not do productive things. Just fucking do it. And if that is somehow to hard for you, good luck making it through life

5

u/Sad_Wendigo Apr 11 '21

Not that easy for everyone. You have to get your head right first. That usually involves some treatment of medicine or therapy. Most people these days aren't lucky enough to be able to have both the clarity of focus and the resources to do what they love.

-4

u/[deleted] Apr 12 '21

I disagree. I barely graduated high school. After one summer I had my priorities straight and I am now a straight A student pursuing a degree in mathematics. I’m talking about normal people without drug addictions. If I can do it, anyone can

4

u/Sad_Wendigo Apr 12 '21

First of all, I'm sorry, but it just doesn't work that way. Everyone is different.

Second, I didn't say a thing about drug addiction.

You are clearly extremely full of yourself, which is why you get downvoted so much. Watch the ego if you want to come across as a decent person.

-2

u/[deleted] Apr 12 '21

you don't need to say sorry for stating your opinion. I know you didnt say anything about drug addiction, but I am bringing it into the equation because I believe unless you have an addiction to drugs or a serious mental health issue, you should have no problems getting off your ass and getting to work. I used my personal experience to back my point, if that comes off as me expressing my ego is there another example you would like? I could use examples from my peers in high school, is that ok with you? Because I certainly wouldn't want my "ego" to distract someone from the main argument. Yes, some people have issues that cannot be solved by "just doing it" but I would definitely argue that most people are lazy and like to blame their laziness on something out of their control. I don't like those types of people.

3

u/Sad_Wendigo Apr 12 '21

No, you used your personal experience to say, "If I can do it, anyone can."

I don't think most people are just lazy. I believe most people do their best with what they're given.

We will have to just accept that our opinions differ there.

2

u/Smyles9 Apr 12 '21

I would say I don’t put in 100% effort all the time, at least when there are undesirable conditions that make it hard to work, it removes some of the motivation I had to do work which gets restored upon conditions becoming desirable again. I’d rather take a mental and physical break when it’s undesirable to do work than to have to spend time during desirable conditions taking a break.

2

u/[deleted] Apr 12 '21

I thought the statement "If I can do it, anyone can" was accurate because I see myself as a brain-dead baboon with very little resources and managed to turn my life around in one of the worst years humanity has experienced in the last 50 years. I am not good with words, sorry if I came off as an asshole. I actually tried to be more inspirational but I guess that was a flop. Let's agree to disagree.

→ More replies (1)

1

u/Smyles9 Apr 12 '21 edited Apr 12 '21

I feel like it’s entirely normal to struggle with distractions, that’s part of what it is to be human, however it’s still possible to get to work. However, when you factor in things such as noise, regardless of what’s producing it, it can be very distracting for some individuals in that it makes it very hard for them to focus on their work. I’m in a noisy environment for a lot of my homework yet I have little control over the noise. I do what I can to mute the noise(noise cancelling headphones), but I still struggle with it, and sometimes due to the nature of the work I can’t always listen to music while I’m doing homework either, meaning I have to wait for the right conditions in my environment before I can properly focus on that specific homework assignment. This is the case for a lot of people once covid hit and were restricted to working at home where family members or room mates can easily distract them, especially if the living space is small and they don’t have enough room for dedicated offices for at least one or two people. Good for you for being able to drown out all noise and distractions in Any environment so you can do your work, say right beside the highway with several other people in your living space having a party with the tv on /s, but many people including myself can’t do that. It’s not simply, if you’re healthy you can drown out all noise and leave your phone and computer off while you do your work. That’s unreasonable to expect anyone to drown out all distractions. If you’re at a job though your phone is typically required to be in your locker or turned off and you’re busy anyways meaning you can focus on your work, but anyone doing a mentally intensive task for work or anyone who is a student cant always get into the environment they need in order to focus even if they wanted to. I for one am pushing through and trying to take advantage of the times when I’m able to concentrate on that work, even if I really don’t want to do that work anyways. I’ve put myself through a ton of undesirable situations and even if I struggle with doing work it doesn’t mean I’m lazy. Also, some people just have less energy than the average person and can’t tolerate as much, or can’t do as much work at any given time compared to others, but that doesn’t mean that because they aren’t just doing it that they are lazy, it’s their body that’s tired and they need to rest.

1

u/poerisija Apr 12 '21

Your anecdote isn't data. Sample size of one can be dismissed outright.

0

u/[deleted] Apr 11 '21

[deleted]

55

u/[deleted] Apr 11 '21

Adderall is prevalent everywhere cuz it works

0

u/[deleted] Apr 11 '21

[deleted]

18

u/[deleted] Apr 11 '21 edited Apr 12 '21

Absolutely. This shit can fuck you up and you should only take it if you really need it. Source: have been a psych patient for more than 20 years, taking similar medication among others.

4

u/[deleted] Apr 12 '21

I'm curious about your experience with long-term effects. I'm struggling without it but also skeptical of taking it.

2

u/[deleted] Apr 14 '21 edited Apr 14 '21

Sure, hope I can help.

Everyone's brain is different so you shouldn't take my words too seriously.

This happened in the course of 20 years so I cannot give a proper summary, but in my experience many if not most psychiatric medication will come with some kind of impairment or side effect. You should take these medications despite that, and only when you and your doctor decide that the benefits, in that particular case, greatly outweigh the negatives.

Amphetamines such as Adderall can increase anxiety, nervous tics, and also create dependence. One doctor told me she believes using amphetamines can make the person hyper anxious for live, even after they stop taking it. They can also help you work, study, and function in society.

Some antidepressants can make your dick go a little numb (nothing a helpful girlfriend cannot help with...). They can also prevent you from killing yourself and give a new meaning to life.

Antipsychotics can make you gain weight. They can also prevent delusion and instability.

Mood stabilizers such as lithium may also make you gain weight. They can also help you regain control of your personality.

Every psychiatric medication comes with its warnings. Like any medication, do not take them lightly. But, in the case that they are really needed, failing to do so may cost your life.

Just stay away from bupropion... that shit caused tinnitus for life on some people.

2

u/[deleted] Apr 14 '21

Thanks!

3

u/[deleted] Apr 12 '21

I'm curious about the health effects of long-term stimulant use. I thought they were considered safe at therapeutic dosage.

4

u/iota1 Apr 12 '21

Why? I don’t get it.

2

u/mrd2689aaa Apr 11 '21

In your opinion how prevalent is it?

12

u/trizzle21 Apr 11 '21

Far more common in my experience in university/college than in the workplace.

I know a lot of people who did it in college for studying and exams and weren't prescribed for it. I don't really know anyone who does it for their 9-5 and isn't prescribed for it.

I'm sure there's cases where people are addicted or like the feeling, but for a salaried position it just doesn't really make as much sense.

2

u/dietderpsy Apr 12 '21

That's just correlation, a lot of IT and programmers are simply messed up!

2

u/[deleted] Apr 12 '21

Adderall is a different version of meth so that is kinda disheartening

1

u/CoarseCriminal Apr 13 '21

This is really misguided, prescription adderall (amphetamine) may be chemically similar to methamphetamine but so are carbon monoxide and carbon dioxide. Prescription stimulant abuse is a very real thing but taking it at medically recommended amounts is not harmful (when you have a psychiatric need for it of course)