语言软接口与鸭子类型。
它甚至还使用了鸭子类型,保证了静态安全。
鸭子类定义意为对象的类型由其运行时支持的属性和方法决定,也就是说,一个对象做的是什么便是什么这件事的意义在于,我的工作并不要求我解决问题,而是要求我搞清楚客户的需求并且保证程序员能够设法实现解决方案。
The point being, my job wasn't necessarily to solve problems, it was to figure out what customers needed and make sure that programmers figured out how to solve them.
鸭子类定义意为对象的类型由其运行时支持的属性和方法决定,也就是说,一个对象做的是什么便是什么这件事的意义在于,我的工作并不要求我解决问题,而是要求我搞清楚客户的需求并且保证程序员能够设法实现解决方案。
The point being, my job wasn't necessarily to solve problems, it was to figure out what customers needed and make sure that programmers figured out how to solve them.
应用推荐