也许大家都有过这样的经历,那就是当你在和别人讨论问题时,突然就有了答案和别的想法,这是因为当你和别人一起讨论时会让你的大脑重新组织问题,这 样的情况下,你的聊天对象就是"橡皮鸭"。所以我们每个人都应该积极主动的成为对方的"橡皮鸭",这样我们彼此才有可能得到好的建议。
如果写好了代码,就怎该马上到你的讨论区里去讨论下,和你的"橡皮鸭"们交流下,听下他们的建议,因为现在纠正可比你做成成品后改动要节约成本的多.
当你冥思苦想得不到你想要的答案时,你不妨先离开下你的工作岗位,换种方式和地点思考,这种方法有时真的很有效,身边有很多朋友在聊天时也会说起这种方式,有时在你上厕所或是打个盹时真得就能想到你想要的答案,有要不信。总之,换个环境真的对你有帮助。
很多程序员都认为自动化只是能做到节约时间,这完全是一个误解。他不只是如此,自动化最大的优点是他可以让你的思想没有阻碍,可以朝着目标勇往直 前。假设我们常要运行一些复杂的查询,而且每次都要重新输入一遍,当然,你应该不会真的傻乎乎的这么做,大家都会使用剪贴板或是其他的工具,我认为自动化 是更为有效的。
Read full article from 老程序员推荐10个编程策略
No comments:
Post a Comment