由买买提看人间百态

topics

全部话题 - 话题: inherit
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
B********e
发帖数: 19317
1
来自主题: Belief版 - 大家来学习,进化论101
The family tree
The process of evolution produces a pattern of relationships between species
. As lineages evolve and split and modifications are inherited, their
evolutionary paths diverge. This produces a branching pattern of
evolutionary relationships.
By studying inherited species' characteristics and other historical evidence
, we can reconstruct evolutionary relationships and represent them on a "
family tree," called a phylogeny. The phylogeny you see below represents the
basic relationsh
s*********a
发帖数: 801
2
来自主题: Belief版 - 大洪水的进化
七十国的成立和 El 的七十个儿子
大洪水以后,挪亚三个儿子的共七十个子孙,闪二十六个,含三十个,雅弗十四个,成
立了全世界的七十个国家。犹太教的《圣经注释》(《米德拉什》Midrash Tanchuma)
还进一步说明了全世界被分开成七十种方言。
根据乌加里特(Ugarit)神话,至高神El掌管着众神的议会【《旧约》里的耶和华也掌
管一个议会审判诸神】,他和女神亚舍拉(Asherah)共育有七十个儿子。El把全世界
分成七十个城市国家,每个儿子得到一个。例如,Melkart得到的是Tyre,Chemosh得到
Moab,Dagon得到Philistia,Baal得到Cannan,Yahweh得到以色列,Milcom 得到Ammon
,Hadad得到Aram,Qos得到Edom。
神 El
公元前七世纪在土耳其Arslan Tash出土的一块护身符就提到了El 和亚舍拉的众子:
The Eternal One (Olam) has made a covenant oath with us,
Asherah has made (a pact) with us.
And all the s... 阅读全帖
x*****u
发帖数: 3419
3
来自主题: Translation版 - A Very Short History of Bad Writing z
A Very Short History of Bad Writing
Now, anyone familiar with the history of English prose might wonder
whether anything we do here will substantially improve its future. Since
the earliest times, many writers have graced us with much good writing.
But others have afflicted us with much that is bad. Some of the reasons for
the bad writing are rooted in history, others in personal experience.
In the last seven hundred years, English writers have responded to
three influence... 阅读全帖
p****s
发帖数: 32405
4
来自主题: Translation版 - 趁着世界杯东风翻点东西,求指正
The first meeting of Menotti and Clemente on the pitch came at the Camp Nou on 24 September 1983. Athletic had won their first three games of the season but were 3–0 down just before the hour when Schuster fouled Goikoetxea; revenge, many assumed, for the foul in 1981. The crowd had been chanting Schuster’s name and, shortly before that foul, Maradona claimed in his autobiography, Goikoetxea had clearly been agitated even before he was fouled, hissing, ‘I’m going to kill that guy.’ Maradona trie... 阅读全帖
c****g
发帖数: 3893
5
来自主题: TrustInJesus版 - 大洪水的进化 (转载)
【 以下文字转载自 Belief 讨论区 】
发信人: septaphobia (恐妻症), 信区: Belief
标 题: 大洪水的进化
发信站: BBS 未名空间站 (Wed Sep 24 01:00:34 2008)
http://club.backchina.com/main/viewthread.php?tid=709287&extra=
也和话

讲历史是很沉闷的,先讲一个流传于数学界的笑话:
如果你从一本书里抄,这就叫做抄袭。
如果你从两本书里抄,这就叫做读书报告(book report)。
如果你从三本书里抄,这就叫做论文。
加多一句:犹太人从苏美尔、巴比伦、阿卡德神话那里抄,结果就是《旧约》的《创世
纪》。而现在的这篇文章跟《旧约》里的大洪水故事差不多,都是从多个地方参考抄袭
过来的。
我抄的文章中,有一篇是不叫胡马渡阴山的《大洪水的故事》,读过不叫胡马渡阴山的
《大洪水的故事》,大概再写大洪水故事的都是多余的了。
感谢十九世纪楔形文字的破译,我们理解了大量单神教前的神话故事。我们如果按照《
创世纪的进化》所说的规则,就是按照“神(El)的归神,耶和华(YWHW)... 阅读全帖
j*****6
发帖数: 1059
6
来自主题: TrustInJesus版 - 圣灵感动?
You misunderstand calvinism when you say this:
I hate calvinists because they believe God created some human just for BBQ
p
urpose. It is an insult to God and human culture.
You can find the correct answer from formal statements, e.g. WSC Westminster
Shorter Catechism
Q. 1. What is the chief end of man?
A. Man’s chief end is to glorify God,[1] and to enjoy him forever.[2]
[1] Psalm 86. Bow down thine ear, O LORD, hear me: for I am poor and needy.
Preserve my soul; for I am holy: O thou my God, ... 阅读全帖
C****i
发帖数: 1776
7
CHAPTER III
Of God’s Eternal Decree
I. God, from all eternity, did, by the most wise and holy counsel of his own
will, freely, and unchangeably ordain whatsoever comes to pass:[65] yet so,
as thereby neither is God the author of sin,[66] nor is violence offered to
the will of the creatures; nor is the liberty or contingency of second caus
es taken away, but rather established.[67]
II. Although God knows whatsoever may or can come to pass upon all supposed
conditions,[68] yet hath he not decreed ... 阅读全帖
C****i
发帖数: 1776
8
CHAPTER VII
Of God’s Covenant with Man
I. The distance between God and the creature is so great, that although reas
onable creatures do owe obedience unto him as their Creator, yet they could
never have any fruition of him as their blessedness and reward, but by some
voluntary condescension on God’s part, which he hath been pleased to expres
s by way of covenant.[144]
II. The first covenant made with man was a covenant of works,[145] wherein l
ife was promised to Adam; and in him to his posterit... 阅读全帖
C****i
发帖数: 1776
9
CHAPTER X
Of Effectual Calling
I. All those whom God hath predestinated unto life, and those only, he is pl
eased, in his appointed and accepted time, effectually to call,[216] by his
Word and Spirit,[217] out of that state of sin and death, in which they are
by nature, to grace and salvation, by Jesus Christ;[218] enlightening their
minds spiritually and savingly to understand the things of God,[219] taking
away their heart of stone, and giving unto them a heart of flesh;[220] renew
ing their w... 阅读全帖
C****i
发帖数: 1776
10
CHAPTER XVII
Of the Perseverance of the Saints
I. They, whom God hath accepted in his Beloved, effectually called, and sanc
tified by his Spirit, can neither totally nor finally fall away from the sta
te of grace, but shall certainly persevere therein to the end, and be eterna
lly saved.[334]
II. This perseverance of the saints depends not upon their own free will, bu
t upon the immutability of the decree of election, flowing from the free and
unchangeable love of God the Father;[335] upon the e... 阅读全帖
l**********t
发帖数: 5754
11
Chapter 5.1 Two Creations
Thus, in Satan’s hands, the first creation has become the old creation, and
God’s primary concern is now no longer with that but with a second and new
creation. He is bringing in a new creation, a new kingdom and a new world,
and nothing of the old creation, the old kingdom or the old world can be
transferred to the new. It is a question now of these two rival realms, and
of which realm we belong to.
The apostle Paul, of course, leaves us in no doubt as to which of thes... 阅读全帖
l**********t
发帖数: 5754
12
Chapter 5.1 Two Creations
Thus, in Satan’s hands, the first creation has become the old creation, and
God’s primary concern is now no longer with that but with a second and new
creation. He is bringing in a new creation, a new kingdom and a new world,
and nothing of the old creation, the old kingdom or the old world can be
transferred to the new. It is a question now of these two rival realms, and
of which realm we belong to.
The apostle Paul, of course, leaves us in no doubt as to which of thes... 阅读全帖
l**********t
发帖数: 5754
13
来自主题: TrustInJesus版 - 刚出生的婴儿有什么罪?
"
以下這些說罪不會遺傳
Deuteronomy 24:16
2 Kings 14:6
Jeremiah 31:29-30
Ezekiel18:20
"
the latter 3 are pretty much refering to the first verse. They all refer to
the sinful acts, not the nature of sin. "Inheritance" is not applicable to
the former, and only applies to the root casuse of sinful acts -- the sinful
nature inherited from Adam since his fall.
m****a
发帖数: 9485
14
Preliminary Principles
First of all, it needs to be initially recognized that this passage is
Hebrew poetry. And Hebrew poetry abounds with bold and imaginative figures
of speech; it is frequently characterized by a freedom which departs from
customary forms of expression. It is, therefore, a mistake of great
magnitude to extract statements from poetical literature and thus employ
them as a foundation for doctrinal schemes.
This is precisely the error of the materialists (Watchtower Witnesses,
A... 阅读全帖
m****a
发帖数: 9485
15
Psalm 51:5 Analyzed
Having shown what Psalm 51: 5 cannot mean, we now turn to some possible
views of the passage that do not violate portions of Scripture found
elsewhere.
(1) Since Psalm 51 is one of David’s penitent psalms revealing the anguish
resulting from his adulterous conduct with Bathsheba, some have felt that
verse five contains words that are figuratively put into the mouth of the
child conceived by that illicit union (2 Samuel 11:5), thus acknowledging
the sinfulness of that relation... 阅读全帖
m****a
发帖数: 9485
16
here are numerous Bible verses, in plain, literal language, that affirm the
innocency of infants, and Psalm 51:5 must not be arrayed against these.
Consider the following:
(1) Scripture plainly teaches that sin is not inherited. “[T]he son shall
not bear the iniquity of the father” (Ezekiel 18:20); every person is
responsible for his own conduct (Romans 14:12).
惟有犯罪的,他必死亡。儿子必不担当父亲的罪孽,父亲也不担当儿子的罪孽。义人的
善果必归自己,恶人的恶报也必归自己。
14:12这样看来,我们各人必要将自己的事,在神面前说明。
(2) Human sinfulness commences in that period of... 阅读全帖
C*****e
发帖数: 367
17
来自主题: TrustInJesus版 - 海德堡要理问答主日32
【 以下文字转载自 Church 俱乐部 】
发信人: CCBible (神同在圣经), 信区: Church
标 题: 海德堡要理问答主日32
发信站: BBS 未名空间站 (Tue Apr 24 12:33:53 2012, 美东)
海德堡要理问答主日32
来自基督徒百科
目录
1 英文版
2 英文2011版
3 赵中辉版
4 陈达/王志勇版
5 基督教要义圣经真理版
6 链接参考
英文版
The Third Part - Of Thankfulness
32. Lord's Day
Q. 86.
Since then we are delivered from our misery, merely of grace, through Christ
, without any merit of ours, why must we still do good works?
A.
Because Christ, having redeemed and delivered us by his blood, also renews u
s by his Holy Spirit, afte... 阅读全帖
D*****r
发帖数: 6791
18
来自主题: TrustInJesus版 - Mark Twain:Letters from the earth
Letters from the Earth
When the Creator had finished thinking, He said, "I have thought. Behold!"
He lifted His hand, and from it burst a fountain-spray of fire, a million
stupendous suns, which clove the blackness and soared, away and away and
away, diminishing in magnitude and intensity as they pierced the far
frontiers of Space, until at last they were but as diamond nailheads
sparkling under the domed vast roof of the universe.
At the end of an hour the Grand Council was dismissed.
They left... 阅读全帖
m****r
发帖数: 1904
19
来自主题: TrustInJesus版 - 要不断先追求上帝的正义(zz)
"Some critics and scholars have condemned Jephthah for his vow, having the
view that Jephthah followed the practice of other nations, offering up his
daughter by fire as a human burnt offering. But this is not the case. It
would be an insult to Jehovah, a disgusting thing in violation of his law,
to make a literal human sacrifice. He strictly commanded Israel: “You must
not learn to do according to the detestable things of those nations. There
should not be found in you anyone who makes his son ... 阅读全帖
s*********a
发帖数: 801
20
来自主题: TrustInJesus版 - 大洪水的进化 (ZT)
七十国的成立和 El 的七十个儿子
大洪水以后,挪亚三个儿子的共七十个子孙,闪二十六个,含三十个,雅弗十四个,成
立了全世界的七十个国家。犹太教的《圣经注释》(《米德拉什》Midrash Tanchuma)
还进一步说明了全世界被分开成七十种方言。
根据乌加里特(Ugarit)神话,至高神El掌管着众神的议会【《旧约》里的耶和华也掌
管一个议会审判诸神】,他和女神亚舍拉(Asherah)共育有七十个儿子。El把全世界
分成七十个城市国家,每个儿子得到一个。例如,Melkart得到的是Tyre,Chemosh得到
Moab,Dagon得到Philistia,Baal得到Cannan,Yahweh得到以色列,Milcom 得到Ammon
,Hadad得到Aram,Qos得到Edom。
神 El
公元前七世纪在土耳其Arslan Tash出土的一块护身符就提到了El 和亚舍拉的众子:
The Eternal One (Olam) has made a covenant oath with us,
Asherah has made (a pact) with us.
And all the s... 阅读全帖
J*******g
发帖数: 8775
21
来自主题: TrustInJesus版 - 金正恩vs耶和华
http://www.clearbibleanswers.org/questionsanswers/100-how-can-g
How can God PUNISH a person’s family to the 3RD AND 4TH GENERATION?
QUESTION 17
IS IT FAIR FOR GOD TO PUNISH THE INNOCENT? HE SAID, "VISITING THE INIQUITY
OF THE FATHERS UPON THE CHILDREN UNTO THE THIRD AND FOURTH GENERATION OF
THEM THAT HATE ME"! (EXODUS 20:5)
Only four times in Scripture this phrase is recorded. In Exodus
20:5, Exodus 34:7, Numbers 14:18, and Deuteronomy 5:9. These are all in the
writings of Moses. In E... 阅读全帖
J*******g
发帖数: 8775
22
来自主题: TrustInJesus版 - 地狱是误译
有关进化论和神创论的问题,我之前的一个帖子做过一些总结:
http://www.mitbbs.com/article_t/TrustInJesus/975965.html
我认为里面的任何一种说法都有自己的道理。也许耶证的看法与原旨主义类似。
至于同性恋,圣经显然是认为同性恋是一种罪。但是我们也要看到我们搜有人。
Lev. 18:22, "You shall not lie with a male as one lies with a female
; it is an abomination."
Lev. 20:13, "If there is a man who lies with a male as those who lie
with a woman, both of them have committed a detestable act; they shall
surely be put to death. Their bloodguiltness is upon them"
1 Cor. 6:9-10, "Or do you... 阅读全帖
J*******g
发帖数: 8775
23
来自主题: TrustInJesus版 - 地狱是误译
有关进化论和神创论的问题,我之前的一个帖子做过一些总结:
http://www.mitbbs.com/article_t/TrustInJesus/975965.html
我认为里面的任何一种说法都有自己的道理。也许耶证的看法与原旨主义类似。
至于同性恋,圣经显然是认为同性恋是一种罪。但是我们也要看到我们搜有人。
Lev. 18:22, "You shall not lie with a male as one lies with a female
; it is an abomination."
Lev. 20:13, "If there is a man who lies with a male as those who lie
with a woman, both of them have committed a detestable act; they shall
surely be put to death. Their bloodguiltness is upon them"
1 Cor. 6:9-10, "Or do you... 阅读全帖
p***l
发帖数: 134
24
大主教在达尔文自传上面闹的是大乌龙,或者是故意的断章取义。现在已知有无数的文
献证据证明达尔文晚年是极为坚定的无神论者。如果任何人竟然宣称达尔文其实是信
徒的话,像这位主教一样,他一定是自取其辱。造谣的霍普修女和大量的基督教传教小
册子就是先例。
事实上达尔文自传首先描述了自己早年对基督教的信仰——达尔文成长于基督教家庭,
接受过完整的基督教教育,甚至是以传教士身份登上了贝格尔号——如果达尔文早年的
思想没有一点基督教的印记,那倒是怪事了!然后话锋一转,立刻就说到“I for one
must be content to remain an Agnostic”。这种“将欲夺之,必先予之”的笔法是
达尔文常用的修辞手法。比如他对眼睛进化过程的描述:他首先说眼睛的复杂程度使得
进化论几乎无法解释其成因,然后话锋一转,紧接着再把眼睛进化的过程娓娓道来。可
惜达尔文的这种修辞手法为宗教家提供了断章取义的空隙。比如这位Pell主教,既然连
引用页数都记得清清楚楚,难道他会不知道紧接下来的一段就是对他的直接驳斥吗?对
于这种早有预谋的资料搜集,难怪Dawkins也只能叫唤几句“That's not... 阅读全帖
m****r
发帖数: 1904
25
申命记18:10说了耶和华痛恨把儿女投入火中。既然耶弗他是上帝悦纳的人,你认为他
会做出这样的事情吗?此时已经有摩西律法。在圣经全书里除了亚伯拉罕(没有摩西律
法)和这个值得商榷的问题以外,从来都没有拿人做全烧祭的(受异教影响除外)。利
未记第一章说明了什么可以作为全烧祭。
倒是这句话之前,先说了谁要迎接他,就把谁归耶和华。什么叫归耶和华?请参考士师
记13:5和撒母耳上1:11。实际上,耶弗他献女儿和哈拿献儿子是类似的。撒上1:4有
祭肉,1:21是献祭的时候但是撒母耳还没有断奶,也就是说如果断奶了,那么哈拿会
献人,同时按照惯例,哈拿的丈夫也会献上祭肉的。正如从撒上1:24开始描述的。
至于圣经上为什么写把他献做全烧祭,个人理解圣经公正地把当事人的想法记下来。我
们有很多时候想的是一个意思,但是说出来有可能是另外一个意思,本民族的人都能理
解,知道省略了什么,但是外族人就不一定理解,尤其是不了解这个民族的风俗习惯的
时候。从这点我倒是对圣经的记载觉得更可靠,因为它真实记载了人的不完美。
------------------------------------------------... 阅读全帖
s*********a
发帖数: 801
26
来自主题: TrustInJesus版 - 大洪水的进化 ZT
七十国的成立和El的七十个儿子
大洪水以后,挪亚三个儿子的共七十个子孙,闪二十六个,含三十个,雅弗十四个,成
立了全世界的七十个国家。犹太教的《圣经注释》(《米德拉什》Midrash Tanchuma)
还进一步说明了全世界被分开成七十种方言。
根据乌加里特(Ugarit)神话,至高神El掌管着众神的议会【《旧约》里的耶和华也掌
管一个议会审判诸神】,他和女神亚舍拉(Asherah)共育有七十个儿子。El把全世界
分成七十个城市国家,每个儿子得到一个。例如,Melkart得到的是Tyre,Chemosh得到
Moab,Dagon得到Philistia,Baal得到Cannan,Yahweh得到以色列,Milcom 得到Ammon
,Hadad得到Aram,Qos得到Edom。
神El
公元前七世纪在土耳其Arslan Tash出土的一块护身符就提到了El和亚舍拉的众子:
The Eternal One (Olam) has made a covenant oath with us,
Asherah has made (a pact) with us.
And all the sons ... 阅读全帖
s*********a
发帖数: 801
27
来自主题: TrustInJesus版 - 大洪水的进化 ZT
七十国的成立和El的七十个儿子
大洪水以后,挪亚三个儿子的共七十个子孙,闪二十六个,含三十个,雅弗十四个,成
立了全世界的七十个国家。犹太教的《圣经注释》(《米德拉什》Midrash Tanchuma)
还进一步说明了全世界被分开成七十种方言。
根据乌加里特(Ugarit)神话,至高神El掌管着众神的议会【《旧约》里的耶和华也掌
管一个议会审判诸神】,他和女神亚舍拉(Asherah)共育有七十个儿子。El把全世界
分成七十个城市国家,每个儿子得到一个。例如,Melkart得到的是Tyre,Chemosh得到
Moab,Dagon得到Philistia,Baal得到Cannan,Yahweh得到以色列,Milcom 得到Ammon
,Hadad得到Aram,Qos得到Edom。
神El
公元前七世纪在土耳其Arslan Tash出土的一块护身符就提到了El和亚舍拉的众子:
The Eternal One (Olam) has made a covenant oath with us,
Asherah has made (a pact) with us.
And all the sons ... 阅读全帖
o***1
发帖数: 592
28
来自主题: TrustInJesus版 - 圣经赞成奴隶制度吗?
Exodus 21:2-11:
“If you buy a Hebrew servant, he is to serve you for six years. But in the
seventh year, he shall go free, without paying anything. If he comes alone
, he is to go free alone; but if he has a wife when he comes, she is to go
with him. If his master gives him a wife and she bears him sons or
daughters, the woman and her children shall belong to her master, and only
the man shall go free.
“But if the servant declares, ‘I love my master and my wife and children
and do not want to... 阅读全帖
j*******7
发帖数: 6300
29
来自主题: TrustInJesus版 - Why should a JW consider becoming a Christian?
Question: "I am a Jehovah's Witness. Why should I consider becoming a
Christian?"
Answer: Perhaps the most important commonality between Evangelical
Christians and Jehovah’s Witnesses is our belief and trust in the Bible as
the ultimate authority inspired by God, on issues concerning God and His
expectations for us. While we may understand things differently, Jehovah’s
Witnesses are to be highly commended for their dependence on and diligence
in studying the Holy Scriptures to know God and His ... 阅读全帖
l******t
发帖数: 490
30
来自主题: TrustInJesus版 - 基和穆的神应该是同一个吧?
解答:Allah為什麼有時候用複數代詞“我們”
The Quran, Allah and Plurality Issues (Sam Shamoun)
The Quran, much like the Holy Bible, uses plural pronouns for God even more
so than what we find in God’s true Word. Here are several examples:
This is part of the tidings of the things unseen, which We reveal unto thee
(O Apostle!) by inspiration: Thou wast not with them when they cast lots
with arrows, as to which of them should be charged with the care of Mary:
Nor wast thou with them when they disputed (the point). S... 阅读全帖
T*******y
发帖数: 6523
31
As I understand, Carl Jung explained this synchronicity using his concept of
collective unconscious, as if these common knowledge/intuition/archetypes..
. are embedded in each person as a collective wisdom inherited in human
beings, in a similar way as that the genes are inherited biologically.
Although he could talk to his spiritual guides in his meditation, he didn't
think of them as from outside or another dimension, but from within himself,
this embedded thousands of years old wise man (the ... 阅读全帖
J******s
发帖数: 7538
32
Here I just add more about my personal experiences why I accept the doctrine
of karma and dependent origination in Buddhism.
It was about 5 years ago, in my daily life I really found that what I am
doing today will profoundly influence what will happen on me tomorrow (in
the future). If I want to realize sth in the future, I must do sth today for
that. How hard I put my efforts today determines to which extent I can
realize that.
We can take a close look on the actions of IDs on this board. What... 阅读全帖
t******g
发帖数: 17520
33
谢谢!!我以为是新浪微博上的
好吧, 阿姜查也算高僧大德, 我说说为何我有以前的想法
1我被断章取义了, 阿姜查的禅修世界 3部 36章+ 若干序,跋
没有前因, 看着确实有点琼瑶讲故事。为了给自己不去研究找借口。
当一个凡人说自己笨的时候或许是真笨或者矫情
大和尚说自己笨的时候, 为了说道理服务的
前面说自我观照就可以修行, 后面说还是要上寺院闻法
2 翻译的有点问题, 网上找地英文版, 读起来好多了, 第一句
When it comes to the practice, the only things you really need to make a
start are honesty and integrity,
谈到修行,你真正唯一需要的是由诚实与正直开始
英文强调诚实和正直make a start, 而中文读着觉得是强调 唯一
我觉得正常的翻译应该是, 只要有诚实与正直的信念就可以开始修行了
还有 pratice Sila 那一句没翻
So in your practice of sila, just practice as I've explained here. Don... 阅读全帖

发帖数: 1
34
来自主题: Wisdom版 - 无标题
Christian vs Buddhism.
------How Christian Defines Poverty ------
Spirit of poverty is a spirit of Satan. It is a spirit that uses poverty to
steal kill and destroy.
Having worldly materials, riches and wealthy does not mean you are rich –
instead all worldly materials are vanities.
You may have worldly riches but be poor – have the spirit of poverty
A person may be lacking worldly riches but be rich – not have the spirit of
poverty.
Jesus lacked worldly riches when He was on earth (Mt 8:20) but... 阅读全帖
q**1
发帖数: 193
35
In my current tool HTML::Mason, I need only a single file
(named autohandler under the component root, usually it's the
same as the Apache document root) to define the overall layout
of a website, all pages can inherit from this page and donot
need to add any extra things in their pages. And I can setup
a new look by using another new autohandler file under its current
directory. This forms a very nice inheritant chain, and
can be used to maintain server side code very conveniently.
In PHP, how
p***n
发帖数: 635
36
来自主题: DotNet版 - Can a struct be derived? in C#, in C++
in C++, yes, a struct can inherit from another. actually in C++ world, the only
difference btw a struct and a class is that the default access modifiers for
methods are different. for class: private for struct:public
in C#, it is a different story, structs cannot inherit from other structs
however, they can derive from interfaces. it is quite different from class
in C#.
F****n
发帖数: 3271
37
来自主题: Java版 - 问一个特别土的问题
You still cannont inheritate static method in subclasses, so there is no
differences.
The only thing different is using interface you need to modify both your
original class and your new class, using inheritance you only need to take
care of the new one. But if you use interface, you can easily expand your code
in the future, say, if you want a third or fourth implementations.

还是偷点懒儿,就让新的implementation继承前一个但是所有的function都overload呢
f**t
发帖数: 27
38
来自主题: Java版 - 菜鸟问题
protected is accessable by classes in same package and it's subclass
in different package. But once the subclass of different package inherited
the i, it become private. Also, it can only access the i by inheritance, not
by reference.
Aothoer one is default. With no modifier. Only accessable by classes in the
same package (even the subclasses).
That's about it.
c*****t
发帖数: 1879
39
来自主题: Java版 - Random thoughts on Javascript

is
feel
JavaScript sub-classing is a major pain in the rear. One interesting
thing about JavaScript is that there is not a unique way doing inheritance,
which can be confusing and annoying. You can google JavaScript inheritance
and there are many approaches. I think that one AJAX group created an
approach which looked simpliest and no major issues.
One of the most important reason behind the numerous approaches is
because of IE's serious memory leak problem. IE 7 beta 3 still did
not fix it
f*******4
发帖数: 345
40
来自主题: Java版 - Random thoughts on Javascript

I'm also not familiar with those tricky stuff. But I did
search Google/Yahoo and find them
Here is the javascript inheritance example
http://www.crockford.com/javascript/inheritance.html
Regarding dynamic binding, I can't find a quick example in google,
but I remember in Dojohttp://dojotoolkit.org/
source code comments I read some trick for object instance dynamic binding,
which means javascript can do dynamic binding, but it is tricky.
z****g
发帖数: 2497
41
来自主题: Java版 - SYSDEO tomcat的问题。
魔肥,thanks a lot.
SYSDEO inherited all my USER variables, which made the difference. And I thi
nk this is wrong, it should only inherit SYSTEM variables only.
F****n
发帖数: 3271
42
来自主题: Java版 - 问个问题
Containment and inheritance are two basic ways of reuse in OO.
In fact inheritance can be regarded as a special case of containment.
They are trying to test you OO concepts I guess.

永远不能直接用ab
t*******e
发帖数: 684
43
来自主题: Java版 - 再问一个OR Mapping的问题
table per hierarchy.
Define an abstract entity - Email.
@Entity
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(
name="Inheritance",
discriminatorType=DiscriminatorType.STRING
)
public astract class Email{
}
followed by,
@Entity
@DiscriminatorValue("Public")
public class PublicEmail{
}
@Entity
@DiscriminatorValue("Private")
public class PrivateEmail{
}
q*********u
发帖数: 280
44
来自主题: Java版 - Question: reflection and generics
看看doc,
getMethods
public Method[] getMethods()
throws SecurityException
Returns an array containing Method objects reflecting all the public member
methods of the class or interface represented by this Class object,
including those declared by the class or interface and those inherited from
superclasses and superinterfaces. Array classes return all the (public)
member methods inherited from the Object class. The elements in the array
returned are not sorted and are not in any
r*****l
发帖数: 2859
45
来自主题: Java版 - 大家都是怎么自学J2EE的
Most, if not all, Java web framework are based on servlet API, part of the
Java EE standards. The standard war structure is like this:
root
- public folders
- WEB-INF
-- web.xml
-- private resources/folders
-- "lib" folder for (3rd party) libraries
-- "classes" folder for application classes
Anything under WEB-INF cannot be accessed directly.
web.xml is the entry point of dynamic contents. Servlet engine will look for
servlet mappings and map request URLs to appropriate servlets. Most
framework ... 阅读全帖
b******d
发帖数: 794
46
来自主题: Java版 - java的一个问题
我的理解是
其实parent's variable都被"inherited"了, 只不过可能不能在subclass直接访问,要
通过适当的inherited (public) method, 或者cast to superclass (polymorphism)才
能访问。

or
in
J*******n
发帖数: 2901
47
来自主题: Java版 - 报offer咯
哈哈,我刚才在写一个例子,码了几行字以后发现没有意义,所有基于inheritance的
API都是可以用annotation代替的,只是如果自己写的项目要支持annotation的话,得
比直接用interface,abstract class要多写点东西罢了,比如怎么也得支持class的注
册吧,比如extension point什么的,然后injection也都得定义,这么搞我没亲手搞过
,但例子那么多,绝对是可行的就是了
算了,还是把没写完的例子写完发上来吧,欢迎大家拍砖指教
有一个interface,叫LifeCycle,定义了4个method,分别是
void initialize(Configuration)
void suspend()
void resume()
void destroy()
每个Component的presenter都implement这个接口,每个Component的initialize方法实
现不一样,其他3个方法实现都一样(比如suspend方法都是会fire
ComponentSuspendedEvent等等),这样我就搞了一个Abstract... 阅读全帖
p******g
发帖数: 347
48
来自主题: Java版 - OO and abstract class
我觉得zhaoce写的不错,先不管他的道理是不是完全正确,至少他写的很长很细致讲道理
摆事实。我觉得技术相关版面大家发言都向他学习就好了.至少有经验的人多发发这样
的帖子才能带动大家提高
每个人对同一个问题都有不同的看法,这和每个人的具体工作经验,分析和解决问题的
方法习惯都有关系.
我觉得能做出活来是工作中第一的;能把活干的漂亮那就是锦上添花, 是大家都期望的
事情,但是这个世界不是完美的, 很多时候你要做出让步妥协: 可能因为你要赶进度,
可能因为你用的第三方库就是垃圾, 可能是因为你的老板或者同事是蠢货...
但是只要是工作中的同事大家拥有一个比较共同的, 前后一致的解决问题的方法论, 我
觉得就行了. 不必过分比讲究谁的方法正确高级.
所以我觉得对于OO and abstract class, interface, etc, 大家不必纠结于谁对谁不
对. 我觉得他和反对他的人都有一定道理,在不同情况下可能一种方法比另一种好,但
这并不是绝对的. 大家都像他似的把自己的经验心得总结出来, 仔细给出自己对于自己
的具体工作为什么要这样做不要那样做的道理, 列出事实就好了.
OO只是... 阅读全帖
z***y
发帖数: 42
49
来自主题: Linux版 - Google go 还挺不错的

over
it
pain
no
Don't think so. Go is developed for writing large scale application:
Exception: with multiple return values and defer, Go can handle errors
pretty well. In fact, exception is often discouraged in C++. In Java, it
is abused. If you really need it, the panic/recover is just for that.
Inheritance: this is actually a forced model on programmers by OO. Go's
interface and struct composition is more flexible. As with duck typing,
as long as something can quack like a duck, swim like a ... 阅读全帖
s***e
发帖数: 793
50
来自主题: Programming版 - one question about struct
sure, struct has every thing. virtural function , function overloading ,
operator overloading .
another issue is that the struct inheritance is public inheritance by
default.
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)