当前在线人数17271
首页 - 分类讨论区 - 电脑网络 - 窗口里的风景版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: 你们最不喜欢.net的什么?
[同主题阅读] [版面: 窗口里的风景] [作者:Deling] , 2007年03月09日14:10:59
Deling
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: Deling (流浪歌手-爬爬死爬腰酸), 信区: DotNet
标  题: Re: 你们最不喜欢.net的什么?
发信站: BBS 未名空间站 (Fri Mar  9 14:14:38 2007), 转信


【 在 LifeAsWater (烟水寒) 的大作中提到: 】
: two bad things about delegate:
: 1. it is not type safe. it allows any methods which has the same signature
: to be a candidate even that method is not suppose to be.
This has NOTHING to do with type safety. Don't mix up type with semantics.
: 2. no easy way to group delegate.
: delegate is same as method name, when comparing method name vs. interface,
: it means delegate vs. interface approach.
Delegates are not as useful compared to general lamba abstraction (where
delegates rooted) because they are not treated as values as functional
languages do. That doesn't neccessarily mean they are a bad thing.

--
__("<
\__/
  ^^
One small step for BSD, One giant step for PCs.



※ 来源:·BBS 未名空间站 mitbbs.com·[FROM: 24.16.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996