由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - interface是oo feature吗
相关主题
现在谈paradigm过时了qeustion about separation of interface and implementation in java
问个spring的问题spring di的project
Java 不是纯oo, oo 不是 imperative programmingabout STL functor and function pointers
template 疑问不同的语言可以统一语法吗
我们来聊聊paradigms吧各个语言在paradigms上的对比
prolog, lisp, sql,这些算functional programming么?一道面试怪题C++. (转载)
赵策怎么看OOP hell的问题?用STL map的时候怎么自己定义大小比较的关系
为什么我的visual C++ 找不到 "Stdafx.h" ?[合集] a problem about stl compose1
相关话题的讨论汇总
话题: interface话题: oo话题: feature话题: method话题: function
进入Programming版参与讨论
1 (共1页)
p*****2
发帖数: 21240
1
一直没想太明白
我觉得不是
l**********n
发帖数: 8443
2
go is not like java or JavaScript. it is between.

【在 p*****2 的大作中提到】
: 一直没想太明白
: 我觉得不是

l**********n
发帖数: 8443
3
Interface values are represented as a two-word pair giving a pointer to
information about the type stored in the interface and a pointer to the
associated data.
l**********n
发帖数: 8443
4
The assignment var s Stringer = b makes a copy of b. Not making s pointing
to b.
p*****2
发帖数: 21240
5
我没谈go

【在 l**********n 的大作中提到】
: go is not like java or JavaScript. it is between.
l**********n
发帖数: 8443
6
you have to ask first 'Is method OO feature? ', since interface is but a
method list
p*****2
发帖数: 21240
7
interface could be function list.

【在 l**********n 的大作中提到】
: you have to ask first 'Is method OO feature? ', since interface is but a
: method list

l**********n
发帖数: 8443
8
what is the difference between method and function?

【在 p*****2 的大作中提到】
: interface could be function list.
p*****2
发帖数: 21240
9
method is bound to object. function isn't.

【在 l**********n 的大作中提到】
: what is the difference between method and function?
o**2
发帖数: 168
10
我认为interface和paradigm是互相独立的东西,可以互相利用,但没有从属关系。
相关主题
prolog, lisp, sql,这些算functional programming么?qeustion about separation of interface and implementation in java
赵策怎么看OOP hell的问题?spring di的project
为什么我的visual C++ 找不到 "Stdafx.h" ?about STL functor and function pointers
进入Programming版参与讨论
b*******s
发帖数: 5216
11
It is. However abstract class is more OO

【在 p*****2 的大作中提到】
: 一直没想太明白
: 我觉得不是

a*****e
发帖数: 1700
12
可以参考一下 SML 的 signature, structure, 和 functor.

【在 p*****2 的大作中提到】
: 一直没想太明白
: 我觉得不是

p*****2
发帖数: 21240
13

我觉得也是。

【在 o**2 的大作中提到】
: 我认为interface和paradigm是互相独立的东西,可以互相利用,但没有从属关系。
p*****2
发帖数: 21240
14

how about type class in haskell?

【在 a*****e 的大作中提到】
: 可以参考一下 SML 的 signature, structure, 和 functor.
a*****e
发帖数: 1700
15
你要是有兴趣,可以看看这个视频 https://www.youtube.com/watch?v=hIZxTQP1ifo&
feature=youtu.be
type class 和其它的都不太一样,非常 subtle 的设计选择,但影响深远

【在 p*****2 的大作中提到】
:
: how about type class in haskell?

p*****2
发帖数: 21240
16

好长。大牛能不能给个summary?

【在 a*****e 的大作中提到】
: 你要是有兴趣,可以看看这个视频 https://www.youtube.com/watch?v=hIZxTQP1ifo&
: feature=youtu.be
: type class 和其它的都不太一样,非常 subtle 的设计选择,但影响深远

z****e
发帖数: 54598
17
go像c
infra应该多考虑一下go
而app估计没戏
app level的话,基本上都非常declarative了
java的很多feature几乎都是declarative的
比如annotation
annotation实际上是markup language
比脚本,fp什么先进,真正的declarative

【在 l**********n 的大作中提到】
: go is not like java or JavaScript. it is between.
1 (共1页)
进入Programming版参与讨论
相关主题
[合集] a problem about stl compose1我们来聊聊paradigms吧
Sun的compiler貌似很弱啊prolog, lisp, sql,这些算functional programming么?
function pointer 和 call-back function 有什么区别?赵策怎么看OOP hell的问题?
[合集] 大家看看我这个C++ STL Functor那里写错了为什么我的visual C++ 找不到 "Stdafx.h" ?
现在谈paradigm过时了qeustion about separation of interface and implementation in java
问个spring的问题spring di的project
Java 不是纯oo, oo 不是 imperative programmingabout STL functor and function pointers
template 疑问不同的语言可以统一语法吗
相关话题的讨论汇总
话题: interface话题: oo话题: feature话题: method话题: function