Go to Post This thread is making me all vaklempt. :) This is FIRST at its best! Advice, offers for spare parts, and even lunch! You all ROCK! :D - Cynette [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What is your most prefered programming language?
C++ 91 43.96%
PBasic 11 5.31%
QBasic 8 3.86%
Java 36 17.39%
Other (Please List) 61 29.47%
Voters: 207. You may not vote on this poll

Closed Thread
Thread Tools Rating: Thread Rating: 4 votes, 3.75 average. Display Modes
  #91   Spotlight this post!  
Unread 16-09-2003, 19:49
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
I chose C++ mainly because it seems easiest to me. It'd also chose PHP, Perl, ASP, and a bunch of others if they were there.
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #92   Spotlight this post!  
Unread 16-09-2003, 21:35
KWachowski27
 
Posts: n/a
Assembly... why not?
  #93   Spotlight this post!  
Unread 16-09-2003, 21:44
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
I'd choose PHP, but thats not a choice and i guess it might not be considered a "real language" I also like C++, although i have never gone very far beyond simple command line apps, or DLLs to use in VB. I hope to find time to begin learning vc++ soon. Don't laugh but i also like VB (although it is quite restrictive).
__________________
1139 Alumni
  #94   Spotlight this post!  
Unread 17-09-2003, 08:13
golf_cart_john golf_cart_john is offline
Registered User
AKA: John W
FRC #0095 (Grasshoppers)
Team Role: Coach
 
Join Date: Sep 2003
Rookie Year: 2004
Location: Lebanon, NH
Posts: 35
golf_cart_john will become famous soon enoughgolf_cart_john will become famous soon enough
C++ is my favorite, but JavaScript is good too. C++ is my favorite language for programs, while JavaScript is my favorite for web pages.
  #95   Spotlight this post!  
Unread 17-09-2003, 11:22
piotrm's Avatar
piotrm piotrm is offline
Registered User
AKA: Piotr Mardziel
FRC #0190 (Gompei and the HERD)
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2001
Location: Dudley, MA
Posts: 96
piotrm has a spectacular aura aboutpiotrm has a spectacular aura about
Send a message via AIM to piotrm
Perl and C (not C++)
  #96   Spotlight this post!  
Unread 17-09-2003, 18:42
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Thumbs up

x86 assembly... really.

x86 assembly is an arcane language reserved for those who are seriously without judgement, and its very elegant. Programming in assembly is unmatched by programming in any other language. No object oriented stuff here. No typedef. No nonsense.

Except BBW (Branch both ways).
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #97   Spotlight this post!  
Unread 17-09-2003, 21:12
Angela06's Avatar
Angela06 Angela06 is offline
Registered User
#0476 (Adidarons)
 
Join Date: Jun 2003
Location: Ponca City
Posts: 29
Angela06 is on a distinguished road
Send a message via AIM to Angela06 Send a message via Yahoo to Angela06
I like Basic and Java or what ever gets the job done
__________________
Angela Team 476
Before you Critasize someone you should walk a mile in there shoes, that way when you critasize them your a mile away, and you have there shoes!
  #98   Spotlight this post!  
Unread 25-09-2003, 20:39
av11d's Avatar
av11d av11d is offline
College Bum
no team ((Team 75 Alum -- Capt 05 & 06))
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Hillsborough, NJ
Posts: 158
av11d is a splendid one to beholdav11d is a splendid one to beholdav11d is a splendid one to beholdav11d is a splendid one to beholdav11d is a splendid one to beholdav11d is a splendid one to beholdav11d is a splendid one to behold
Objective-C

Obj-C is awesome. Originally from the NeXTStep days, and now the preferred language for programming with cocoa classes. It's similar to C++ in that its an object oriented superset of C, but it's so much more powerful. You will NEVER rewrite the same line of code twice. Elegant and straightforward, and completely meshes with C. All C code works in objC documents. It's just a natural extension.
  #99   Spotlight this post!  
Unread 26-09-2003, 08:09
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Re: Objective-C

Quote:
Originally posted by av11d
All C code works in objC documents. It's just a natural extension.
Not quite. I'm not particularly familiar with Objective C but there is at least one incompatibility with regular C. The major advantage of C++ over Objective C was the fact that C++ was completely backwards compatible. And that's why C++ is much more popular than Objective C.

Matt
  #100   Spotlight this post!  
Unread 26-09-2003, 12:03
Team852 (DB) Team852 (DB) is offline
Registered User
#0852 (The Athenian Robotics Collective)
 
Join Date: Jan 2003
Location: Danville, CA
Posts: 9
Team852 (DB) is an unknown quantity at this point
Obj-C and C++

Actually, I don't know of any backwards-compatibility problems with Objective-C.

There is the issue of loading standard UNIX libraries on Mac OS X, but that's not a problem involving Objective-C itself.

All C functionality can be used in Objective-C code. There is a main() function that works just as you would expect. You can freely intermix C and Obj-C.

Think of Objective-C objects as wrappers for functions and data.

So, instead of:

int foo;

int setfoo(int value)
{
foo = value;
}

int readfoo()
{
return foo;
}

setfoo(23);

printf("%d", readfoo() );



You would declare on Obj-C object:



@interface myObject : NSObject
{
int foo;
}
- (int) readfoo;
- (int) setfoo:(int)value;
@end

@implementation myObject

- (int) readfoo
{
return foo;
}

- (int) setfoo:(int)value
{
foo = value;
return foo;
}
@end

-------------
The above code encapsulates the variable foo, and all functions to work on it, in an objective-C object.

Now, to read the variable foo, and print it with printf, I can do the following:

printf("%d",[myObject readfoo]);

As you can see, it acts just like the C function that I wrote above, readfoo().

In this light, Objective-C is used to encapsulate all variables, and the operations on those variables in a single object. Furthermore, the @interface section can be placed in a header file, so all the developer has to do is find the object they want to use in that header file, and look up the methods they wish to call, and all the syntax therein. They don't need to know about how the object goes about its business. All they need to know is what the object returns, and what variables it expects on input.

You do not have to declare all methods in the interface either.

Also, it is OK to call a method that may not have been declared for an object.

It is also possible to intermix Obj-C and C++, though you cannot use a C++ object as if it were an Obj-C object.

I have not listed all of the advantages and points about Objective-C, please visit: http://developer.apple.com/documenta...al/ObjectiveC/
for more information on the Obj-C language.

You may notice that Objective-C does basically the same thing as C++ using object encapsulation. I believe that it does it in a cleaner, more understandable manner.

Last edited by Team852 (DB) : 26-09-2003 at 12:07.
  #101   Spotlight this post!  
Unread 26-09-2003, 13:47
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
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
  #102   Spotlight this post!  
Unread 27-09-2003, 12:03
Team852 (DB) Team852 (DB) is offline
Registered User
#0852 (The Athenian Robotics Collective)
 
Join Date: Jan 2003
Location: Danville, CA
Posts: 9
Team852 (DB) is an unknown quantity at this point
.

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.

Last edited by Team852 (DB) : 27-09-2003 at 12:06.
  #103   Spotlight this post!  
Unread 28-09-2003, 00:33
DougHogg DougHogg is offline
Robot-A-Holic
FRC #0980 (The ThunderBots)
Team Role: Coach
 
Join Date: Jan 2002
Rookie Year: 2002
Location: S. California
Posts: 324
DougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud ofDougHogg has much to be proud of
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.)
__________________
FIRST Team 980, The ThunderBots
2002: S. California Rookie All Stars
2004: S. California: Regional Champion,
Championship Event: Galileo 2nd seed,
IRI: Competition Winner, Cal Games: Competition Winner
2005: Arizona: 1st seed
Silicon Valley: Regional Champion (Thanks Teams 254 and 22)
S. California: Regional Runners Up (Thanks Teams 22 and 968)
  #104   Spotlight this post!  
Unread 25-10-2003, 13:23
Paul Paul is offline
lacks sanity
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Salem,NJ
Posts: 14
Paul is an unknown quantity at this point
Send a message via AIM to Paul
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.
  #105   Spotlight this post!  
Unread 26-10-2003, 12:46
Team852 (DB) Team852 (DB) is offline
Registered User
#0852 (The Athenian Robotics Collective)
 
Join Date: Jan 2003
Location: Danville, CA
Posts: 9
Team852 (DB) is an unknown quantity at this point
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Compatition Angela06 Programming 30 08-04-2005 23:12
New programming language next year? Mike Alighieri Programming 131 13-09-2003 20:51
PBASIC sucks maDGag Programming 31 29-01-2003 03:16
TI programming using Z80 assembly language Jeff Wong Chit-Chat 1 07-06-2001 01:27


All times are GMT -5. The time now is 14:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi