[#13161] hacking on the "heap" implementation in gc.c — Lloyd Hilaiel <lloyd@...>

Hi all,

16 messages 2007/11/01

[#13182] Thinking of dropping YAML from 1.8 — Urabe Shyouhei <shyouhei@...>

Hello all.

14 messages 2007/11/03

[#13315] primary encoding and source encoding — David Flanagan <david@...>

I've got a couple of questions about the handling of primary encoding.

29 messages 2007/11/08
[#13331] Re: primary encoding and source encoding — Yukihiro Matsumoto <matz@...> 2007/11/09

Hi,

[#13368] method names in 1.9 — "David A. Black" <dblack@...>

Hi --

61 messages 2007/11/10
[#13369] Re: method names in 1.9 — Yukihiro Matsumoto <matz@...> 2007/11/10

Hi,

[#13388] Re: method names in 1.9 — Charles Oliver Nutter <charles.nutter@...> 2007/11/11

Yukihiro Matsumoto wrote:

[#13403] Re: method names in 1.9 — "Austin Ziegler" <halostatue@...> 2007/11/11

On 11/11/07, Charles Oliver Nutter <charles.nutter@sun.com> wrote:

[#13410] Re: method names in 1.9 — David Flanagan <david@...> 2007/11/11

Austin Ziegler wrote:

[#13413] Re: method names in 1.9 — Charles Oliver Nutter <charles.nutter@...> 2007/11/11

David Flanagan wrote:

[#13423] Re: method names in 1.9 — Jordi <mumismo@...> 2007/11/12

Summing it up:

[#13386] Re: method names in 1.9 — Trans <transfire@...> 2007/11/11

[#13391] Re: method names in 1.9 — Matthew Boeh <mboeh@...> 2007/11/11

On Sun, Nov 11, 2007 at 05:50:18PM +0900, Trans wrote:

[#13457] mingw rename — "Roger Pack" <rogerpack2005@...>

Currently for different windows' builds, the names for RUBY_PLATFORM

13 messages 2007/11/13

[#13485] Proposal: Array#walker — Wolfgang Nádasi-Donner <ed.odanow@...>

Good morning all together!

23 messages 2007/11/14
[#13486] Re: Proposal: Array#walker — Wolfgang Nádasi-Donner <ed.odanow@...> 2007/11/14

A nicer version may be...

[#13488] Re: Proposal: Array#walker — Trans <transfire@...> 2007/11/14

[#13495] Re: Proposal: Array#walker — Trans <transfire@...> 2007/11/14

[#13498] state of threads in 1.9 — Jordi <mumismo@...>

Are Threads mapped to threads on the underlying operating system in

30 messages 2007/11/14
[#13519] Re: state of threads in 1.9 — "Bill Kelly" <billk@...> 2007/11/14

[#13526] Re: state of threads in 1.9 — Eric Hodel <drbrain@...7.net> 2007/11/14

On Nov 14, 2007, at 11:18 , Bill Kelly wrote:

[#13528] test/unit and miniunit — Ryan Davis <ryand-ruby@...>

When is the 1.9 freeze?

17 messages 2007/11/14

[#13564] Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc. — Wolfgang Nádasi-Donner <ed.odanow@...>

Good evening all together!

53 messages 2007/11/15
[#13575] Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc. — "Nikolai Weibull" <now@...> 2007/11/15

On Nov 15, 2007 8:14 PM, Wolfgang N=E1dasi-Donner <ed.odanow@wonado.de> wro=

[#13578] Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc. — Michael Neumann <mneumann@...> 2007/11/16

Nikolai Weibull schrieb:

[#13598] wondering about #tap (was: Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc.) — "David A. Black" <dblack@...> 2007/11/16

Hi --

[#13605] Re: wondering about #tap (was: Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc.) — Trans <transfire@...> 2007/11/16

[#13612] Re: wondering about #tap (was: Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc.) — "David A. Black" <dblack@...> 2007/11/16

Hi --

[#13624] Re: wondering about #tap (was: Re: Thoughts about Array#compact!, Array#flatten!, Array#reject!, String#strip!, String#capitalize!, String#gsub!, etc.) — "Nikolai Weibull" <now@...> 2007/11/16

On Nov 16, 2007 12:40 PM, David A. Black <dblack@rubypal.com> wrote:

[#13632] Re: wondering about #tap — David Flanagan <david@...> 2007/11/16

David A. Black wrote:

[#13634] Re: wondering about #tap — "David A. Black" <dblack@...> 2007/11/16

Hi --

[#13636] Re: wondering about #tap — "Rick DeNatale" <rick.denatale@...> 2007/11/16

On Nov 16, 2007 12:40 PM, David A. Black <dblack@rubypal.com> wrote:

[#13637] Re: wondering about #tap — murphy <murphy@...> 2007/11/16

Rick DeNatale wrote:

[#13640] Re: wondering about #tap — Wolfgang Nádasi-Donner <ed.odanow@...> 2007/11/16

murphy schrieb:

[#13614] Suggestion for native thread tests — "Eust痃uio Rangel" <eustaquiorangel@...>

Hi!

12 messages 2007/11/16

[#13685] Problems with \M-x in utf-8 encoded strings — Wolfgang Nádasi-Donner <ed.odanow@...>

Hi!

11 messages 2007/11/18

[#13741] retry semantics changed — Dave Thomas <dave@...>

In 1.8, I could write:

46 messages 2007/11/23
[#13742] Re: retry semantics changed — "Brian Mitchell" <binary42@...> 2007/11/23

On Nov 23, 2007 12:06 PM, Dave Thomas <dave@pragprog.com> wrote:

[#13743] Re: retry semantics changed — Dave Thomas <dave@...> 2007/11/23

[#13746] Re: retry semantics changed — Yukihiro Matsumoto <matz@...> 2007/11/23

Hi,

[#13747] Re: retry semantics changed — Dave Thomas <dave@...> 2007/11/23

[#13748] Re: retry semantics changed — Yukihiro Matsumoto <matz@...> 2007/11/23

Hi,

[#13749] Re: retry semantics changed — Dave Thomas <dave@...> 2007/11/23

Re: method names in 1.9

From: "Rick DeNatale" <rick.denatale@...>
Date: 2007-11-12 00:06:40 UTC
List: ruby-core #13419
On Nov 11, 2007 6:37 PM, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
>
> Rick DeNatale wrote:
> > Ruby, like Smalltalk, and Self, are languages which exemplify what
> > Ralph Johnson calls the "mystical view" of object-orientation, as
> > opposed the the "software engineering view" taken by C++/Java/Dylan..
> > http://www.cincomsmalltalk.com/userblogs/ralph/blogView?showComments=true&printTitle=Erlang,_the_next_Java&entry=3364027251
> >
> > Quoting Ralph: "The mystical view is that an OO system is one that is
> > built out of objects that communicate by sending messages to each
> > other, and computation is the messages flying from object to object.
> > The software engineering view is that an OO system is one that
> > supports data abstraction, polymorphism by late-binding of function
> > calls, and inheritance."
> >
> > A key difference between these two views is that in the mystical view,
> > the message name (i.e. the name used to represent a requested
> > operation) is defined independently of any type/class hierarchy.
> > Notice that Ralph's description of the mystical view makes no mention
> > of methods or functions. Although in most mystical languages most
> > messages result in the execution of a method with the name of the
> > message, this isn't always true, e.g. when a message is handled via
> > method_missing.
> >
> > The mystical view puts a wall of encapsulation between sender and
> > responder which isn't there in the software engineering view.  The
> > sender names a request, and the receiver responds.  The sender has no
> > knowledge of (and therefore no dependency on) just how the receiver
> > decides to implement the response.
> >
> > Adherents of the software engineering view tend to think, whether
> > consciously or unconsciously, in terms of late-bound function calls.
> > The model is that the caller knows how to find a particular 'virtual
> > function' and then invokes it.
> >
> > It's a subtle shift in viewpoint but it's crucial.
>
>
> Interesting distinction ... but some questions ....
>
> 1. Isn't there a continuum between the two "extremes"?

As a designer, and student of object oriented languages over 25 or so
years now. I can't say I've ever seen a language which mixes the
mystical and software engineering views of object orientation.

In fact, I'm pretty convinced that the two view are irreconcilable at
their core, although many are fooled into trying to bend one view into
the other, usually by trying to force a mystical language like Ruby
into a software engineering view straightjacket.  Chicken Typing is
one product of such attempts.

What I'm talking about here is the language's approach to objects.
Most mystical object-oriented languages are uniformly object oriented
in that everything is an object, most software engineering viewpoint
languages are not, either having objects as an added family of types
(C++) or non-object types in addition to objects (Java).

There are some non-uniformly object-oriented languages which add
mystical viewpoint objects to a non-object-oriented language.  The
best know of these is probably Objective-C.  Another was ClassC which
I designed back in 1982 or so, and never got outside of IBM.  Brad Cox
and I were both inspired by the special issue of Byte magazine which
introduced Smalltalk to the world to add Smalltalk like objects to ,
as a "poor mans" Smalltalk.

> 2. If so, where are Ruby, Scheme, Erlang and Forth on the continuum?

As I said, Ruby is mystical.  Ralph Johnson who has thought more about
objects in Erlang than I have says that Erlang is mystical.

I'm not familiar with standard object-oriented extensions to scheme or forth.

On the other hand, as I remember CLOS and Dylan take the software
engineering view.  I'm more sure about Dylan since I just pulled down
the copy of the Dylan manual David Moon gave me when I visited him at
the old Apple Cambridge (Mass) research lab many years ago, which
explicitly states that Dylan does not do Smalltalk like method
dispatching.

> 3. If either extreme is (or can be made) Turing-complete, why do nearly
> all languages include concepts catering to both?

They don't (see the above).

Plus paraphrasing Matz in his keynote last weekend at RubyConf last
weekend, "Turing complete, Schmuring complete." <G>

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/

In This Thread