Same here.
And while I'm all too curious about the case conversion implementations, I'm in
agreement it'd be a bad fit for the official distribution, and a major
annoyance with clashing styles in shared code.
Sent from my iPhone
On 12 Feb 2011, at 23:06, Matt Aimonetti wrote:
> It is not,
Robert Payne wrote:
> Is it extremely bad practice to use Camel Case in Ruby?
> At least for MacRuby? I have been mostly because I'm
> an Objective-C developer and it's what I'm used to as
> well as all of the Apple API are Camel Case and I didn't
> want to make the code spaghetti between the two
It is not, we are just talking about conventions here. Personally I like to use
both casing approaches so I can see the difference between obj-c APIs and
Ruby's.
- Matt
Sent from my iPhone
On Feb 12, 2011, at 16:44, Robert Payne wrote:
> Is it extremely bad practice to use Camel Case in Rub
Is it extremely bad practice to use Camel Case in Ruby? At least for MacRuby? I
have been mostly because I'm an Objective-C developer and it's what I'm used to
as well as all of the Apple API are Camel Case and I didn't want to make the
code spaghetti between the two.
-Robert
On 13/02/2011, at
Ok so I will play the mean team member and tell you that we are seriously not
considering supporting something like that as part of the base implementation.
Now that doesn't mean that you guys can't create a gem to support that.
- Matt
Sent from my iPhone
On Feb 12, 2011, at 16:35, Rich Morin
At 11:01 AM +1300 2/13/11, Arthur Gunn wrote:
>> Ruby is extremely flexible. I'm quite sure that some
>> metaprogramming could be used to prototype something
>> for experimentation.
>
> For the sake of experimentation then, here's some ruby
> code that does that: https://gist.github.com/824163
>
> Ruby is extremely flexible. I'm quite sure that some
> metaprogramming could be used to prototype something
> for experimentation.
For the sake of experimentation then, here's some ruby code that does that:
https://gist.github.com/824163
I don't think that implementing this in macruby wou
So everything in ruby is an object, which means that when using format strings
with Objective-C methods like String+stringWithFormat and NSLog, the only
formatter that makes sense is "%@". Other formatters generally give unexpected
results. E.g. "%d" will print the value of the pointer to the nu
On 2011-02-12, at 04:40 , Caio Chassot wrote:
>
> On 2011-02-12, at 01:59 , Robert Payne wrote:
>>
>> The behavior I'm expecting is to see "Hello world" in the console but it
>> seems as if the entire Objective-C method was deleted. I don't have a method
>> in the Ruby class called helloWorld.