Re: why Obj-C
Re: why Obj-C
- Subject: Re: why Obj-C
- From: Mike Brinkman <email@hidden>
- Date: Mon, 08 Apr 2002 07:35:17 -0400
I think this is everybody's reaction at first. I know it was mine. I had
three semesters of C++, one of C, and one of Java. So I had a lot invested
in the syntax structure of these.
I took some time to figure out (a couple of days), how a method under
Objective C would look like in C++, and once I was able to associate the
two, I was golden.
The other thing I did was work through the Learning Objective C chapter in
"Cocoa Programming for Mac OS X" a few times. I've found that the more
samples I work through, the more intuitive it has become.
Don't worry about about it for now. Give yourself a couple of weeks, and
soon you'll find that you don't even notice it anymore. Just be glad that
Apple doesn't force us to write everything in assembly language!
Mike
on 4/4/02 10:52 PM, Matthew Johnson at email@hidden wrote:
>
Hi,
>
>
This is not a troll or anything so please don't flame me.
>
>
Why did apple choose Obj-C over something people know and understand like C++?
>
or even C.
>
>
Why are we forced to learn yet another syntax that is very alien to C++/Java.
>
I absolutly love the interface builder its
>
just excellent. But then you have to write the meat of the program and its
>
been not a very pleasent experience for a
>
newbie to mac but I experienced C/C++ dude.
>
>
Writing for the Mac for the first time (I am a solaris programmer (C/C++)) I
>
thought I would try cocoa to write a one
>
off application for my company. Personally I have found this was a very large
>
mistake. If I every have to write another
>
one off Mac application I think it will be in Carbon.
>
>
Can someone tell me what is it about Obj-C that makes the syntax for class's
>
and methods have to look like it does? why
>
"[" instead of "(".
>
>
I will never understand the IT worlds obsession with reinventing the wheel.
>
>
I wish people would understand that the power of Java is not Java syntax but
>
its the collection of Standard classes Sun
>
could of done the same thing with C/C++ or Perl or Pascal etc. Same with
>
Obj-C.
>
>
I think I might go have a lay down.
>
>
Matt
_______________________________________________
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.
References: | |
| >why Obj-C (From: Matthew Johnson <email@hidden>) |