原来再有这么微妙的设计,感叹下!太经典了,难怪java如此优美


原来还有这么微妙的设计,感叹下!!太经典了,难怪java如此优美
佩服啊,还有那个this 我靠,要是我写我肯定想不到这么写, 我肯定这么写,当然我这么写必然看上去很垃圾。

return functions->GetVersion(&funcions)

但是这么写多不好看 由于类型的关系

我们不能这么写return functions->GetVersion(funcions) 而非得加个'&',可是大牛们一个this

return functions->GetVersion(this)
多简洁,又看不出破绽,佩服佩服。

顺便散点分



java J2EE 程序开发

suibian 10 years, 3 months ago


我没懂楼主你在说什么

茶姬上的杯具 answered 10 years, 3 months ago


return functions->GetVersion(this)

你确定这是 Java 的?

soariez answered 10 years, 3 months ago


优美个屁。

LeVeL answered 10 years, 3 months ago


看见c!

gurgu answered 10 years, 3 months ago


this不是只当前类的实例嘛,就这么简单

相对1的⑥酱 answered 10 years, 3 months ago



牧瀬紅莉栖 answered 10 years, 3 months ago


接分,接分

KisWT answered 10 years, 3 months ago


楼主说明白点呗 让我学习下啊

早睡早起身体好 answered 10 years, 3 months ago


接分了哦

比良坂黄泉 answered 10 years, 3 months ago


JF以示存在

复仇指日可待了 answered 10 years, 3 months ago



邪恶的幼稚 answered 10 years, 3 months ago


...fen

渡边麻友老公 answered 10 years, 3 months ago



jiao38 answered 10 years, 3 months ago

Your Answer