Interesting... a nice reference for all those bridgesupport method parameters :)

Its nice but not what hit me about ruby... especially this   
http://mislav.uniqpath.com/poignant-guide/   persevere until dwemthy's array.  
classes inhereting from a functions   gave me a headache :)

I have gone from being hunched up and worried about types etc. to being very 
relaxed and froody... I'm not even sure I could go back to adding semi colons 
to the end of a line :)

Terry
On 1/04/2011, at 9:23 AM, Matt Massicotte wrote:

> On Mar 31, 2011, at 12:47 PM, Terry Moore wrote:
> 
>> I for one would like to see some examples of objc meta programming. 
> 
> Here's a good place to start looking.
> 
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Introduction/Introduction.html
> 
> In particular, there are functions you can use for generating classes and 
> methods at runtime, including modifying classes already present.  Though, 
> that's often done much more easily using categories.  You can even do 
> method_missing-style magic, but not nearly as nicely as in Ruby.
> 
>> 
>> Standard ruby is built with c are you saying c has some meta programming 
>> capabilities because of this.
>> 
>> An example like attr_accessor. I know objc 2 now has properties.
>> 
>> I also know some aspects of ruby are scary 'eval' and re opening classes but 
>> can you load objc source compile and run it aka 'eval'. 
>> 
>> All I'm trying to say here is that ruby has a place and with the macruby 
>> implementation you have nothing to lose by trying some ruby.  Mix it up a 
>> little and have some fun too.
>> 
>> Terry Moore
>> 
>> On 1/04/2011, at 7:59 AM, Matt Massicotte <massico...@apple.com> wrote:
>> 
>>> On Mar 31, 2011, at 11:41 AM, Terry Moore wrote:
>>> 
>>>> Well it would appear that Macruby is just not ready for real development. 
>>>> 
>>>> I for one have some faith that Macruby is good enough now and will be 
>>>> language of choice in the future. 
>>>> 
>>>> There are no barriers to you mixing external frameworks or adding objc 
>>>> classes.
>>>> 
>>>> Ruby as a language has many features that you can grow into that objc 
>>>> doesn't ( meta programming). 
>>> 
>>> This has come up more than once today.  ObjC is capable of a lot more 
>>> meta-programming than people are giving it credit for.  The Objective-C 
>>> runtime is, afterall, what MacRuby is built on.  However, Ruby's 
>>> meta-programming support is significantly simpler, making it easier to both 
>>> use and abuse :)
>>> 
>>>> 
>>>> If you use a standard version of ruby there is nothing to stop even a c 
>>>> hacker using 'the latest' libraries and putting a simple wrapper on.
>>>> 
>>>> Ruby has become an umbrella for all my work from admin support to web 
>>>> development. And now with macruby I have desktop apps for Mac.
>>>> 
>>>> Not forgetting jruby of course for any java fans and others like ruinous.
>>>> 
>>>> 
>>>> So yes on a serious note I would recommend everyone go learn c as a 
>>>> minimum. But if you just want to have some serious fun go mad with 
>>>> ruby/macruby. The learning will come by doing.
>>>> 
>>>> Terry Moore
>>>> 
>>>> On 31/03/2011, at 11:41 PM, "Thomas R. Koll" <i...@ananasblau.com> wrote:
>>>> 
>>>>> 
>>>>> Am 31.03.2011 um 10:26 schrieb Jean-Denis Muys:
>>>>>> 
>>>>>> I will be blunt: stay away from MacRuby and go with Objective-C.
>>>>> 
>>>>> I say, if you don't know either Ruby or Objective-C yet, stay away from 
>>>>> MacRuby.
>>>>> 
>>>>> All those ruby dev who like me are most likely coming from webdevelopment,
>>>>> dive into this new world of desktop applications. It's a fascinating 
>>>>> world.
>>>>> 
>>>>> 
>>>>>> - Less applicable resources for learning: less examples, less books, 
>>>>>> less blog posts, less people to help you out.
>>>>> 
>>>>> Which is great if you are able and willing to fill those gaps.
>>>>> Open Source is not only about using what exists but also to
>>>>> add something new to it.
>>>>> Over time you will get deeper and more profund understanding.
>>>>> 
>>>>> 
>>>>>> Now the MacRuby journey might taste a lot better, depending on you. And 
>>>>>> if for you "the reward is the _journey_", you might consider it.
>>>>> 
>>>>> +1
>>>>> 
>>>>> 
>>>>>> - One thing is for sure: demand for iOS Ruby programmers is zero.
>>>>> 
>>>>> Which might be subject to change.
>>>>> Don't forget, the only two things keeping MacRuby from iOS is
>>>>> the lack of a garbage collector and the App Store policy about
>>>>> programming languages.
>>>>> Both in the hands of Apple, just like MacRuby itself.
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> MacRuby-devel mailing list
>>>>> MacRuby-devel@lists.macosforge.org
>>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>>> _______________________________________________
>>>> MacRuby-devel mailing list
>>>> MacRuby-devel@lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel@lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to