DEV Community

Cover image for Top 5 tips to be a better programmer without programming!

Top 5 tips to be a better programmer without programming!

Luke Garrigan on August 03, 2019

Introduction As an industry, I'd say we're all pretty clued up on how to be a better programmer: Write code and write some more code R...
Collapse
 
osdave profile image
david parloir

This all so true! My advice is: adopt a dog. He'll force you to go outside, I can't count all the bugs I solved during the daily walk.
He stays under my desk during the day, warming up my feet and acting as a rubber duck when I'm stuck. At this point he recognizes the sound of the computer shutting down.
He'll be your best friend for all his life and asking nothing in return for his unconditional love.

Collapse
 
lukegarrigan profile image
Luke Garrigan • Edited

I couldn't agree with this anymore If I tried, dogs are just the best things on the planet. I work from home once a week and have my dog snoring next to me, I love it, also I take him to work every now and then which just makes everyone happy!

I love that he's also your rubber duck, I'm gonna have to try that, he'll probably just go back to sleep though šŸ˜„

Collapse
 
genta profile image
Fabio Russo

Agree! I've a dog too, and It's helping me in every aspect of my life, coding too.

Collapse
 
mt3o profile image
mt3o

Regarding 6h of sleep, does that research involved use of coffee? Because coffee (and nootropics) can reverse the effects of lack of sleep, and bring other costs, like anxiety and overall nervousness.

On my end I would like to add a tip to maintain mental health. If you think you are depressed, visit the doctor and have good meds and therapy. If you are ADD/ADHD, learn how to live with it and keep minimal dose of ritalin, works like a charm, don't overdo it.

Collapse
 
lukegarrigan profile image
Luke Garrigan

Yes thereā€™s plenty about coffee and nootropics in why we sleep, it certainly doesnā€™t reverse the effects of lack of sleep, it may make you feel temporarily a little better but really youā€™re just trying to trick your brain, which isnā€™t good. Thatā€™s the attitude I had when I was at university, just dose myself with a tonne of caffeine to counteract it, but thatā€™s a short term fix for a long term problem.

And yeah I completely agree with maintaining mental health, and the above tips if followed should help you towards that!

Collapse
 
mt3o profile image
mt3o

Yeah, caffeine is exactly tricking the nervous system by binding to the receptors instead of adenosine, and adenosine accumulates. Don't go there, you'll pay double. There is a substance which can reverse the need for sleep, but unless you are a military or narcoleptic, forget about it ;)
8h sleep and no more than 3 cups of coffee, no redbull, no mountain dew.
In my case, 3x coffee is a healthy maximum, 5 is exploiting me.

Collapse
 
paulasantamaria profile image
Paula SantamarĆ­a

So true! Finding that work/life balance is as important as any other skill. I can't count the number of bugs I've figured out while walking my dog, in the shower or simply after a good night's sleep.
Had the same experience with sleep too. I got a Fitbit a few months ago and was surprised to see that I usually spend at least 1 hour awake.
I'd also recommend trying to eat healthier. I found it easier to exercise and sleep better when I eat healthy. It all works together.
Do you recommend any resources about meditation for beginners? I'm trying to get into it, but don't know nothing about it tbh.

Collapse
 
lukegarrigan profile image
Luke Garrigan

Yeah completely agree about eating healthy, thatā€™s definitely tip 6!

I started by using YouTube to try to understand what meditating actually was and followed along with some beginner guided meditations. Then I downloaded headspace, went through their free introduction and am trying to make it a habit!

Collapse
 
lukegarrigan profile image
Luke Garrigan

Haha thank you!

Collapse
 
rtosman profile image
rtosman

Great article, truthiness level is high.

Collapse
 
lukegarrigan profile image
Luke Garrigan

Thank you!

Collapse
 
mdhesari profile image
Mohammad Fazel

thank you!

Collapse
 
0xkoji profile image
0xkoji

so true and can not agreee more. but when i think of my life, i do completely opposite lol

Collapse
 
lukegarrigan profile image
Luke Garrigan

And so many of us do! šŸ˜„ try change one thing at a time and make it a habit.

Collapse
 
voidjuneau profile image
Juneau Lim

Iā€™m disappointed. (1/2 kidding)
these looks even harder than coding. šŸ˜°