![]() |
I think you must be right. I can't find any information online that says C and Objective C are incompatible. Now, I swear I read that in a book about 6 or 7 years ago (now don't I feel old?) but that most definitely doesn't make it true. It does add some funky syntax however (not that that is particularly a bad thing however; it just takes getting used to). I'd bet that the only reason Objective C has any form of popularity is because of Cocoa. Then again, no one would use Java without its class library.
Matt |
.
Well yeah, Cocoa bred new life into Objective-C. Good for Apple.
Mac OS X is pretty much what it is because of the combination of the Cocoa classes and Objective-C. Also, the 'funky' syntax is a matter of preference. I prefer [myObject doSomething]; to: (might not be correct syntax) myObject::doSomething(); The first one just looks cleaner to me. |
My favorite language is Pascal because it is so readable. However, I have not programmed much lately, so that may change as I get back into it. I would like to learn Objective C and Applescript for the Mac, C for the new controller, PHP, Python, Ruby, C++. Aaah......to be able to go back to school for a few years. (Of course I didn't feel that way when I was in school, because I didn't have things like FIRST to give me opportunities to use my knowledge, so I was bored with school. Also....we didn't have computers.)
|
I'd have to go with C++ becuase I've been using it for a long time. I also have been programming games in opengl recently with it as well so it seems like a good language all round, at least to me anyway.:D
|
OpenGL
I've also been using OpenGL in my programming.
At this point, I haven't been able to get full-screen working with the CocoaGL classes, so I'm using GLUT as my IO toolkit and Objective-C classes as a backbone for GL apps. I think part of it is some arcanity with my computer, since it's the oldest machine capable of running OS X; Laptop G3 Pismo. OpenGL was written as a cross-platform interface. I can use it on Macs, PCs and whatnot. Also, since it's written in C, it can be used in programs based on C, C++, Objective-C, Objective-C++, and any other C extensions or supersets. |
C++ most definitely. I've been using it for a long time and it is nice and clean and elegant. I've been using it and OpenGL a lot here lately.
|
C++
Well, I think we're all subjected to opinions, but my view of C++ takes it as inelegant, hard to debug, and slow.
Furthermore, Microsoft has sort of branded C++ as a poor language by their definition of it (which is slower than C/Obj-C), their use of hidden interfaces (I couldn't find developer documentation on internet interfaces that was readily available), and the flaws in the Windows OS itself. Also, there are SO many worms and security problems relating to Windows. Also, Objective-C offers a more open approach to object orientation. C++ requires strict typing, where Objective-C is very free in its laws. Objective-C allows you to request an object to do something, even though the reciever may not be able to do it. Of course, it's very hard to beat something like plain, procedural C for simple tasks. It's very fast, very easy to understand, and relatively easy to debug. Most who start off on learning Objective C find it incredibly intuitive and easy to use. I looked at C++ initially, and things were unnecessarily confusing. I then looked at Obj-C (coupled with Apple's Cocoa Libraries), and suddenly, things made perfect sense. I could see how to use the language very effectively, very quickly. Also, Objective-C adds the minimum of what is required to provide object orientation. C++ I believe, attempted to 'improve' C. Obj-C took C, and added things to it, leaving C itself alone. |
Re: What is your most prefered programming language?
Ide have to go with python.
C and pascal are also not that bad. |
Re: What is your most prefered programming language?
Favorite language: C++
Java is high up there, but I think they oversimplified it. I like the added OOP, but why they removed operator overloading is beyond me (anyone know why?). When I write games in C++, I have a Vector class and a Matrix class and I can do nice, simple statements like: position += velocity * deltaT + .5 * (sumOfForces / mass) * deltaT * deltaT; velocity += (sumOfForces / mass) * deltaT; But in Java, you get ugly statements that force you to create temporary variables to store things as you go. That's why I'm starting to look at C# a lot. It's a lot like Java except they brought back all the good stuff from C++ that Java left out, and then some. I also used to love PHP, but now I don't like it that much. The lack of strong variable types makes it easy to write programs, but impossible to go back and read what you wrote a week later. Perl is the same. C is pretty fun. I like working with pointers and making sure you keep track of everything, especially on embedded systems. Writing stuff for the Palm in C really gives you an appreciation for memory management. If you leak one byte of memory or go beyond your allocated memory by one byte, you get a fatal error (or at least it seems that way). asm is pretty interesting to use, but only in small doses. I'd like to see someone write their entire robot code in asm (it doesn't count if you just disassemble the C code). |
Re: What is your most prefered programming language?
How could you all be forgetting FORTRAN? The only programming language that I've really used is Visual Basic, but I'm in the process of a learning javascript and of course, C for our controls system.
|
Re: What is your most prefered programming language?
Hey Pelan Power- This is your cousin. Hahaha.
As for the language, I went with C++. Fun stuff. And java i hate. Good old FORTRAN. Isnt that what they use on calculators? |
Re: What is your most prefered programming language?
I'd have to go with PHP. It's the first language I really sat down and learned. Aside from that, I'd go with C/C++/C#. C# is really morphing into an awesome language and I'm looking forward to seeing where this language goes. I'm teaching myself Perl right now, and that seems like a pretty cool language as well.
-WeAz |
Re: What is your most prefered programming language?
Obj-C and Java are really great, with straight C coming in close behind. Java for the ability to run on many platforms, Obj-C just because it's cool and really easy to use, while being very powerful at the same time, and C for command-line stuff. (Although Obj-C is cool for command-line stuff too, but it adds a bit of overhead)
One main problem with C-based languages that Java solves is memory management. I'd much rather create objects and have the system sweep up after me than worry about when I should free something. |
Re: What is your most prefered programming language?
c++ is currently my favorite with c being a neccesity at times...I love messing with linux
C# most definately though is something to look at...very much liek java but with all the c++ goodies that we like. :) |
Re: What is your most prefered programming language?
Quote:
|
Re: What is your most prefered programming language?
VISUAL BASIC EE 6!!!
Not that that helps the robot any... :D |
Re: What is your most prefered programming language?
4-tran
________________________________ I didn't break it! |
Re: What is your most prefered programming language?
I use Tcl http://www.tcl.tk/ for quick prototypes and easy user interface development. The syntax is minimal and clean. I've programmed in everything from bit-slice microcode to PL/I, and I think Pascal is among the easiest "true high-level" languages to learn and use. C is good, but too cryptic for my tastes.
|
Re: What is your most prefered programming language?
All I speak is Java... therefore its the best :D
|
Re: What is your most prefered programming language?
Quote:
|
Re: What is your most prefered programming language?
i learned on VB and i liked it alot but as ive been moving into java its alot more powerfull and im liking it better, even though im not as good. soon i plan on moving to c++ which quite possable will become a new fav
|
Re: What is your most prefered programming language?
you kids are out of date. visual c# .net (c-sharp) is the latest version of the c programming language. it is extremely powerful, the .net version in visual studio 2003 or 05 has incredible debugging features, is object oriented, and kicks ***.
|
Re: What is your most prefered programming language?
i am impressed by any language that you can use to make a robot go straight using wheel encoders. like the robolab software that can't do it. yes, i know that's only for legoleague but its what we're limited to.
|
Re: What is your most prefered programming language?
Of those that I am familiar with, C/C++ is definitely my favorite...Delphi Object Pascal, runner-up....i don't really know that many, and I'd like to be able to distinguish the differences between them all, so I'm starting to pick up some stuff on other languages, such as Visual Basic, which I'm really enjoying...i've been interested in learning Assembly, Java, etc, although I haven't really gotten around to it yet. I think once someone's got the idea of the "logic" of programming it shouldn't be too difficult for them to learn other ones.....
|
Re: What is your most prefered programming language?
The Delphi enviroment has allways been the most productive for me.
|
Re: What is your most prefered programming language?
Now, this is weak. They didn't list Python, Scheme, Common Lisp, Perl, or PHP. Bah.
As far as object-oriented programming goes, though, I prefer Java or Objective C. The Carbon toolkit on OS X just rules. :p As far as imperative programming goes, I much prefer Perl. It's a very compatible and versatile language. 'Nuff said. As far as Web development goes, it's either HTML::Mason (mod_perl) or PHP. If I'm dealing with math things, give me Scheme, Python, or Common Lisp any day. Yadda, yadda. It depends on the application, the system, and how much code I expect to reuse. Java, Objective C, Perl, Python, Scheme, Common Lisp, and PHP all allow for tons and tons of code reuse to varying degrees, but there're a couple of languages there that don't readily have compilers for Windows or the BeOS or VMS, etc. |
Re: What is your most prefered programming language?
Quote:
But yeah, Objective C is just great :) |
Re: What is your most prefered programming language?
Best language ever: z80 ASM with x86 ASM as a runner-up.
Quote:
VS 2005 sucks. 2003 is good however. |
Re: What is your most prefered programming language?
isn't C# supposed to be a simpler (think VB) branch of C++?
And while I'm not so sure about about all the .NET stuff, I really like the C++ IDE. |
Re: What is your most prefered programming language?
Quote:
I personally use PHP the most, but i'm sure out of all the ones I know, C++ is the most functional, etc. |
Re: What is your most prefered programming language?
Hmmm, i've always thought of C++ as more of a machine language. While they do have similarities in syntax structure, there is the notable difference of one being compiled for a machine (such as memory handling, pointers, etc.), and one being compiled to be interpereted... like a scripted or "basic" language.
Heh, the VS 2003 C++ IDE is pretty sweet. Gotta love that Intellisense. |
Re: What is your most prefered programming language?
Quote:
|
Re: What is your most prefered programming language?
For web programming, I do all my sites (HTML) and all my scripts (Perl) by hand.
For app programming, I do everything in REALbasic. REALbasic has MANY strong points. First off, you can compile for Windows, OS X, OS 9, and Linux all from the same source code. Second, REALbasic allows for rapid application development. Proof of this: I'm working on an app with a friend of mine. We essentially started it yesterday, and it will hit the market in full final status in less than three weeks. The downside of this is that lots of really crappy apps end up getting posted that should never have seen the light of day. Third, REALbasic is easy enough to be understood by anyone! Fourth, it has a VB project converter. Fifth, it is Turing-Complete, so it is possible to do ANYTHING with REALbasic (as long as there is hardware if you're looking to perform physical tasks). Yeah, RB rocks. And I'm trying to teach myself Objective-C.... :ahh: Dave |
Re: What is your most prefered programming language?
Quote:
Don't feel too bad, i'm still using MSCV 6.0 on my Windoze machine too. |
Re: What is your most prefered programming language?
C++ is my favorite, but i heard a lot about C# and seems to be quite good....
|
Re: What is your most prefered programming language?
I like C/C++ the best simply because their the first i learned and the ones im most fluent in and use the most.
|
Re: What is your most prefered programming language?
Wow there are so many languages I like to use. I suppose I like C/C++ the most because they were the first languages I learned. I also like the flexibility of PHP and Java. Also, my favorite scripting language is BASH scripting which is very powerful.
|
Re: What is your most prefered programming language?
RPL
(10 points to the first person who knows what that is) |
Re: What is your most prefered programming language?
Quote:
:cool: |
Re: What is your most prefered programming language?
the only languages i know is rcxc and am still learning VB right now.
soooo between these two definitly rcxc.. and 1.5 definitly |
Re: What is your most prefered programming language?
Quote:
|
Re: What is your most prefered programming language?
I went with Java mainly because I use it the most - think AP Computer Science.
Although I agree with those that suggested adding PHP to the list. |
Re: What is your most prefered programming language?
I admire all of you endlessly! I have been writing HTML for years, love it, can't live without it. Recently acquired Java, Java Script, CSS, etc, etc. However, last June or so I decided to start to take on VS .net C++ :ahh: I am going out of my mind! I keep hitting big brick walls.
To all programmers: you are Geniuses! |
Re: What is your most prefered programming language?
Quote:
|
Re: What is your most prefered programming language?
Quote:
lol C++ Definitely. You can do things in it that you cant do in any other language.... well maybe c :-P |
Re: What is your most prefered programming language?
Other: VB.NET
Cuz it's one of the easier programming languages that I have used. Its easy to understand and It makes program code shorter once you know all of the operaters that it accepts. and ya, i'll leave it at that. |
Re: What is your most prefered programming language?
I used too like Perl alot, then I got nto C++, so right now I think I am for C++... I got VIsual studio 6 whoo hooo... lol
|
Re: What is your most prefered programming language?
Python - ease of use, simple yet extremely powerful, portable, works on any OS, and interpreted, not compiled
|
Re: What is your most prefered programming language?
If the answer is visual basic, you're asking the wrong question ;)
|
Re: What is your most prefered programming language?
All those high-level languages are great, I prefer LISP for coding. However, without a doubt, assembly provides the most power, flexibility, and practicality out of them all. If only their were more than a dozen people who would take the time to learn it.
|
Re: What is your most prefered programming language?
I perfer LISP as a nice medium level lanuge, mainly for it's ability to modifiy it's own code as a data type. the problem is, is thier are few API's for it. at anyrate, for the most part I program in C++ but for as many things they did right in it, thier are quite a few things missing, namely, multiple returns.
as for a high level i don't know many, but C# seems pretty nice, however i am currently learning java which seems quite promising for atleast the deployment part of a application life style. as for low level, G5 PPC ASM all the way, you can keep your 80x86. :D |
Re: What is your most prefered programming language?
I know it's not the most editable code, but I like REALbasic becuase it make GUIs very fast and the language is simple and intuitive. I could make a very graphical oriented program in an hour or less. The downside is that working with files is hard. :mad:
|
Re: What is your most prefered programming language?
I prefer C++ because of its compatability and modularity. It, unlike java or php, and other languages runs itself using the operating system. Java and php are run on another program, and perform much slower because of this. But it is easier to code Java and even easier to code php...
|
Re: What is your most prefered programming language?
PHP!
I own a starcraft map making site... I don't really make maps (old game), but its fairly popular and nice looking. http://www.staredit.net |
Re: What is your most prefered programming language?
Web Design:
Java (when I want to write something cool) JScript (when I'm feeling lazy) perl (when I want the world to bow before me) Application design: C-sharp (word for word Java) C++ (something I could fry my hard drive with) perl (when I don't want to accidently fry my hard drive) |
Re: What is your most prefered programming language?
i use java mainly because i was raised with it and i haven't to change.
|
Re: What is your most prefered programming language?
My favorite programming language? Hard to say.
I started with Visual Basic (shudder) back when I was in single digits. Flash's ActionScript introduced me into the world of C-style syntax several years ago, and then I started reading up about C++. I developed most of my taste in programming conventions around this time, so it was a bit hard to shift into Java-mode for my AP Comp Sci class. For example, casting down from Object in an overridden equals method, to match the signature of the original method, just seems so wrong. Java is neat, I just think C++ is better when it comes to making objects feel as natural as primitives. I also love the way C++ handles constants (const declarations, constant arguments, and const (non-mutator) methods). About a year ago I got into Walter Bright's "D" programming language, which is sort of a C++/D hybrid - there's no virtual machine, but it's still reference based. Plus, a few extras are thrown in such as syntax-level Design by Contract. (I'm not sure if anyone mentioned this language already, because I'm lazy and I'm not about to read through eleven pages of posts ;) ) If I had to pick one, I'd say C++. D would be really neat if its developers could only pick up the pace - it's been pre 1.0 for around five years. |
| All times are GMT -5. The time now is 14:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi