newbie questions about objective-c, ruby, python, groovy and cocoa
newbie questions about objective-c, ruby, python, groovy and cocoa
- Subject: newbie questions about objective-c, ruby, python, groovy and cocoa
- From: "KlunkyRobot" <email@hidden>
- Date: Wed, 09 Jun 2004 21:11:15 -0700
I am an amateur mac programmer with a basic J2EE background and I am
looking at development language options for developing client side
applications.
After looking around it is my opinion that Cocoa applications are the
only true First Class Citizens on Mac OS X. Do you agree or Disagree?
Carbon is Legacy, and Java Swing is tolerable to not stellar, and Cocoa
Java is an interesting feat of engineering but not recommend for
development.
Objective-C
I have had a look at objective-c, and I have a few questions.
Objective-c dates back to one of the first real / functional OOP
languages. I however have some questions.
1- Objective-c does not seem to support package namespaces why is this
so? It seems that you can use groups in XCode to group files but this is
only visual it still leaves all files lying in one folder, which I could
see becoming a management nightmare.
2- Method Overloading - Is it true that this is not supported in
Objective-c why was done this way? IS their a reason for not allowing
such a basic OOP concept in Objective-C.
3- Is it true that you can combine the header interface definition in the
same file as the implementation? If yes can any one point me to an
example of this. I dislike the idea of two files if I can have one, I am
used to Java being able to do both in one. Or is their a good reason for
keeping the interface and implementation apart.
4- What version is Objective-C at, is their a standard ISO Objective-C
that is under review and development or is this just Apples show? My
question is that any languages must evolve to improve and adapt to the
ever changing IT environment, is their such a mechanism in place for
Objective-C?
5- Please do not take offense to this question.... It is my understanding
that Objective-C and C++ (just as Java itself was an attempt to overcome
the limitations of C++) were two attempts to overcome the short coming of
C, each approached it in very different ways. However between the battle
for Dominance between Objective-C and C++. C++ however clearly one that
battle, becoming the dominant development language of choice. Why was
this so, and what drove developers and companies to choose C++ over
Objective-C? And dose this say anything about Objective-C?
Groovy and Cocoa
1- One of the biggest problems with Java and Cocoa is that cocoa ideally
suited to weekly type languages like objective-c. However Java is strong
typed, however with the advent of Groovy on the scene which is a soft
typed language with a Java syntax is it possible to create a simpler and
better bridge just like the ruby cocoa and python cocoa bridge? That way
avoiding all the complexity of bridging soft-typed cocoa to hard typed
Java. Is anyone working on such a Groovy Cocoa Bridge? If not how hard
would such a bridge be to develop?
Ruby and Python
1- I know their are Cocoa bridges for Ruby and Python is any one on this
list using these languages with Cocoa or are they like Cocoa Java
fanciful engineering proof of concepts? If any one is using them, can you
point to a medium or large application that is on the market that I can
look at?
2 -Does anyone think that it is best to simple stick with objective-c
with cocoa as this will have the largest relative development community
in regards to Cocoa?
Just finding my feet.
Kurt
--
http://www.fastmail.fm - The professional email service
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.