Re: C# on OSX?
Re: C# on OSX?
- Subject: Re: C# on OSX?
- From: ivasena <email@hidden>
- Date: Sat, 07 Jul 2007 11:42:52 +0300
Izidor Jerebic wrote:
On 6.7.2007, at 23:05, ivasena wrote:
Not only that, but as a recent .Net newbie I can tell you that a lot of
.Net API concepts are taken from Cocoa (almost literally, in some
case).
That's quite strange for me (being programming .NET for several years),
hence .NET is more 'like' Java, than Obj-C. Even more if we are talking
about the concepts. Take as example [[MyClass alloc] init] approach,
which has no analogue in .NET.
So it is much easier to go from .Net to
Cocoa (or Cocoa to .Net as in my case) than using procedural frameworks
on one platform (such as Carbon on Mac or MFC on Windows) and object
oriented on the other platform (Cocoa or .Net).
Knowing .NET, if I had no C++ experience in the past, I would probably
never look Obj-C at all :) That's all, of course, IMHO...
You are talking about languages: C# versus Obj-C.
I am talking about framework concepts and APIs.
Ok, frameworks.
Working with Paths
+ pathWithComponents:
– pathComponents
– completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:
– fileSystemRepresentation
..............................
You know where these functions came from - NSString.
That seems to me VERY strange after .NET FCL:
|
Combine
|
Combines two path strings. |
|
Equals
|
Overloaded. Determines whether two Object
instances are equal. (inherited from Object)
|
|
GetDirectoryName
|
Returns the directory information for the specified path
string. |
|
GetExtension
|
Returns the extension of the specified path string. |
........
This is only one example.
It is true that C# language is Java-like, but .Net
framework is Cocoa-like.
It takes a day or two to learn and use C# or Obj-C. It takes a lot more
to learn and use API. So it is better to go with the destination
framework which is closest to the source framework.
izidor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden