Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: Beginner Date: Mon, 7 Sep 2015 11:11:46 -0400 Organization: Aioe.org NNTP Server Lines: 34 Message-ID: References: <33e782a9-792d-44f1-ab5f-4cdc2a7b8174@googlegroups.com> NNTP-Posting-Host: NIM2IeSPVd0kE3mU1mieXw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:32553 On 9/7/2015 4:43 AM, Martin Gregorie wrote: > On Sun, 06 Sep 2015 21:44:15 -0400, Arne Vajhøj wrote: >> I may be somewhat picky. >> >> But I don't like it. >> >> http://people.cis.ksu.edu/~schmidt/CIS200/ch2V9.html >> > Same here, but for slightly different reasons: I don't much like it > talking about classes, methods, and methods sending messages to each > other without some explanation of these terms and how they relate to each > other. That may be covered before they start the Java course. > I must also say that I have never liked the 'sending messages' metaphor > as used in OOP: Its fine when talking about processes sending messages > over a connection but has always seemed rather strained when used to > describe what is in reality a function call. If a message is really being > sent, surely I should be able to display it with, say, Wireshark, or a > fundamental OOP component without modifying my code in any way. It is not really a metaphor more like a core OO concept. But yes - it sounds weird for the C++/Java/C# crowd. I think the Smalltalk/Object-C crowd find it much more natural. It is a bit like relation/tuple/attribute vs table/row/field. The first is the real relational concept, but in practice the latter is much more used. Arne