Lets see…in order you asked:
- Does the way you feel affect the way you work?
- If yes, what helps you and what doesn't?
- Do you guys do things that make you write better code?
- Day, night, or nonstop?
Q1
The first one is easy. Think of all of the words for 'Yes' you can, add them up and there you
have it. As an aside, the shape (
physical, mental) you are in effects the way you work as well. Both of these shape the quality of your work—the better your shape, the better you feel, the better the result.
Q2
Well, lets just say that endorphins are your friend! In my case, I usually spend about two hours working out at Gold's Gym before I start work for my client. Actually, that is not quite true since I often use the time between sets to solve problems and sort out solutions.
Q3
Oddly enough, one of the best ways to write better code is to write code—lots of it!. The classic answer to the question of 'How do you get to Carnegie Hall?' is 'Practice, practice, practice.' Find something you either want to do or have to do in terms of programming and write a solution. Repeat, read PerlMonks in the morning.
Q4
Yup.
hsm