Go to Post I saw Dave Lavery on the Webcast. And he winked at me! - Tetraman [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-09-2008, 12:38
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Why to use LV/C++/C?

Hey guys,

The text in the middle is quite insignificant for the topic and I decided to keep it 'cause maybe someone would like to comment about. But if not, so you can just skip it all and go down to the rest of the topic. If you really want to read it, just mark the text area.

I'll be the veteran of the programming team this year. I'll be helping out the younger sub-team members while they do all the hard working, and I'll help fix major errors in critical times.
I've been programming with C for the past two years and I've taken courses of C and C++ way before FIRST, so when it comes to the point of this year's decision of which programming language to use (Labview, C or C++) I'll with no doubt chose C/C++ over Labview, since writing raw code is more appealing and more challenging to me and it is quite clearer for me to understand the logic of the algorithim than in LV.

Right now, the only programming invorment that is available to us is MPLab and Labview. Since we're looking ahead towards 2009, we're looking only at Labview.

The younger members have taken it to themselves to learn programming Labview (and they've done it splendidly, they're (almost) literaly masters in it) and they taught the rest of us the basic use of LV. I still felt a bit intimidated by the use of Visual blocks to draw a flowchart.

Now, I have nothing to use right now, to show them that writing in C++ is probablly better than using LV (except of explaining the genreal uses of principals of C++ [Object Orianted Programming,....and other stuff.] that can be used for programming the robot). I don't have any way to show that to them, not untill a default code + instructions to use Windriver's Workbench are released.

So, what I'd like to do is start a discussion ('cause I'm quite sure this hasn't been done "formaly" before) about the pro's and con's of using Labview and C++ for programming the robot this year.
__________________
TEAM 2230 ZECHARIA'S ANGELS

2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!!
---------------------------------
2008 Microsoft Israel FRC Regional semi-finalist.
2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner.
2008 Robot Driver
---------------------------------
2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.

Last edited by Bomberofdoom : 06-09-2008 at 12:46.
  #2   Spotlight this post!  
Unread 06-09-2008, 13:30
Andrew Schreiber Andrew Schreiber is offline
Data Nerd
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,055
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Why to use LV/C++/C?

I think the goal is that they are functionally equivalent, that is, they both have the same capabilities and efficiency. I believe the reason for that goal is to allow the programmer(s) to choose which one they prefer to use. Some of us are more comfortable using text based languages rather than flowchart like programming languages.

I think the list of pros and cons will be too programmer specific. Similar to why some people like c++ and others like java. For some people one works and is more efficient for others it is the opposite. Personally I like LV because I don't know c++. But if our programmers decide they want to use c++ because they feel more comfortable in it that is fine for them.
__________________




.
  #3   Spotlight this post!  
Unread 06-09-2008, 13:33
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Why to use LV/C++/C?

The discussion of which language to use for **** has been repeated many times, in many ways. However, it's useful to have the discussion here with LabView and C++ as the subjects.

Most discussions boil down to one point: Use the language with which you are most comfortable.

LabView can do anything that can be done in C++, and vice-versa. For a less experienced programmer, LabView's graphical interface may be easier to develop into complex structures, but that really depends on the person - some people are not wired for graphical interfaces and prefer text.

Both are very common in industry, so learning one or the other isn't particularly useless. Learning both is good, too. C++ is far more common, but not many engineers would have much need to be other than familiar in passing, whereas LabView is really used heavily in engineering, since it interfaces with so much instrumentation. Of course, if you're not planning to be an engineer, this is moot.

I know and use both, albeit for widely different kinds of tasks. For FRC, my personal choice is LabView, as Ii find it better suited to the task-oriented nature of robot programming. Again, this is my personal preference; yours may differ
__________________

I am N2IRZ - What's your callsign?
  #4   Spotlight this post!  
Unread 06-09-2008, 18:28
Robostang 548's Avatar
Robostang 548 Robostang 548 is offline
I can program the future...
AKA: Don
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Northville Mi
Posts: 69
Robostang 548 is on a distinguished road
Send a message via AIM to Robostang 548 Send a message via MSN to Robostang 548 Send a message via Yahoo to Robostang 548
Re: Why to use LV/C++/C?

Our team is struggling with the question ourselves. While we want to use C++, we understand that LabView has some strengths that we would like to take advantage of. We be believe it will be easier to do our vision programming as well as interfacing our sensors with LabView. We hope to then using LabView's external code capabilities to interface the stuff LabView's doing with our C++ code.
__________________

Team 548:
Attending National Championship, Genesee District, Detroit District 2, West Michigan District, Michigan Championship?


  #5   Spotlight this post!  
Unread 06-09-2008, 19:09
ATannahill ATannahill is online now
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,229
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Why to use LV/C++/C?

Our team is going with LabView because it is what our mentor uses at work, and students learn it if they are in the engineering academy.
  #6   Spotlight this post!  
Unread 06-09-2008, 20:37
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,131
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Why to use LV/C++/C?

One of the main reasons we will be using C/C++ is that it requires less overhead and setup. LabVIEW is a fairly large and resource-intensive program, and based on past experience (with the CMUCam) we think that it would be more of a hassle to install and get running on every computer we want to program on (whereas all you really need for C/C++ is a text editor).

Given that we have mentors and students who are already familiar with C/C++, and that all indication to date has been that the control system will have the same functionality either way, there just isn't enough incentive for us to switch.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
  #7   Spotlight this post!  
Unread 06-09-2008, 20:53
R.C.'s Avatar
R.C. R.C. is offline
2017... Oooh Kill em, Swerve!
AKA: Owner, WestCoast Products
FRC #1323 (MadTown Robotics)
Team Role: Engineer
 
Join Date: Feb 2008
Rookie Year: 2006
Location: Madera, CA
Posts: 2,172
R.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond repute
Re: Why to use LV/C++/C?

Quick question to everyone, does labview have the same amount of power as C/C++ and how long does it to make code on labview then on C/C++ IDE.
__________________
R.C.
Owner, WestCoast Products || Twitter
MadTown Robotics Team 1323
  #8   Spotlight this post!  
Unread 07-09-2008, 00:21
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Why to use LV/C++/C?

Depends how fast you write (C/C++) and how fast you click, drag and type (Labview).

But really, it all depends on how easier it is to you in think about the code in each IDE's enviorment (text-written or graphical presentation).

Now that you mention the point of speed, it doesn't matter how fast you can create blocks or code, but what matters is how easy it is to find solutions to algorithim problems in each enviorment, because no matter how smart you are, most of the chances are that you will encouter bugs in your code (or the robot will respond unexpectidly) and you'll want to be able to figure out that problem using the best debuging tools out there.
__________________
TEAM 2230 ZECHARIA'S ANGELS

2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!!
---------------------------------
2008 Microsoft Israel FRC Regional semi-finalist.
2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner.
2008 Robot Driver
---------------------------------
2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.

Last edited by Bomberofdoom : 07-09-2008 at 00:34.
  #9   Spotlight this post!  
Unread 07-09-2008, 04:11
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Why to use LV/C++/C?

Our team will be using C++ for all of the reasons that have been mentioned already. While I will admit I haven't worked with LabVIEW, I personally prefer writing raw code as opposed to designing a program using a graphical interface. I have also already created some data structure classes in C++ that I hope to implement this year. Our code team is also fairly well-versed in C++ and I look forward to showing it to the new members of the code team.
__________________
  #10   Spotlight this post!  
Unread 07-09-2008, 11:25
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Why to use LV/C++/C?

There are so many ways to do the comparison. Years ago I read a book on comparing languages, and I thought their system was a pretty good one.

My disclaimer -- I work for NI, on LV. That means I'm a C/C++ programmer, and I also program in LV. My opinion is that they both have their strengths, and that is as it should be. In Atlanta, the question came up, "What is the most important language for the kids to learn?" There are many answers this, but my favorite answer is that the most important computer language for you to learn is your second one.

Learning a language gives you a logic tool. You begin to look at problems from the perspective of that tool. It is the "If you are holding a hammer, everything looks like a nail" psychology. Learning a second language, especially one that is considerably different, results in having a second perspective, and learning the tradeoffs and interplay. Hopefully the second language also opens the eyes to the possibility of other language features, perhaps ones that haven't even been invented yet. To keep with my analogy, learning about other fasteners such as screws, bolts, clips, adhesives, etc. really gets started once you change your point of view and realize that the hammer and nail, while they are amazing, aren't the only tools in the modern toolbox.

The book on comparing programming languages was "Comparative Programming Languages" by Wilson and Clark. No, it doesn't cover LV, but it does break down the elements that they think are most useful to measure when looking at languages for a comparison. It is also useful to see the different ideas that languages implement, and to watch that change over time.

Inspired by their categorization, I normally condense this to, Expressive Power, Simplicity & Orthogonality, Implementation, Error Detection & Correction, Correctness and Standards.

If I were to go into each of these for both LV and C, it would be a mega-post, and besides, I think it is better for people to do it on their own and come to their own conclusions.

As an example, C++ scores better on expressive power than C does. Why? They both have the ability for the user to declare new functions, new variables, and even new types. But C++ goes further to allow for operators like + and - to be expanded for new types, and allows for the -> to be used to dispatch to class member functions. C++ also has additional keywords. This power comes at a price, however, as the sorts of errors you can receive from the compiler go way up, and the overall simplicity goes down.

Finally, while most new users initially focus on the text versus graphics difference, this is pretty superficial. There could be a graphics C. Arguably you've already seen that. There could be a textual LV, but defining parallel graphs in text is fundamentally hard and we have instead headed down the graphics road. A more fundamental difference is that C/C++ are procedural languages or imperative languages whereas LV is mostly a functional language. These terms may not mean much, but they are the more important ones to look up and think about.

I don't have a great analogy, but that won't stop me from trying one anyway. An imperative language to me is like driving a vehicle with a manual transmission. There are discrete gears, combined in various ratios to direct the engine rotation to the wheels. You control this with a clutch, a shifter, possibly more if in a semi or farm equipment where I can control other differentials. Fundamentally I'm exposed to the implementation and am expected to manipulate the system at that level. Not all settings make sense, and grinding of gears, getting stuck in neutral, and stalling the engine are all common occurrences, especially until you learn the system quite well. But once you understand the system, it is quite powerful and adaptable.

A functional language in this analogy is more like an automatic transmission system. Fundamentally the big difference is that the driver specifies what the outcome should be, but not the intermediate details. It may be as simple as F-N-R and a pedal. You still control the velocity of the vehicle, but you have traded control for simplicity. When you inspect the automatic transmission system you may find that it is really a manual with an automated shifter, or you may find a CVT or hydrostatic where it isn't even easy to compare them any longer. A CVT isn't limited to a small number of gear combinations, so is it better than a limited manual transmission? Or is it inferior because of the limits on the amount of power it can transfer?

Different approaches to the same problem. Isn't it better to focus on understanding both than to be dogmatic about it?

Greg McKaskle
  #11   Spotlight this post!  
Unread 07-09-2008, 17:52
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Thumbs up Re: Why to use LV/C++/C?

Quote:
Originally Posted by Greg McKaskle View Post
"What is the most important language for the kids to learn?" There are many answers this, but my favorite answer is that the most important computer language for you to learn is your second one.
I wholeheartedly agree with you on this. My first language was Visual Basic.NET, and then through FIRST robotics I learned C, then taught myself C++. The first language really taught me how to "think like a programmer," but the second language really broadens your horizons.

Quote:
Originally Posted by Greg McKaskle View Post
As an example, C++ scores better on expressive power than C does. Why? They both have the ability for the user to declare new functions, new variables, and even new types. But C++ goes further to allow for operators like + and - to be expanded for new types, and allows for the -> to be used to dispatch to class member functions. C++ also has additional keywords. This power comes at a price, however, as the sorts of errors you can receive from the compiler go way up, and the overall simplicity goes down.
Agreed, but once you learn how to wield that power I have found that C++ (in my opinion) can be used to make programming much easier to understand. Object-Oriented Programming in C++ such as allowing functions to be members of objects make code much less abstract and easier to follow since things are gouped together. Yes, learning OOP can be very challenging because it forces you to think completely differently, but once you become well-versed in it I have found that it makes life easier. Which brings me to...

Quote:
Originally Posted by Greg McKaskle View Post
A more fundamental difference is that C/C++ are procedural languages or imperative languages whereas LV is mostly a functional language. These terms may not mean much, but they are the more important ones to look up and think about.
I'm confused by what you're saying by this. While C is procedural or imperative, C++ is Object-Oriented. Of course you can write procedurally in C++ just like you would in C, but by taking advantage of the object-oriented approach offered in C++ you can make your programs much less procedural, like I mentioned above.

Quote:
Originally Posted by Greg McKaskle View Post
I don't have a great analogy, but that won't stop me from trying one anyway. An imperative language to me is like driving a vehicle with a manual transmission. There are discrete gears, combined in various ratios to direct the engine rotation to the wheels. You control this with a clutch, a shifter, possibly more if in a semi or farm equipment where I can control other differentials. Fundamentally I'm exposed to the implementation and am expected to manipulate the system at that level. Not all settings make sense, and grinding of gears, getting stuck in neutral, and stalling the engine are all common occurrences, especially until you learn the system quite well. But once you understand the system, it is quite powerful and adaptable.

A functional language in this analogy is more like an automatic transmission system. Fundamentally the big difference is that the driver specifies what the outcome should be, but not the intermediate details. It may be as simple as F-N-R and a pedal. You still control the velocity of the vehicle, but you have traded control for simplicity. When you inspect the automatic transmission system you may find that it is really a manual with an automated shifter, or you may find a CVT or hydrostatic where it isn't even easy to compare them any longer. A CVT isn't limited to a small number of gear combinations, so is it better than a limited manual transmission? Or is it inferior because of the limits on the amount of power it can transfer?

Different approaches to the same problem. Isn't it better to focus on understanding both than to be dogmatic about it?
That actually turned out to be a beautiful example. The reasons I love C++ are the ones you mentioned above. At first, things don't make sense, don't work, and seem to vex you at every turn. But once you get the hang of it, you realize that you have an incredibly powerful and flexible tool at your disposal. The downside is that programs can take longer to develop. I personally don't mind this, however, because I enjoy working "under the hood" and being more in control (perhaps it's just because I'm obsessive-compulsive ). I would also like to take the chance to look at LV though to see how it works and what advantages it has, even though our team will be coding in C++ this year.
__________________

Last edited by slavik262 : 07-09-2008 at 20:42.
  #12   Spotlight this post!  
Unread 07-09-2008, 18:45
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Why to use LV/C++/C?

(C/C++ is procedural, LV is functional)
Quote:
Originally Posted by slavik262 View Post
I'm confused by what you're saying by this. While C is procedural or imperative, C++ is Object-Oriented.
You should probably look up what "functional programming" means (try Wikipedia). Being Object-Oriented doesn't appreciably change C++'s imperative nature. What you've written seems similar to "While an orange is a fruit, a navel orange is seedless."
  #13   Spotlight this post!  
Unread 07-09-2008, 19:59
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,979
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Why to use LV/C++/C?

Quote:
Originally Posted by Greg McKaskle View Post
There could be a graphics C.
There is, we call it "Easy C".
__________________

I am N2IRZ - What's your callsign?
  #14   Spotlight this post!  
Unread 07-09-2008, 20:41
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Why to use LV/C++/C?

Quote:
Originally Posted by Alan Anderson View Post
(C/C++ is procedural, LV is functional)


You should probably look up what "functional programming" means (try Wikipedia). Being Object-Oriented doesn't appreciably change C++'s imperative nature. What you've written seems similar to "While an orange is a fruit, a navel orange is seedless."
Ah. Thank you for clearing that up.
__________________
  #15   Spotlight this post!  
Unread 07-09-2008, 20:44
lasereyes's Avatar
lasereyes lasereyes is offline
College Student Mentor
AKA: Farzin Fatollahi-Fard
FRC #2551 (Penguin Empire)
Team Role: Alumni
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Novato, CA
Posts: 114
lasereyes is an unknown quantity at this point
Send a message via AIM to lasereyes
Re: Why to use LV/C++/C?

Quote:
Originally Posted by Don Rotolo View Post
There is, we call it "Easy C".
Will there be an EasyC option next year?
__________________
FRC #2551 (FTC #646): Penguin Empire
2008 Rookie Team
2008 UC Davis Sacramento Regional Finalists (thanks to 1388, 1072, and 2390)
2008 UC Davis Sacramento Regional Highest Rookie Seed (#2!)

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
Why Not Use ISM band? Mr-Shutter Control System 8 06-06-2007 21:03
Why you should use Gmail Nathan Chit-Chat 5 22-02-2007 00:20
Why use the RC to control Pan/Tilt Joe Hershberger Programming 15 30-01-2007 23:41
Why would you use FIRSTwiki? Max Lobovsky FIRSTwiki 4 18-07-2004 23:59
Why can't you use 255 in PWM? Andrew Technical Discussion 4 29-05-2003 14:50


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

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