Go to Post I guess you really do learn something new everytime you go to a FIRST competition. - Elgin Clock [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
  #46   Spotlight this post!  
Unread 02-01-2003, 21:51
Suneet Suneet is offline
Physicist-In-Training
None #0599 (RoboDox)
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2001
Location: Los Angeles, CA
Posts: 245
Suneet is a splendid one to beholdSuneet is a splendid one to beholdSuneet is a splendid one to beholdSuneet is a splendid one to beholdSuneet is a splendid one to beholdSuneet is a splendid one to beholdSuneet is a splendid one to beholdSuneet is a splendid one to behold
Send a message via ICQ to Suneet Send a message via AIM to Suneet
I noticed in this: http://www.chiefdelphi.com/forums/sh...threadid=15704 thread that someone was having trouble getting a button to open a window with Visual C++. With Visual Basic, we wouldn't even have to think about a simple thing like that. I've never used C++ (Otherwise, I only use JavaScript/ActionScript), but unless your program is running fast fourier transformations, doesn't Visual Basic seem to be a better choice for building Windows apps? Speed isn't*that* important here, as the stuff you're doing isn't that intense.

Go Flash MX! Coding in binary? /me shakes head
  #47   Spotlight this post!  
Unread 02-01-2003, 22:03
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Suneet
With Visual Basic, we wouldn't even have to think about a simple thing like that.
Yes, you would. When you're first learning any language simple things like that can be a pain--it took me three hours to figure out how to delete an entry from a tree view control when I first started.

As for VB versus VC++ in general, my biggest gripe with VB is that it has zero portability. If you write your C++ code correctly, you can very easily separate the MS specific portions from the core functions, making it much easier to port to other systems. RoboEmu only took a day-and-a-half to port to Linux because of this. If I had written it in VB, I would have had to start from scratch. On the other hand, VB does some things amazingly quickly and easily. At some point, I'll sit down and learn it a little better.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #48   Spotlight this post!  
Unread 03-01-2003, 08:29
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
threading

VB doesn't have built-in thread support and does not support inheritance. This is aggravating sometimes because it has partial support of interfaces. The only way I know of doing asynchronous processing with VB is to compile the forked portion into an ActiveX exe and use callbacks or events.

The .NET framework changes everything. There is no reason at all to code in managed C++, as far as I can tell. There is no runtime execution speed difference between managed C++, C#, and VB.NET. You can pick whichever you feel comfortable with and not be penalized.
  #49   Spotlight this post!  
Unread 04-01-2003, 18:54
Patrik Patrik is offline
Registered User
no team
 
Join Date: Jan 2002
Location: Hampton, Va, USA, Earth, The Matrix
Posts: 15
Patrik is an unknown quantity at this point
Send a message via ICQ to Patrik Send a message via AIM to Patrik
The whole .Net architecture is a scary idea. It is generally working towards one thing, subscription based licenses. They want you to pay them so ammount of money per month to use office and of course this is not going to be a steady amount it will probably increase and will cost you even more.

The reason C# is about the same speed as C++ is because they both go through the same optimizer so of course they are about the same speed. It probably works the same as the GNU compilers work (Gnu FORTRAN and Gnu C produce similar results) But as someone stated they're both much slower than the 6.0 counterparts. FYI, compiled VB code has in general just been calls to the ol' VBRUNXXX.DLL and so it was never all that fast because it was jumping around in library calls. I think newer versions may actually compile but it's still at a high enough that the functions are very unoptimized.

Assembly is in general faster than compilers since most compilers are about a generation behind in generating optimized code (like the current generation of compilers can only generate optimized code for the P3 (except of course in the case of the Intel compiler which is usually ahead of the general compilers). Of course P4 has been out for a while now and this may not be so much the case anymore, but back in the day...

Best OOP: Objective C a more thoughtful hack than C++ IMHO and yes neither of them are new languages they're really just hacks that live ontop of C
Best Parser: Perl
Best Web: PHP
Best IDE: Project Builder from Mac OS X DK
Best for Games: C (C++ has too much overhead)
Best OS: Linux, leaning towards OS X
Best FPGA Programming: Viva

And of course Scheme and Lisp deserve mention, especially the MIT implementation of scheme. I did a Crypto course this semester and except for the parsing algo's used for the classic crypto systems I worked almost entirely in scheme. Scheme gets a lot of power of smart recursion, weak data typing, and from arbitrary data types. I think if you can program in this and an interative language well then you'll be a much more well rounded programmer.

Patrik
__________________
Patrik
To iterate is human, to recurse, divine. -- Robert Heller
  #50   Spotlight this post!  
Unread 06-01-2003, 21:41
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
I guess my 1st choice would have to be VB since I have used it the longest (continuously). I do, though, enjoy working in C++ though it is definately a much harder language. Of course, Flash is always fun but not too powerful...
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
  #51   Spotlight this post!  
Unread 07-01-2003, 01:28
yaman's Avatar
yaman yaman is offline
Registered User
#0691 (Hart Burn)
 
Join Date: Nov 2002
Location: Santa Clarita, CA
Posts: 9
yaman is an unknown quantity at this point
Send a message via AIM to yaman
Red face :(

I think your choices aren't very extensive... you also forgot the most important one:

It depends on the situation.

Next time, don't forget PHP, Perl, Python, C, and all our personal favorites... assembly....


*rolls eyes*
No, I do not know asssembly.


Edit: Oh yeah and I forgot to mention, Java is evil and should be obliterated from the face of the earth. Thank you.
__________________
Linux is the answer, now what was your question?
  #52   Spotlight this post!  
Unread 07-01-2003, 01:52
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Re: :(

Quote:
Originally posted by yaman


Edit: Oh yeah and I forgot to mention, Java is evil and should be obliterated from the face of the earth. Thank you.
Java has a slower run time and takes up more resources
therefore
Java = Time * Resources
Time = Money
Resources = Money
Java = Money * Money
Java = Money^2
Money is the square root of all evil
therefore money = evil^1/2
money^2 = evil^2/2
furthermore
java = EVIL

Yeah, theres not enough choices...

Order of prefeference....C, C++, PHP, HTML STUFF, Flash, Perl, ASP, JavaSCRIPT, PBASIC(pbasic even comes before java), Java (eww), VB (then vb the evil limited language, you can't use semi-colons!!!! And it brings up like 3 message boxes if you start coding in C for one second.)

Operating System: Linux > windows
^ greater than sign

I hate java, although my java game (AP CMPSCI) (beat up Mr. Lund) is quite fun...
__________________
R
  #53   Spotlight this post!  
Unread 07-01-2003, 20:28
Adam Shapiro's Avatar
Adam Shapiro Adam Shapiro is offline
Registered User
FRC #0555 (Montclair Robotics)
Team Role: Alumni
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Montclair, NJ
Posts: 401
Adam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud ofAdam Shapiro has much to be proud of
Send a message via AIM to Adam Shapiro
I agree with your java theory. Java has a tendency to ruin the best coders... I would rather stick with the standards (Perl, PHP, etc.)...
__________________
Mentor to Teams 555, 1929, and 2070!
Currently working in hardware design at Cisco.
Cornell University DARPA Urban Challenge - http://www.cornellracing.com
Co-Captain Team 555 - 2003,2004,2005
Trust, Love, and Magic
  #54   Spotlight this post!  
Unread 07-01-2003, 23:01
Mongoose's Avatar
Mongoose Mongoose is offline
Registered User
#0948 (Newport Robotics Group (NRG 948))
 
Join Date: Oct 2002
Location: Bellevue, WA
Posts: 45
Mongoose is an unknown quantity at this point
Send a message via AIM to Mongoose
That java theory was actually first used for girls:
Girls = time * money...
Java is really slow and takes up a lot of resources on my computer; I remember bringing up the task manager and seeing that java.exe took 30 MB of RAM, which was by far the largest consumer of resources. I think I'll consider Java more seriously when they get it faster and more compact. I've been working Perl a lot lately and I've got to say that I'm spoiled by not having to declare anything except for #!/usr/bin/perl. But the pattern matching works like magic and I think it really is a practical language for extraction and reports.
  #55   Spotlight this post!  
Unread 08-01-2003, 00:05
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Quote:
Originally posted by Mongoose
That java theory was actually first used for girls:
Girls = time * money...
Hehe, so. It still works.
__________________
R
  #56   Spotlight this post!  
Unread 08-01-2003, 08:59
KrazyKarl's Avatar
KrazyKarl KrazyKarl is offline
Mr. Battery
FRC #0703 (Phoenix)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Saginaw,MI
Posts: 6
KrazyKarl is an unknown quantity at this point
COME ON EVERYONE!!!!!!!!!!!!!!!!!!!!


GO TI-BASIC
__________________
Aliens Ate My Babies.
  #57   Spotlight this post!  
Unread 08-01-2003, 10:14
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
Quote:
Originally posted by Adam Shapiro
I agree with your java theory. Java has a tendency to ruin the best coders... I would rather stick with the standards (Perl, PHP, etc.)...
Perhaps you have a completely different idea of "standards" than I do. PHP isn't really a programming language. It's much more a scripting language (you don't tend to write programs in PHP, you write dynamic web pages with it; yes it is possible to write programs in PHP). Perl is also mostly a scripting language in that you tend to use it to automate tasks (again, not always; it's used more as a programming language than PHP).

I have no idea why you'd say Java ruins the best coders. Java is fairly good at teaching Object-Oriented Programming which is really a must when using structured design.

Matt
  #58   Spotlight this post!  
Unread 08-01-2003, 10:22
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Quote:
Originally posted by Matt Leese
Java is fairly good at teaching Object-Oriented Programming which is really a must when using structured design.
I agree, and evidently so do many colleges & universities. A lot of them start out teaching Java in their intro classes.
__________________
Brandon Martus
e-mail
  #59   Spotlight this post!  
Unread 08-01-2003, 10:29
LBK Rules's Avatar
LBK Rules LBK Rules is offline
1467 '06 Alumni
AKA: Anthony Rinaldi
no team (HSRO)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Henrico, VA
Posts: 438
LBK Rules will become famous soon enoughLBK Rules will become famous soon enough
You forgot Visual Basic 6. (Not .NET)
__________________
Anthony Rinaldi
Team 1132: 2003
Team 1467: 2004 - 2006
  #60   Spotlight this post!  
Unread 08-01-2003, 14:35
jeremy562 jeremy562 is offline
Engineer
#0562 (SPARK 562)
 
Join Date: Feb 2002
Location: Fitchburg, MA
Posts: 74
jeremy562 is an unknown quantity at this point
Send a message via AIM to jeremy562
QBasic? Do people still use that? I know I did quite a bit, but after I learned some stuff that was actually useful, I haven't touched it!

My lang of choice is C++, and ASP or PHP for web scripting, depending on what the server is. I'm not a huge fan of Java, but J2EE is a pretty nice set of technologies.

I'm strongly against applets, however. The web was meant to be thin client! You can do just about anything with simple HTML/JS/CSS.
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:19.

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