Question | SoloLearn: Learn to code for FREE!

+7

Question

Hi people, I'm wondering why most of the developers or programmers like to be indoor, in a special room, and mostly don't really sleep as recommended? I just realized that to really be good and discover a lot things, I had to get used to those habits... finally, is that bad thing or good thing?

1/29/2018 2:08:38 AM

Mondestin

18 Answers

New Answer

+13

When starting out, you have to set reasonable expectations for yourself. One of the things I did in my later years and all through grad school was documentation of logic: before writing a single line of code, I determine a flowchart for my logic of implementation. That way I always had a point of reference when going to ask for help. Something I learned as a TA is students often forget the basic step of documenting their logic, and just hand you a bunch of sloppy code expecting you to clean it up. I tended to be the opposite, so that if my line of thinking was wrong, I could fix that first and then fix other things.

+12

ya come and explore and try to work for developing its good thing

+11

I agree with the sleeping statement as it has been true for me. I've never had a special room. I love being outside with or without programming. I sit on my porch with the mountains in front of me coding as long as the weather agrees.

+10

I worked 36 hour days with 4 hours of sleep between to carry my project single handed to our deadline for 2 months. It earned me a huge bonus and a month comp-time. I've gotten customer support calls at midnight and spent the rest of the night fixing stuff. Depending on the job it goes with the territory. My health suffered for it. Lack of sleep is the cause of most of my health issues. But, at the time, I didn't have a problem doing it.

+10

Weather tends to affect if I want to be indoors or not. Most days, due to where I live, I like spending time outside (and I have to go out at least 2x a day for my dogs). Special room? I have worked in them and outside them. I can understand both sides. Some like minimal distraction when they work. Others don't like the feeling of being trapped. Me? No preference. Sleep was more of an issue in college than now. I used to not sleep until I had a working build. I quickly realized that wasn't healthy once I became a professional developer. Now I don't sleep only for compiler bugs. Runtime? I just document what's happening and what I want to occur and rest easy. Debugging always is better on a fresh mind. Can you develop bad habits as a programmer? Absolutely. The key though is to find your comfort zone because this work isn't supposed to make you miserable.

+9

I don't go to sleep with a compiler error. I fix them. Runtime errors. Different story. They can wait. I want my sleep. I'll attack those problems later.

+6

Well its all personal preference...I prefer having healthy sleep while studying as it helps with retaining what you learn. However I'm an indoor person. I'm guessing the general reason people think programmers are indoorsy types is because there are probably more introvert than extrovert programmers. The lack of sleep comes into play when you just have that one bug that's annoying you or a deadline to meet. Funny enough coding with a lack of sleep probably causes more bugs and headache. Lastly its not a bad thing as long as you get some daily movement and relax your eyes from time to time.

+5

You need your sleep. Your mind functions better with it.

+4

@John Wells Great 👍

+3

@Jay Matthews I agree with you, but did it never happen to you that you're working on a project and if you don't get what you want, you don't stop? if yes, how did you manage?

+3

@Jay Matthews Wow, Man you need to take care of yourself, money can't solve everything, by the way Thanks 👍

+2

Wow! Flowcharts! I've never done that. I'm in my 50s. I've done pseudo-code, but in this day and age, you might as well just start coding. Logically break the problem down into smaller, manageable pieces. Then code. Either top-down, or bottom-up. The reality is, it's going to be a combination of the two.

+1

@R.Chaotic Great answer man, you've covered everything that I asked! By the way, Thanks 👍

+1

@Jay Matthews I get you...👍

+1

@Ace Thanks Man, I'm at university at the moment, and trying to manage that sleep problem...reason of my question

+1

I will try it

+1

Usually physicians recommend 8 hours of sleep for adults. Not that with 5 hours you wouldn't be able to get up every morning, but it may cause you some problems in the long run. If you're in university 10hrs a day, you're already studying 10hrs a day. Maybe 3 hrs of coding and 3 hrs of studying, idk.

0

Answering to my own question, I came out with this: 1day=24hours, so I divided it as follows; University= 10hours Studying=4hours Coding=4hours Sleeping=5hours Relaxing=1hours So, is he good the way I divided it, or not good, generally, I'm not a outgoing person, it happens that I spend my weekend indoors without even putting my foot outside my place. what do you guys think about this ☝?