Thread: java to pbasic
View Single Post
  #11   Spotlight this post!  
Unread 09-01-2003, 19:15
Noah's Avatar
Noah Noah is offline
Code Monkey
#0861 (The Gondobots)
Team Role: Programmer
 
Join Date: Apr 2002
Location: Venice, California
Posts: 139
Noah has a spectacular aura aboutNoah has a spectacular aura about
Send a message via AIM to Noah
I think that with the changes in PBASIC 2.5, it is becoming a repectable language. I think the biggest thing about it that bothered me was the syntax for the IF/THEN statements (IF condition) THEN address: ), but that has been changed!! (IF (condition) THEN codeGoesHere! ). That's a major improvement. It means that the code is suddenly a LOT cleaner, with a lot less jumps around the code. I already wonder how I got along without that...

I feel that PBASIC provides a very good medium for the FIRST robotics competition programming. First, it's related to BASIC, which is a very popular language that is (pardom the pun) very basic. It's easy for novice teams to grasp, and allows Innovation first to use the inexpensive BASIC Stamps by parallax to power the robot controllers. In addition, PBASIC allows novice programmers robots to perform almost as well as those of the veteran programmers. (I know that many of you might disagree with that statement, but I believe it to be true.)

Also, while the PBASIC Stamps provide enough processing power and memory for our needs, we still must learn to conserve space, keep code short and optimized, and write it efficiently. (This would be where an experienced programmer can defeat the novice)

With all that said, is anyone planning on running checks testing the efficiency of PBASIC 2.5 code versus 2.0 code? I would be interested to see which runs faster. If no one else is, I would run a couple tests.
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"

"We can fix it in the software!"
"It's a BROKEN GEAR!"