|
-
Sep 20th, 2001, 10:41 AM
#1
Thread Starter
Black Cat
What's Objective C?
What's "Objective C", and how is it different than C or C++? I saw an article on a C compiler that mentioned it compiles C, Objective C, C++, Fortran, etc.
Thanks,
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 20th, 2001, 11:12 AM
#2
transcendental analytic
A friend of mine is programming in Objective C, he said that it's a cleaner objected oriented language than C++, less complex and more flexible. After looking at the syntax though from the link he provided i backed out though on thought of learning it in soon future, also it does use runtime typing which i think would be a performance hog and insecure if you compare to C++
http://www.slip.net/~dekorte/Objecti...ion/Index.html
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Sep 20th, 2001, 02:48 PM
#3
I've heard of this language before, and I knew read or thought of it being more flexible than C++.
Please explain.
-
Sep 20th, 2001, 03:07 PM
#4
transcendental analytic
Flexibility
these features got my attention first time I saw it,
- The possibility to load class definitions and method definitions (which extend a class) at run time.
- Objects are dynamically typed: Full type information (name and type information of methods and instance variables and type information of method arguments) is available at run time. A prime example of application of this feature is `-loadNibSection
wner:' method of NEXTSTEP's Application class.
I haven't gone further into the language because the syntax looked so alien from ANSI C which it it was suppose to derive from, the syntax is taken from Smalltalk which I have no idea of.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Sep 20th, 2001, 08:38 PM
#5
Fanatic Member
SmallTalk, is basically a sibling of Fortran (i think), its a different approach to OOP. Which I think would help you understand OOP from a different prespective, but the syntax is just too much... I wouldnt want to go from one syntax to another completely different and then back... its just too confusing.
But its definately something to look at... its not a WIDELY used language like C++ but that doesnt mean u wont learn anything from it.
Ive also heard of Python to be a completely different approach also. So these languages all go at different approaches to OOP programming which is relatively new.
-
Sep 21st, 2001, 10:54 AM
#6
Thread Starter
Black Cat
Thanks for the info, guys.
I've been meaning to learn Python - I bought a book and installed ActiveState's version, but I haven't found the time...
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 21st, 2001, 03:24 PM
#7
Python is just odd =).
The Type info sounds a lot like RTTI.
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|