Go to Post FIRST is the best thing I could have ever done. It shows me where I think my limits are, and it destroys them right in front of my eyes. My experiences with FIRST have defined who I am, and I am beyond blessed to have had them. - Audrey Chu [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #27   Spotlight this post!  
Unread 29-01-2007, 02:18
ace123's Avatar
ace123 ace123 is offline
Registered User
AKA: Patrick Horn
FRC #0008 (Paly Robotics - http://robotics.paly.net/)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 50
ace123 has a spectacular aura aboutace123 has a spectacular aura about
Send a message via AIM to ace123
Re: What language do you use?

I would say Python all the way for an interpreted language.

The other day one of the programmers on my robotics team was asking about how to check if his joystick curve function was working. I was able to rewrite a prototype function in a python editor, stick a for-loop at the bottom the file, and run it, all in about 1-2 minutes (he was still explaining to someone about how it would or wouldn't work when I finished).

The really nice thing about Python is that it has hundreds of *useful* library functions, especially in the string and math realms. It has native BigInt support, and much else.

One problem is that it has no strict typing. This can also be a huge benefit if you are trying to use code intended for one thing for a completely different purpose.

I actually learned python as a scripting language for Vega Strike, but I'm so glad I know it now. Perl feels less "right" than python... too much syntax, and not enough sense to it.

Also, I would say C++ for best compiled language... It has a pretty nice library of functions, it's native, and it runs all C libraries with few hassles. It has some methods for garbage colleciton, and a lot of other features that make it really generous for a compiled language.

Speaking of C++, I've heard Objective-C (I've never used it however) is a nice language (though it hurts my eyes to look at it). It supposedly now has garbage collection support, yet it's compiled. I wonder how they did that...

Java and PHP are okay... but they feel messy. I used to really like PHP for web development, but I learned about Django which is a much more structured web development method written in Python.
__________________
-Patrick Horn, Paly Robotics

Check out the space simulator called Vega Strike, modelled after the space simulator games Elite and Wing Commander. It's Open Source too!
If you have ever played Wing Commander, or especially Privateer, and had a feeling of nostalga derived from the you will enjoy these two Vega Strike mods: Privateer Gemini Gold and Privateer Remake!
I'm working on adding multiplayer support this year...
 


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
What sensors do you use? StevenB Programming 18 06-04-2006 23:33
Drivetrain, what did you use? maclaren Technical Discussion 42 15-02-2004 21:09
What view do you use? Brandon Martus CD Forum Support 10 02-12-2003 17:32
What do you YOU use your bins for? AlbertW General Forum 40 13-04-2003 04:18
What Foreign language did/are you taking in High School? Tom Fairchild Chit-Chat 34 31-07-2001 21:00


All times are GMT -5. The time now is 15:31.

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