RiverRay 最近的时间轴更新
RiverRay

RiverRay

Rust~Golang~TypeScript~数量取胜的编程捣鼓法~
V2EX 第 468685 号会员,加入于 2020-02-10 22:37:21 +08:00
RiverRay 最近回复了
118 天前
回复了 chendvorak 创建的主题 Rust rust 为何舍弃了继承?
继承为实现代码复用的代价太大了,折中的方案就是组合啦
119 天前
回复了 liuser666 创建的主题 Rust rust 为什么用 Trait 需要手动引入 trait?
The reasoning for this is that multiple traits can define methods with the same name/signature.If this rule was not in place and there were multiple traits defining get for Read,

Except for fully qualifying the method call, but that would also require you to import the trait!
关于   ·   帮助文档   ·   博客   ·   nftychat   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3887 人在线   最高记录 5634   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 01:04 · PVG 09:04 · LAX 18:04 · JFK 21:04
Developed with CodeLauncher
♥ Do have faith in what you're doing.