r/AskProgramming • • Apr 21 '21

Do you code everyday?

Hey guys! Do you code everyday? I'm a bootcamp graduate and I'm trying to get a job and also to improve my skills. But I feel like I'm not doing enough sometimes. I take breaks sometimes and I feel so guilty like I'm not learning enough and I'm not pushing myself as much as i should. I was just wondering if I'm the only one or it's a common thing 😅

53 Upvotes

58 comments sorted by

62

u/YMK1234 Apr 21 '21

Nah, definitely not. Even if I wouldn't have other shit to do (the joys of a tiny company) some days just don't feel like coding days and I can't focus at all. Other days it's like "hell yeah, code at work, eat a quick dinner, code some more"

13

u/CalligrapherStreet46 Apr 21 '21

Well that's good to know!

2

u/Mitazake Apr 21 '21

Code is life.

24

u/Vakz Apr 21 '21

At work, yes. In my spare time it's been weeks since I wrote a single line of code. Mostly I write code in my spare time when I have something actually useful I want, and those are usually <50 lines of code, and months apart.

When I was still at uni I didn't really do any hobby projects. I did invest a lot of time to ensure my assignment projects were excellent, but in my spare time the only programming-related thing I did was reading articles from /r/programming and similar, but rarely anything writing.

There is absolutely no way I would spend all day writing code at work, and then go home and write more code every day. I'd get burnt out in a month and want to make a career change. Occasionally there's even the intense weeks when even just coding all day at work feels like too much.

8

u/CalligrapherStreet46 Apr 21 '21

That's fair enough! But in my case I have finish the bootcamp so the only way for me to code would be doing some hobby projects, following tutorials etc

10

u/Vakz Apr 21 '21

I would still not suggest coding every day unless you actually feel like you're enjoying it. In your spare time, coding is more about learning. You need time to process what you've learned. Coding at work feels like 80% using what you already know, and 20% learning new things to fill in the gaps. At least to me, it's a lot less mentally draining, simply because using the knowledge you have is a lot easier than cramming new things in there.

3

u/CalligrapherStreet46 Apr 21 '21

Yes I can imagine!

3

u/entimaniac91 Apr 21 '21

This is me too, pretty much. I basically have enough work every day to code. Some days I have too many code reviews or meetings or deployments that I won't get any coding in, but that's seldom. Personal projects on the side are infrequent and are generally small utility webapps I host on github pages to convert this or that or do some some sort of calculator for retirement or some other small POC that I'll never do anything with.

4

u/[deleted] Apr 21 '21

I don't, at least not in terms of sitting and writing (not including checking the databases with sql) . I just code when it is needed and when I am getting paid for it. Or when I want to do something stupid.

There are a lot of tasks other than coding, from understanding the requiremets and analysis, to figuring out which pieces of code are related and how they work, to checking for hours if it is your code thats a sucks or something is off with some server system or laptop config of something.

Outside of work I find myself too tired to do great stuff, and that there are plenty of tasks as is, like food, shopping, gaming

2

u/CalligrapherStreet46 Apr 21 '21

Yes! Fair enough! But what about when you still didn't have a job? How many hours were you spending to code on your spare time?

2

u/[deleted] Apr 21 '21

I was working longer hours than I do now, but I wasn't counting it as work. Yet I should have. I was on and off though. Couldn't find balance, was working whether all the time or chilling all the time for a couple of days, and repeat

Not only sitting and writing counts, but reading, applying CVs, analysing market, planning career path and goals, trying to understand stuff and "how tos", experimenting, talking with other people, networking, analysing various technical infrastructures and softwares, configurations. All part of work related to coding

1

u/CalligrapherStreet46 Apr 21 '21

Cool that sound more or less like what I'm doing atm. I just sometimes see post were people say that if you are an entry level if your github is not updates everyday etc it doesn't look nice to the recruiters etc... Is that true?

1

u/[deleted] Apr 21 '21

I am not a recruiter and I am quite fresh in dev industry, but what helped me to get in was personal projects after Uni. Of course idk where you are. Here in London competition is huge. Takes maybe 80 applications to find a job for first timer

1

u/CalligrapherStreet46 Apr 21 '21

I'm in London! And i agree the competion is insane! I've got a couple of interviews but so fair i have never passed the coding challenge 😅

1

u/[deleted] Apr 21 '21

I would say read something on clean code, like "Clean Code" book (this one is for Java lang.) do some personal projects, just don't aim too high, but do it well. Do interview preparations (youtube).

1

u/CalligrapherStreet46 Apr 21 '21

I'll do that! Thanks for the advice mate!

2

u/fullstack_guy Apr 21 '21

Not every day, but many days. You need projects you are interested in, then you will code for fun and not worry about doing too little.

1

u/CalligrapherStreet46 Apr 21 '21

Yes I remember when I created my first little game I was spending like 8 hours a day programming now I kind of finding harder to do that probably beacuse I don't have a project that I'm really into it

2

u/[deleted] Apr 21 '21

I mean, how many hours do you code a week? I think it's good to push yourself, but you also need to know when to take breaks and give yourself downtime. Programming can be really frustrating and rage-inducing at times and I think months on end of pushing myself too hard had a negative effect on my mental health, so yeah, just try to find that fine line of pushing yourself and not being lazy, and pushing yourself too hard and burning out. Proper sleep hygiene and stress management is absolutely crucial when working in the programming/development field. It'll sneak up on you before you know it, so be proactive with your health.

1

u/CalligrapherStreet46 Apr 21 '21

I don't think I code too much, it's like about 10 to 15 hours per week, I also have an hospitality job atm so I don't really have much time left. And I also spend time with my friends and my fiancee. I'm trying to have a balance, I just think maybe 10 to 15 hours isn't enough 🤔

2

u/[deleted] Apr 21 '21

I code mostly everyday, but I honestly think it's a pretty bad habit to get into. It's certainly toxic mindset if you think you have to. Like everything in life, balance is important. I wish I had spent more time exercising - I'm now in my thirties and am paying the price for a sedentary life style.

2

u/CalligrapherStreet46 Apr 21 '21

I feel that! I recently start going to the gym because my back was killing from sitting all the time

2

u/Gredelston Apr 21 '21

No. For context, I am a mid-level software engineer at a Big-N software company.

At work, I oscillate between "coding" and "figuring out what to code." When I'm in coding mode, I might code every day for two weeks, sometimes for the majority of the day. I like those days. When I'm in "figuring out what to code" mode, I might be researching our issues and ongoing projects, writing design proposals and getting them approved, or figuring out why the hell something is broken. Sometimes this lasts for several weeks and I really don't like it. But it's part of the job.

In my personal time, lololol no. I probably get inspired to code for fun once every three months. After sitting in front of a computer all day, I'd rather go do something else.

1

u/CalligrapherStreet46 Apr 21 '21

Fair enough 🤣

2

u/[deleted] Apr 21 '21

I have been trying to maintain a streak as well, It's been 18 days and I am enjoying it. Try to code everyday, I think it does help! Good Luck!

2

u/CalligrapherStreet46 Apr 21 '21

Thanks man! I'll try

38

u/OlFreckleFacedCunt Apr 21 '21

I go through periods of coding for 50+ hours a week to coding like 10 hours per week, some days no coding at all.

8

u/WitlessMean Apr 21 '21

please don't fall into the trap that 'cOdinG is fucking SiKK' and you should do it at all times. Nobody does that and the youtubers who say they do (you know, the WOW sicK coFFee and CodEE bros), are basically doing the same thing instagram influencers do. They post the best parts of the life they want you to see, while creating the illusion that this is just 'always' their life. Die for the code? I think not.

Ultimately, if you love coding more than anything, then I suppose, do you.

But if you are asking this question, then no. You shouldn't code every single day.

4

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

Yes. Every day. Without fail. I average 25-30 hours of actual code a week. Consistently. (CodeTime and WakaTime)

Every minute I possibly can. Because I have that much to write. I feel like I’m constantly chasing finishing things up, refactoring, making things better, documenting, etc. but I don’t mind it because I absolutely love actually writing code, especially in deep work mode.

There’s always more to learn. I’m learning to master my primary language while learning another and dabbling here and there, learning Neovim, and other enterprise tools as well.

You have to learn your limits and when it’s best to take a break. I’m part machine but I burn out and then just do hobby stuff or read occasionally too. It’s okay. Don’t fall into the “guilty when not being ‘productive’” trap. It takes the fun out of it.

4

u/wonkey_monkey Apr 21 '21

I look at code everyday, but often it stubbornly refuses to change.

1

u/[deleted] Apr 21 '21

Does a plumber plumb every day? Nope.

During the work week though, since its my job, yes. But on weekends i dont often program

1

u/wsppan Apr 21 '21 edited Apr 21 '21

Yes. Pretty much every day. When not actually writing code I am reading code, discussing code, stepping through code, documenting code, studying coding techniques, testing code, etc... I also hone my skills every day with other tools for the job, including Git, Linux, Bash, GDB, Emacs, Vim, Valgrind, Make, etc.. I also try and learn a new language and/or paradigm every few years. A few years ago I jumped into the Functional Programming waters with Clojure and Elm and currently teaching myself Rust. Play the long game when learning to code.

2

u/CalligrapherStreet46 Apr 21 '21

Amazing man! I wish I had your motivation!

2

u/wsppan Apr 21 '21

Its just in my blood. You always hear stories of guitarists who always have a guitar within reach and they are frequently playing, tuning, cleaning, and studying with it. That's me with my laptop. I also geek out over low level computer systems from first principles. I am currently (and slowly) working my way through building an 8-bit computer from scratch.

3

u/mgudesblat Apr 21 '21

If you've got a full time job and your coding in your spare time in preparation for a career change I'd suggest no more than maybe 5-10hrs a week. How you chunk it out is up to you. I'd also say that it's more important to be working on something than simply coding for coding sake. Build things that you're interested in and work on them as you feel is right. Try to make actual products/tools over exercises -- doing a whole product dev cycle will be far more valuable to your future employer than having written a simple script in functional or OO programming once in a couple of different languages.

If you're not working and have a ton of spare time, spend more time coding, but again people really only have about ~4 hours of good quality "flow" state in them a day, so I'd argue you shouldn't spend more time than that.

Outside of that get to reading. Learn about what is considered good code. Learn about programming patterns. Learn about how to actually deploy code and how to effectively debug and solve problems in existing code. There are a lot of great books and articles online. Just keep learning :)

3

u/LetterBoxSnatch Apr 21 '21

Your body/mind is perhaps trying to tell you something. It's generally better to listen then to try and push through. If you are getting enough sleep and you are eating well, and you still feel this way, then you perhaps need to take a break more often and/or go for a walk/run/whatever.

I find that after a walk, almost everything seems easier. Far from being a waste of time, it clears out the mind, allowing new thoughts and skills to form more rapidly. It's like the ol' brain pipes get clogged, and trying to push more through the pipes only gets them more clogged, and if they get too clogged then you have trouble even thinking well enough to realize how clogged they are.

Increased blood flow to the brain is the answer (while letting your mental-queue empty itself).

2

u/ghostwilliz Apr 21 '21

Currently I do as I'm tryin to get a new job, but other than that, unless I'm working on something personal that I find fun or I'm super behind because I was on reddit all day during the week, I take my weekends off.

2

u/isukali Apr 21 '21

I go through frequent "bursts" of coding. I'll be fired up for a few weeks churning out projects by the week and overall learning a lot and really enjoying myself. Then... I get burnt out. After that, it's a week or two of lazing around and not doing anything really productive by which point I get the horrible feeling of wasting my life, and then it's back to more super-charged coding.

2

u/Emotional-Top-8284 Apr 21 '21

When I was in a boot camp / a recent grad, yes. As much as I could. Solo work is okay, but working on an open source project / collaborating with others is really invaluable experience.

Now that I actually have a job, absolutely not.

2

u/hexagonal_tomato Apr 21 '21

No, days would go by too fast.

2

u/[deleted] Apr 21 '21

I code every day, maybe even just 25 minutes. Coding it's still a skill after all and the more your practice, the better you become. I also love to build stuff and it's like a hobby/ passion to discover new things and develop myself.

2

u/Stevecaboose Apr 21 '21

im a full time dev. Code for about 5 hours a day and the rest is for meetings and other misc tasks

2

u/HBK05 Apr 21 '21

I have hobby projects and gaming mods&stuff people use daily, so I typically end up coding at least every other day. However it's never anything academic, typically just typing out a bunch of jazz to make a new cool animation or ability, something I know how to do by heart, so it's not "pushing" myself at all, it's something I'm used to. I recommend pushing yourself regularly, it's the most fun you can have programming imo, I'm trying to get back to it.

2

u/CatolicQuotes Apr 21 '21

I code every day cause I am building an app for my subreddit

3

u/haikusbot Apr 21 '21

I code every day

Cause I am building an app

For my subreddit

- CatolicQuotes


I detect haikus. And sometimes, successfully. Learn more about me.

Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete"

2

u/[deleted] Apr 21 '21

Brainstorm a personal project, something you actually want to work on and use. Dont code to just code, unless ur leetcode grinding for big n

2

u/[deleted] Apr 21 '21

At work I code everyday, but I only code maybe once every two weeks or so during personal time

2

u/row_bert Apr 22 '21

Coding is a skill, asking if we code every day is like asking if a welder welds every day

2

u/programmerProbs Apr 21 '21

Make it a habit. Watch less TV/Social Media/video games.

Dont be weak

1

u/Feroc Apr 21 '21

At work yes, unless it’s an odd day filled with meetings and other tasks, but that doesn’t happen too often.

At home I rarely code anymore. Usually only some Python if I actually need to automate something.

1

u/Gixx Apr 22 '21

I do not. I graduated from uni in spring 2020. Kinda burnt out and sucking at coding. I've made 3 projects for SC2 game each about 4-500 lines long in java. I decided to learn Go on my own after school and was amazed out how fast I picked up Golang (1-2 weeks) in October replacing my java project.

So I quit coding completely since October until a few days ago and learned how to connect the Go project to an API to get more updated information (an improvement) and now it's the longest lines of code I've written (1000 lines).

I do feel guilty or lazy if I don't code for 3 months especially after graduating and not being able to pass a 5 minute soft-ball phone interview.

1

u/SpinelliOnReddit Apr 22 '21

I code the same thing everyday....

int main() {

printf("Hello World!");

return 0;

}

2

u/ali-amer Apr 22 '21

Doing my undergraduate in CS so yes i code pretty extensively everyday

0

u/[deleted] Apr 21 '21

[deleted]

1

u/CalligrapherStreet46 Apr 21 '21

Yeah you're probably right! I think it's just beacuse I'm worried that if I'm not good enough and I don't study enough I'll never find a job 😅 And I think I feel this way becuase I failed a couple of coding challenges ☹