This can be good, because DI makes your code better.
不过这很好,因为di使代码更好。
If you know that you need to change something in three different places, you avoid doing it even if it would make the code better in the long run.
如果您知道需要在三处不同的位置更改某个内容,那么即使有利于代码的长期运行,也应该避免这样做。
While it may seem strange to do this, starting at the beginning of the modeling process will help you not only understand your code better, but assist you in the future when modeling other systems.
尽管这看起来很奇怪,但是从建模步骤之初开始不但可以帮你更好地理解代码并且将来可以帮助你给其他系统建模。
Yeah, if my machine will come back up, there we go. So, I'm going to now go ahead and write a little piece of code, and I put it here and I hope you can actually see these better this time, let me uncomment that region.
让我们写出代码来吧,好,如果我的电脑能回来的话,好了,那么,我要去写一小块代码,我把它放在这里以期望大家这次,能看的更清楚点。
应用推荐