View Single Post
  #7   Spotlight this post!  
Unread 26-02-2003, 09:34
Adam Krajewski's Avatar
Adam Krajewski Adam Krajewski is offline
Registered User
AKA: Jewski
None #0857 (Superior Roboworks) / Team #0068 (Truck Town Thunder)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Da U.P., Eh
Posts: 83
Adam Krajewski is on a distinguished road
Re: Re: Basic Stamp Editor v2.0 Beta 1

Quote:
Originally posted by Raven_Writer
Goto's are a little confusing, but the if/then, select/case/end selects are more confusing. If they made the language like VB, than it would be better.
*cringes*
VB?
When I see VB in embedded systems, I'm becoming a material scientist instead of an electrical engineer.
I'll stick with a tried and true if...then..else and select...case iterative language for FIRST robot programming.

Gotos aren't the problem, it's how people use gotos. In the case of PBASIC 2, it's all you had to create looping structures. On the other hand, you could also weave your code into a indecipherable mound with intertwining gotos.

The if...then...goto structure was completely reverse logic to me. "If true, skip to the goto" made no sense to me because I wrote it like a standard if...then statement only using the opposite logic. Very confusing. I much prefer the standard if...then..else structure of PBASIC 2.5.

For more advanced designs, java may be the answer. 2.5 still gives me a leap in faith of PBASIC, though.

Adam
__________________
"My favorite programming language is solder."
- R A Pease