Go to Post CAD or it didn't happen - R3P0 [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

 
 
Thread Tools Rating: Thread Rating: 4 votes, 3.75 average. Display Modes
Prev Previous Post   Next Post Next
  #17   Spotlight this post!  
Unread 09-12-2003, 03:08
Jay Lundy Jay Lundy is offline
Programmer/Driver 2001-2004
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Jun 2001
Rookie Year: 2001
Location: Berkeley, CA
Posts: 320
Jay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to allJay Lundy is a name known to all
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).
 


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 16:55.

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