昨晚的火柴人最后踩到了LOL的图标,LOL是国外的游戏,腾讯代理,这类注重鼠标的游戏我是玩不来了,亏我前些天还发现的冰封王座,游戏什么的还是在xp下玩好了,linux有方块,扫雷,坦克
PHP Objects, Patterns and Practice, Third Edition.pdf
That’s what this book is really about. It’s about taking an idea and shaping it, and the pleasure to be found in the process. It’s about the shapes of a system in your imagination, and the satisfaction when these shapes are expressed in code. And then again when the system actually works. It’s about the freedom that tests give you to take risks, and the risks that your imagination inspires you to take. It’s the moment that something you wrote becomes real in the eyes of another
Exception 为什么要内置一个Exception:
php late binding(static)
类的静态方法返回此类的实例(比如单例模式),return self();如果类是继承的,那这个父类的self在子类继承后,self是指向父类还是子类,答:父类, 这样不是我们通常希望的,不然子类继承没有扩展的空间啊,所以要用到后期绑定(late binding),return static();这样就绑定到子类了
这句话从此贯穿了Ross的剩下部分。“Why don’t you put it on your answering machine?”哈哈哈