程序员是一个辛苦的行业,长时间面对的只是需要解决的问题,更不要提开发期限和无理取闹的客户了,这样的工作简直无以承受。怎么办呢我们?我们热爱编程,乐于创建功能……我们喜欢那种将一堆代码弄成像Facebook或者Digg那样的赚钱工具的感觉。
也正由于程序员所带给我们的一切,这工作仍让我们欲罢不能。这种情况下,如何处理工作带来的压力便成了一项技巧。以下分享我的一些方式,以保持你的身心健康。
懂得何时走开
一般来说程序员大多有定力、做事有条理。我们不愿意承认失败,当不顺时我们也不愿走开。但当你已在一个问题上花费了太长时间的时候,最好的选择是走开,清醒头脑。出去走两步,等你平静下来(不再急躁)再回到办公桌上。
出去吃午餐……
以前我习惯每天在电脑前吃饭——我会浏览我常去的网页、发几封个人电邮。当越来越多的客户认识我之后,我的午餐时间被一个接一个的电话打断,我也不再有我自己的时间。不要让你的午餐时间成为另一种形式的工作时间!离开办公桌出去吃饭。
……但要吃的健康
健康的身体健康的头脑。在桌上吃点甜甜圈什么的(指快餐)确实很方便,但休息一下吃得健康点。吃得很单调不营养会让人觉得忧虑甚至沮丧(我觉得在麦当劳吃快餐自尊心会很低)。我建议吃得营养丰富——这会让你充实,而且给你足够的营养,从而不会觉得累或虚弱。
忘掉家庭电脑
度过焦头烂额的一天,远离你的家庭电脑——你的个人编程可以等到第二天。而且你个人的编程会比工作问题更让你抓狂,那显然不是你应当要的。就好好度过晚上吧。
一个非技术的兴趣/锻炼
最好是对非电脑相关的爱好有激情。身体锻炼更好,能让你保持体形。我经常听到许多程序员句句不离电脑有关的话题——暂时离开编程的圈子吧!找个其他兴趣!学做饭、玩棋牌、足球……
抽点时间跟朋友一起
朋友通常是兴趣广泛远不仅限于电脑的。安排个周末跟朋友一起,一起去野外烧烤、看电影、玩电子游戏、踢足球、或者只是一起走走。光发条信息可不算!
休假
当工作上的一切都变得很不顺的时候,不要担心使用你的假期——它将使你彻底远离无法承受的工作。你不必去国外度假也不必旅行,如果你愿意待在家里也没关系。休假的关键是不工作。
考虑编程是否适合你
如果你在原则上没有了主意,而且编程工作影响了你的家庭、健康、心智,那就放弃吧。外边工作有的是,其他职业对你而言可能更好。要知道编程并不是一切,你不必因为工作而一忍再忍。
译文:
Eight methods for programmers to keep body and mind healthy
As a programmer is a hard job that what the issue longly to face is merely the business to be solved needless to talk about the span of exploitation and irrational customers as well,thus work is quite intolerable.But what should we do?We keen on programming and be ready to create functions......we'd like to grasp the affection as arrange a large amount of code as the money-making tools as Face book or Digg.
It's also just because of what all everything the programmers bring for us so that we still can't help abandoning the job.In that occasion,it's a skill for how to manage the pressure genereted by the work.Below i share a few of my ways to keep your body and mind healthy.
Be aware of when to leave away
Generally speaking most of the programmers have the capability of strong will and doing things systematically.We wouldn't be able to admit failure,thus we are unwilling to leave when we are in trouble.It's best to take a leave and wash off your mind when you have already wasted too long time on a problem.Don't be back to your official table until you have calmed down(not being irritable any more).
Out for lunch
I used to eat meals in front of my computer-i will browse the web i often visit and send some letters of personal e-mails.When i'm acknowledged by more and more customers,i never dominate my time that my time for lunch is interrupted by the telephone one by one.Don't turn your time for lunch to be another style of working time.
......But to be wholesome feeded
Healthy limb create healthy brain.It's really convenient to eat the foods as doughnut(like snacks ) whereas it's better to rest for eating more healthy substance.It will induce worried even if sad having meals dull and malnourished(I think the self-esteem will be at the low level if consuming snacks in Mcdonald's).I suggest you intake food with rich nourishment-which will not only enrich yourself but also provide you sufficient nourishment and dispel the fatigue or faintness from you.
Put aside the domestic computer
Be far way from your domestic computer after a pretty busy day-You can delay your personal programming into tomorrow.And your personal programming is more bothering than your working affairs which obviously should not be your due.Well have a nice night.
An interest/exercise without technology required
It's best to have passion for the hobby unrelated with computer.Body exercise is better which can maintain your body shape.I usually hear about the programmers talk about everything about the programming-temporarily jump out from the cycle of programming and find out another savour such as cooking,playing chess,playing footaball and so on.
Take some time to be together with your friends
The budies usually shall be have a large range of interests except computer.Plan a weekend to go out with friends to barbecue countryside,see a film,play electronic games,play footaball or barly take a walk together.It's meaningless for merely sending a message.
Enjoy a holiday
When everything about work becomes exactly difficult,don't be worried about your vacation-which can absolutely isolate you from the intolerable job.You should neither go aboard for tourism or take a tour,it's ok if you're willing to stay at home.The essence of holiday is not for work.
Thinking over whether programming is fit for you
If you have no ideas in principle and the job of programming has influenced your family,health and mind so that just drop it.There are lots of jobs outside,maybe other professional is better for you.As you know that programming can't replace all as a conclusion you don't have to bear and forbear for the sake of work.