Go to Post I don't know about the rest of you, but I do this to give kids an opportunity that I never had. - Jack Jones [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 10-05-2011, 08:18
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
Who to Choosing Between programming language?

Choosing Between programming language
Which reasons for choosing on programming language over the other? Choosing Between C++ and Java or LabVeiw.]
My Question is which parameter I should concern for choosing the programming language such as : Friendly to use; simplest; etc..
__________________
TEAM 1946-Tamra
  #2   Spotlight this post!  
Unread 10-05-2011, 08:43
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,276
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Who to Choosing Between programming language?

Quote:
Originally Posted by yara92 View Post
Choosing Between programming language
Which reasons for choosing on programming language over the other? Choosing Between C++ and Java or LabVeiw.]
My Question is which parameter I should concern for choosing the programming language such as : Friendly to use; simplest; etc..
Mohamed,

I would recommend using whatever language your team members (students and mentors) have the most experience with. All three languages are equally capable and more powerful than necessary for FRC. If your experience is roughly equal in all languages then here are some of the benefits of each to consider.

C++: C and its variations are the most common languages used in industry and academics today. Applications for C++ range from embedded software through high level applications programming. Learning C++ would likely give students an advantage if they pursue engineering at university.

Java: Java is similar in complexity to C++. It has the advantage of being platform independent (meaning that code you write for one operating system should work on a Java VM for any operating system. Java is not as popular in industry as C/C++ but it is still used. In the US Java is the most popular language for High School students to learn because it is used on the Advanced Placement test for college credit. Learning to program in Java makes it a lot easier to learn to program in C++ later, most of the skills are transferable between the two languages.

LabVIEW: LV is a much more application specific language. There are plenty of companies that use LV but there are even more that don't. LV is fast and powerful and National Instruments provides fantastic support. In my opinion LV is the fastest and easiest way to get a robot programmed, if those are the most important things to you I strongly recommend LV.

In general I would say that you can pretty much flip a coin between Java and C++. I think the bigger decision is whether you want to use LabView or one of the traditional languages (Java/C++). I think LabView is the easiest to learn and get started with but I think that there is great value in teaching students one of the other languages. The skills learned using Java and C++ are easily transferred to other languages later. These same skills can be learned using LabView but because of LabView's graphical nature it is much easier to get away with poor coding practices.

Over all there is no one right answer, as a team you need to weigh the pros and cons of each language and decide what is best for you.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #3   Spotlight this post!  
Unread 10-05-2011, 08:52
Rosiebotboss's Avatar
Rosiebotboss Rosiebotboss is offline
2015-16 Divisional LRI - Archimedes
AKA: Dana P. Henry
FRC #0839 (Rosie Robotics)
Team Role: Mentor
 
Join Date: Nov 2002
Rookie Year: 2002
Location: Agawam, MA
Posts: 853
Rosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond reputeRosiebotboss has a reputation beyond repute
Send a message via AIM to Rosiebotboss
Re: Who to Choosing Between programming language?

What language does your programming mentor have the most experience with? That's the language you should use.

Rosie's programming mentor uses Labview every day in his job and teached programming at a local University at night. Hence our student programmers are VERY proficient with LabView.
__________________
Co-Founder/Mentor FRC Team 839 / JrFLL Team 137/Rosie Robotics/Agawam HS
Winner NEF District WPI 2016
Regional CA-08 Boston, 12 WPI, Eng'g Excellence, 12-15 UL Safety, 15 Motorola Quality
KPCB Entrepreneurship 04, 05, 06, 07, 10, 11, 13, 14, 15, 16
Rookie All Star and Top Rookie Seed 2002
Paul Harris Fellow, CMP Inspector 05-16, Head LRI NE FIRST JTB 1944-2008 "What did you do with your dash?"
  #4   Spotlight this post!  
Unread 10-05-2011, 09:18
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Who to Choosing Between programming language?

Quote:
Originally Posted by Rosiebotboss View Post
What language does your programming mentor have the most experience with? That's the language you should use.
This.
  #5   Spotlight this post!  
Unread 10-05-2011, 09:57
yara92's Avatar
yara92 yara92 is offline
M.Fawdah Mechanical engineering
AKA: Mohamed
FRC #1946 (Mechka Monster)
Team Role: RoboCoach
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Israel
Posts: 236
yara92 will become famous soon enoughyara92 will become famous soon enough
Re: Who to Choosing Between programming language?

Quote:
Originally Posted by Rosiebotboss View Post
What language does your programming mentor have the most experience with? That's the language you should use.

Rosie's programming mentor uses Labview every day in his job and teached programming at a local University at night. Hence our student programmers are VERY proficient with LabView.
The equation is more complicate than what does the mentor know, I am locking for FRC as it is the First step for the kids for the future and continuo their academic studies.
Secondly my team 75% is smart girls, I always telling them for me in Science there is no compromise like or dislike. There is advantage and disadvantage then you need to weigh the pros and cons.
__________________
TEAM 1946-Tamra
  #6   Spotlight this post!  
Unread 10-05-2011, 10:19
mathking's Avatar
mathking mathking is offline
Coach/Faculty Advisor
AKA: Greg King
FRC #1014 (Dublin Robotics aka "Bad Robots")
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 1999
Location: Columbus, OH
Posts: 634
mathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond repute
Re: Who to Choosing Between programming language?

I think JamesBrown nicely summarized the pros and cons of the languages. I will add an observation of my own: Any students interested in programming as a career will learn C++ and Java in college. But they might not learn LabView or another language and development environment like it, so there is some advantage to using LabView from that perspective.
__________________
Thank you Bad Robots for giving me the chance to coach this team.
Rookie All-Star Award: 2003 Buckeye
Engineering Inspiration Award: 2004 Pittsburgh, 2014 Crossroads
Chairman's Award: 2005 Pittsburgh, 2009 Buckeye, 2012 Queen City
Team Spirit Award: 2007 Buckeye, 2015 Queen City
Woodie Flowers Award: 2009 Buckeye
Dean's List Finalists: Phil Aufdencamp (2010), Lindsey Fox (2011), Kyle Torrico (2011), Alix Bernier (2013), Deepthi Thumuluri (2015)
Gracious Professionalism Award: 2013 Buckeye
Innovation in Controls Award: 2015 Pittsburgh
Event Finalists: 2012 CORI, 2016 Buckeye
  #7   Spotlight this post!  
Unread 10-05-2011, 10:56
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: Who to Choosing Between programming language?

Quote:
Originally Posted by Rosiebotboss View Post
What language does your programming mentor have the most experience with? That's the language you should use.
I don't think it's that simple.

I had no real experience with LabVIEW when it became an option. I chose to focus on it partly because of that. I didn't keep falling into the trap of wanting to do things myself because I could do it faster. Now that I do have plenty of LabVIEW experience, it's still a good language to use for our team, because I find it easier to explain a programming concept using dataflow and diagrams instead of procedures and text-based syntax.


If we had a large number of active programming students and wanted to do some sort of distributed programming effort, I'd pick C++ without hesitation. So far as I can tell, LabVIEW doesn't yet have the kind of support for fine-grained version control that is the norm for text-based languages.
  #8   Spotlight this post!  
Unread 10-05-2011, 12:19
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Who to Choosing Between programming language?

Mohamed,

While I very seldom disagree with Dana Henry, I have to side with Alan on the mentor experience issue. Most professional software engineers can change languages with ease. I have lost count on how many languages I have used (over 14) in my career. Also, most of us enjoy a challenge...

James Brown did a very good job of explaining things. However, I would emphasize the support in Labview. Most importantly, the fantastic video tutorials that Ben Zimmer has provided on FRCMastery.com. If your team is mentor poor or, for some other reason, you need the students to learn on their own, Labview is my top recommendation.

That being said, I will be pushing my team into Java this next year as it will better prepare them for AP testing and college.

Disclaimer: My comments above concern the existing choices... I have tried to keep an open mind about things but I still feel that FIRST did not do us any favors in the migration to an overly complex system to control a simple embedded system like a FRC robot.

JMHO,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...

Last edited by Mike Betts : 10-05-2011 at 12:23.
  #9   Spotlight this post!  
Unread 10-05-2011, 12:49
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,059
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: Who to Choosing Between programming language?

Quote:
Originally Posted by yara92 View Post
The equation is more complicate than what does the mentor know, I am locking for FRC as it is the First step for the kids for the future and continuo their academic studies.
Secondly my team 75% is smart girls, I always telling them for me in Science there is no compromise like or dislike. There is advantage and disadvantage then you need to weigh the pros and cons.
I have to disagree with Alan, if you have a software mentor who feels comfortable teaching certain languages you should probably go with those languages. If that mentor feels comfortable learning with the students or learning a new language then that opens up a new possibility.

As for which language is "best"... I can't answer that, I've used all 3 of these languages over the course of my college program. I can safely say that programming is akin to art. You have many different mediums but in the end you still wind up with a beautiful work. Learning a new language is just learning a new medium, they have their quirks and their own rules but the ability to visualize what you want is more important.

TL;DR - Software Engineering != coding.
__________________




.
  #10   Spotlight this post!  
Unread 10-05-2011, 12:57
reuven reuven is offline
Registered User
FRC #3211 (The Y team)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2009
Location: yeruham Israel
Posts: 38
reuven will become famous soon enough
Re: Who to Choosing Between programming language?

Mohamed .

first of all i hope you had a good holiday today (i'm an Israeli too as you can see)
in this side of the FIRST world most of the teams use LV. so i think that this is the one you should use.
think that while you have any problem in the season it woulds be easier to call one of the teams in Israel then to wait for an answer from a team in the US.
  #11   Spotlight this post!  
Unread 10-05-2011, 13:00
staplemonx's Avatar
staplemonx staplemonx is offline
The Idea Guy
AKA: JJ Biel-Goebel
FRC #1389 (The Body Electric)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Washington DC
Posts: 248
staplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond reputestaplemonx has a reputation beyond repute
Re: Who to Choosing Between programming language?

We are going to let our kids decide between C++ or Java. we are going to make Java as appealing as possible becuase we can have them learn it by building android apps over the summer. That way by the time the fall comes around writting jave for the robot will seam like a breeze.

But if they choose C++, anyone have any fun tasks that the kids could do that will teach them without them knowing it?
__________________
crazy engineer
www.jjbiel-goebel.com
helping team 1389
http://team1389.com/
  #12   Spotlight this post!  
Unread 10-05-2011, 13:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,049
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Who to Choosing Between programming language?

Quote:
Originally Posted by reuven View Post
think that while you have any problem in the season it woulds be easier to call one of the teams in Israel then to wait for an answer from a team in the US.
The world is flat. During the build season there is very little waiting to get a detailed expert answer on CD.


  #13   Spotlight this post!  
Unread 10-05-2011, 13:23
mathking's Avatar
mathking mathking is offline
Coach/Faculty Advisor
AKA: Greg King
FRC #1014 (Dublin Robotics aka "Bad Robots")
Team Role: Teacher
 
Join Date: Jan 2005
Rookie Year: 1999
Location: Columbus, OH
Posts: 634
mathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond reputemathking has a reputation beyond repute
Re: Who to Choosing Between programming language?

I don't have any simple, fun C++ tasks for kids to do on their own, but I have another for Java: Robocode. It is a great way to learn Java programming while you program virtual robots. It is free and cross-platform as well.
http://robocode.sourceforge.net/

Alan highlights another important thing to consider: version control. If you are going to have multiple programmers working on the code for the robot, version control is very nice to have. I will disagree a little with Alan, in that I actually find that in general the version control systems I have seen for Java are easier to learn than for C++, but there are many good options for both. In fact, the ones we have used will work for either language equally well.
__________________
Thank you Bad Robots for giving me the chance to coach this team.
Rookie All-Star Award: 2003 Buckeye
Engineering Inspiration Award: 2004 Pittsburgh, 2014 Crossroads
Chairman's Award: 2005 Pittsburgh, 2009 Buckeye, 2012 Queen City
Team Spirit Award: 2007 Buckeye, 2015 Queen City
Woodie Flowers Award: 2009 Buckeye
Dean's List Finalists: Phil Aufdencamp (2010), Lindsey Fox (2011), Kyle Torrico (2011), Alix Bernier (2013), Deepthi Thumuluri (2015)
Gracious Professionalism Award: 2013 Buckeye
Innovation in Controls Award: 2015 Pittsburgh
Event Finalists: 2012 CORI, 2016 Buckeye
  #14   Spotlight this post!  
Unread 10-05-2011, 15:09
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,509
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Who to Choosing Between programming language?

I'm not a programmer, but I do consider myself very computer literate and I've done limited programming in LabView, Java, PBASIC, and Matlab. I must say, of them all, LabView was the most frustrating for me to use.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #15   Spotlight this post!  
Unread 10-05-2011, 15:22
Nemo's Avatar
Nemo Nemo is offline
Team 967 Mentor
AKA: Dan Niemitalo
FRC #0967 (Iron Lions)
Team Role: Coach
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Iowa
Posts: 803
Nemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond reputeNemo has a reputation beyond repute
Re: Who to Choosing Between programming language?

I would like to echo the idea that LabView is fast. Our programmers can produce working teleop code in 20 or 30 minutes in a pinch. Maybe it is similar in C++? I wouldn't know, because our team switched away from that before I signed on.
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


All times are GMT -5. The time now is 20:56.

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