Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3666

Re: Is everything object ?

From 7stud -- <bbxx789_05ss@yahoo.com>
Newsgroups comp.lang.ruby
Subject Re: Is everything object ?
Date 2011-04-28 18:50 -0500
Organization Service de news de lacave.net
Message-ID <7f2b6b723e1d9f0236f099f72f9cf228@ruby-forum.com> (permalink)
References <62f261dc2ccebf22a5a04124a9b3bc7f@ruby-forum.com> <3c0cd959a902670e0183b8ff829f1d60@ruby-forum.com> <20110428195557.GB1710@guilt.hydra>

Show all headers | View raw


Chad Perrin wrote in post #995626:
> On Fri, Apr 29, 2011 at 01:54:20AM +0900, 7stud -- wrote:
>> amir e. wrote in post #995492:
>> >
>> > A very important principle in Ruby is that every thing is object.
>>
>> I have never found that claim to be important in any language.
>> Whether everything is an object or just most things doesn't make a bit
>> of difference in writing programs.  Now if you were selected to be on a
>> Ruby Trivia Show, and you can win thousands of $$$, then it would be
>> helpful to know.
>
> It seems pretty unimportant until I try to interact with something as an
> object and it turns out it *isn't* an object.

Do you have a real world example of that?  Perhaps:

(1, 2, 3).send(:ancestors)

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is everything object ? "amir e." <aef1370@gmail.com> - 2011-04-28 04:48 -0500
  Re: Is everything object ? Urabe Shyouhei <shyouhei@ruby-lang.org> - 2011-04-28 04:56 -0500
  Re: Is everything object ? Robert Klemme <shortcutter@googlemail.com> - 2011-04-28 04:59 -0500
  Re: Is everything object ? Roger Braun <roger@rogerbraun.net> - 2011-04-28 04:54 -0500
  Re: Is everything object ? Josh Cheek <josh.cheek@gmail.com> - 2011-04-28 06:52 -0500
    Re: Is everything object ? Roger Braun <roger@rogerbraun.net> - 2011-04-28 10:26 -0500
      Re: Is everything object ? Michael Sokol <mikaa123@gmail.com> - 2011-04-28 10:49 -0500
    Re: Is everything object ? Josh Cheek <josh.cheek@gmail.com> - 2011-04-28 12:23 -0500
      Re: Is everything object ? Josh Cheek <josh.cheek@gmail.com> - 2011-04-28 18:39 -0500
        Re: Is everything object ? Josh Cheek <josh.cheek@gmail.com> - 2011-04-28 23:09 -0500
          Re: Is everything object ? Josh Cheek <josh.cheek@gmail.com> - 2011-04-29 18:01 -0500
    Re: Is everything object ? Brian Candler <b.candler@pobox.com> - 2011-04-28 15:22 -0500
      Re: Is everything object ? Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-28 15:36 -0500
  Re: Is everything object ? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-28 11:54 -0500
    Re: Is everything object ? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-28 18:50 -0500
  Re: Is everything object ? Stu <stu@rubyprogrammer.net> - 2011-04-28 14:43 -0500
  Re: Is everything object ? Justin Collins <justincollins@ucla.edu> - 2011-04-28 23:37 -0500

csiph-web