不论你在思考什么,你最终都是在计划一个未来事件。
Whatever you're thinking about is literally like planning a future event.
如果别人知道你在思考什么,就可以了解你的为人。个人的特性从某种意义上说都是由思想决定的。人的命运也取决于他自身的思想状态。
If others know what you thought, you can understand the people. In a certain sense of personal characteristics that are determined by ideology. 's Fate also depends on his own state of mind.
当别人故意伤害你时,你的正常反应是什么?报复!报仇!当我们在思考报复的方法时,我们的创造性最强。
What is your normal reaction when people hurt you intentionally? Retaliate! Get even! We're often at our creative best when we're thinking up methods to get even.
Now,if you've got that same intuition, think about the implications of that intuition.
如果你得到同样的直觉,那思考一下这个直觉在暗示什么。
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
应用推荐