Archive for the ‘General’ Category

Looking for a new job

I am starting to look for a new job. If you are reading this you probably know that I love working on innovative Cocoa-based stuff. Another field of interest for me is enterprise architecture: REST, SOA, JEE, ESB, etc. I am based in Paris, France, and you can get at my resume here. Interested?

Read Full Post »

From Charlie Calvert’s Community Blog:

The next version of Visual Studio will provide a common infrastructure that will enable all .NET languages, including C#, to optionally resolve names in a program at runtime instead of compile time.
[…] C# developers can currently use reflection to instantiate classes and call arbitrary methods that are not known at compile time. The dynamic extensions to the C# language will make it much easier to make such calls.

The C# team’s plans for the actual syntax are still evolving. For example, they are pondering over the introduction of a dynamic keyword to mark code blocks inside which this feature would be activated. So, for instance, we could have:


Where the foo() method would not have to be declared anywhere. The variable myObject could just be declared to be of type object, and this would compile.

In dynamic object-oriented languages such as Objective-C, Smalltalk or Ruby, this feature is the default and is a tremendous source of simplicity and power. If this can be grafted without too much problems or crippling (how is it going to interact with the existing rules such as overriding, how will it handle absent methods at run-time, etc.) this could be a giant leap forward for C#.

And then, I expect to see it discussed for inclusion in Java soon.

Read Full Post »

In F-Script 2.0, the object browser allows navigating Objective-C 2 properties. Adding this feature was pretty easy, using the class_copyPropertyList() and property_getName() functions provided by the Objective-C runtime. The hardest part was to choose the color of the properties sections in the browser. Magenta looks fine…

No new syntax is needed to access properties using F-Script, as accessors are automatically generated by Objective-C.

Example: reading the property foo of myObject

myObject foo

Example: setting the property foo of myObject to 10

myObject setFoo:10

Read Full Post »