Go to Post We started FIRST to achieve a common goal and not only will we leave with more knowledge and wisdom, we will leave as friends and thats what really counts if you ask me. :cool: - Hick18 [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 11-11-2011, 12:48
13or13 13or13 is offline
Registered User
FRC #2213
 
Join Date: Oct 2011
Location: Israel
Posts: 12
13or13 is an unknown quantity at this point
What programming Language To Use??

Hey guy i have a question
what program language should we use this year.
our programer is very good in C Language but he is the only one who know how to use it so what your opinion should we use LabView this year or C++.
  #2   Spotlight this post!  
Unread 11-11-2011, 13:01
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: What programming Language To Use??

So, to be clear, is there only one programmer? If that's the case, and he knows C very well, then it's logical to use C++ instead of something else that he's not as good with.

In the end, there really aren't that many differences between the functionality of each language, so it's best to use whatever the programmer(s) are comfortable using.
__________________
Attending: MN Duluth Regional

Last edited by theprgramerdude : 11-11-2011 at 13:05.
  #3   Spotlight this post!  
Unread 12-11-2011, 12:54
Ashley Painter's Avatar
Ashley Painter Ashley Painter is offline
Registered User
FRC #3784 (Bit by Bit)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Verona, Mo
Posts: 14
Ashley Painter is an unknown quantity at this point
Lightbulb Re: What programming Language To Use??

If anyone on your team has played with Lego Mindstorm then LabView is not very hard to use or to learn. But basically whatever langue you use, make sure your programmers learn it before kickoff.
Oh also if your programmer/s have only programmed in text based programming languages then LabView is not a good choice. Because while there are a lot of similarities between the two styles programming in a picture based programming language requires thinking about the programming differently. LabView programming ends up being very similar to making a tiered cake while text based programming is more like writing an instruction manual.
__________________
FRC Team 3784
2011 Highest Seeded Rookie
2011 Gracious Professionalism
2011 Kansas City Champions

2011 ISEF Finalist

FRC Team 3784
2012 Kansas City Champions
  #4   Spotlight this post!  
Unread 12-11-2011, 18:15
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,387
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: What programming Language To Use??

This is one of the more popular questions asked on Chief Delphi. Try using the search function for looking at threads in the last three years that discuss the pros and cons of Labview, Java, C++, Python, Lua and my favorite Robot COBOL. (Ok, so there isn't a robot COBOL).

But in prior years people have written about the issues around Mentors that know/don't know the languages, mentors that are new to robot programming, and the same set about students.

Take a look at them and then come back and ask your specific questions.

Thanks!
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
  #5   Spotlight this post!  
Unread 12-11-2011, 23:16
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
Re: What programming Language To Use??

Although my answer is biased (We use LV), I would say use whatever the majority of your programming team is familiar with. If it is just him, have someone younger shadow him - so that when he is gone your programming team isn't. One of the worst things that could happen IMO is that he leaves the team and not a single person can utilize and read the past code - especially if you want to modify something for off-season or use the code as a base later on. Labview allows us to focus on programming concepts and getting the ideas down - we aren't forced to deal with debugging syntax errors (and as someone who programs in C++ regularly, I can tell you that you will spend a lot of time doing just that.)
__________________
Ri3D - 'Snow Problem Programmer
MN GOFIRST Recruitment Officer
FRC 2169 Alumni
  #6   Spotlight this post!  
Unread 12-11-2011, 23:38
Andrew Lawrence
 
Posts: n/a
Re: What programming Language To Use??

Your ONE programmer knows C.

If this ONE programmer is the only ONE who will program this year, then C++ is the way to go.

If you are planning on having more programmers, especially those who haven't programmed much before, then LABView is an easy language to learn, so I hear.

OR, if your current ONE programmer is capable and willing, they could teach others how to program C++, however it is tough to find a good teacher in most students when it comes to programming C++.

Notice the ONE word I put in all caps? My little bit of advice to you: If you can, have more than ONE programmer. It's an important job that requires lots of work and skill, and for some strange reason robots won't run without it.
  #7   Spotlight this post!  
Unread 13-11-2011, 09:48
13or13 13or13 is offline
Registered User
FRC #2213
 
Join Date: Oct 2011
Location: Israel
Posts: 12
13or13 is an unknown quantity at this point
Re: What programming Language To Use??

Quote:
Originally Posted by SuperNerd256 View Post
Your ONE programmer knows C.

If this ONE programmer is the only ONE who will program this year, then C++ is the way to go.

If you are planning on having more programmers, especially those who haven't programmed much before, then LABView is an easy language to learn, so I hear.

OR, if your current ONE programmer is capable and willing, they could teach others how to program C++, however it is tough to find a good teacher in most students when it comes to programming C++.

Notice the ONE word I put in all caps? My little bit of advice to you: If you can, have more than ONE programmer. It's an important job that requires lots of work and skill, and for some strange reason robots won't run without it.
we know we need more than one programmer we have one and more three that need to learn we wanted to know what program is easier to learn
  #8   Spotlight this post!  
Unread 13-11-2011, 09:56
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: What programming Language To Use??

With the templates provided, you will find that you can program a robot easily in any of the 3 languages supported. I have found that debugging is easier in Labview. You should also look to the teams nearby. It is important for FRC teams to help each other, so ask!
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
  #9   Spotlight this post!  
Unread 13-11-2011, 10:10
13or13 13or13 is offline
Registered User
FRC #2213
 
Join Date: Oct 2011
Location: Israel
Posts: 12
13or13 is an unknown quantity at this point
Re: What programming Language To Use??

ok thank you
  #10   Spotlight this post!  
Unread 13-11-2011, 10:27
ahollenbach ahollenbach is offline
Registered User
AKA: Andrew
FRC #0103 (Cybersonics)
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2010
Location: Kintnersville
Posts: 52
ahollenbach is a name known to allahollenbach is a name known to allahollenbach is a name known to allahollenbach is a name known to allahollenbach is a name known to allahollenbach is a name known to all
Re: What programming Language To Use??

Because the language you choose is [usually] the first language your programmers will learn in, I would recommend against LabView, but if you can't get a mentor or student who knows a different language, then LV is the way to go until you train students in a different language.
  #11   Spotlight this post!  
Unread 13-11-2011, 12:36
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
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: What programming Language To Use??

Quote:
Originally Posted by ahollenbach View Post
Because the language you choose is [usually] the first language your programmers will learn in, I would recommend against LabView
Why? The conclusion doesn't follow logically from the premise. It seems you've left a step or two out of your argument.


  #12   Spotlight this post!  
Unread 13-11-2011, 16:39
Chris27's Avatar
Chris27 Chris27 is offline
Registered User
AKA: Chris Freeman
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Mountain View
Posts: 196
Chris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant future
Re: What programming Language To Use??

Quote:
Originally Posted by Ether View Post
Why? The conclusion doesn't follow logically from the premise. It seems you've left a step or two out of your argument.

The programming paradigms imposed by the first language a programmer learns solidifies a certain mindset in how that programmer approaches programming problems. Speaking as a computer scientist, I found learning a functional programming language (SML) a completely bizarre experience (pretty much all values, data structures are immutable, there is no iteration, all functions and data structures are recursively defined, functions are 1st class values and then you have continuations, currying, closures, lazy evaluation etc). Basically, SML turned my view of programming upside down and I had to unlearn a lot of the different strategies and concepts I had picked up using C, C++, and Java to effectively use this new tool. I would say the difference between Labview (data flow programming) the C (procedural), or Java C++ (Object oriented programming) or SML, LISP (functional) is quite a bit greater then the differences then these languages have between themselves (especially concerning C like languages). OOP languages are used much more often in both academic and industry environments then Labview. The opinion I hold now as a software engineer is that it would have been a mistake if I had started my venture into the programming world with Labview.

To address the original poster, I vote for Scala .
  #13   Spotlight this post!  
Unread 13-11-2011, 17:27
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
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: What programming Language To Use??

Quote:
Originally Posted by Chris27 View Post
I found learning a functional programming language (SML) a completely bizarre experience ... I had to unlearn a lot of the different strategies and concepts I had picked up using C, C++, and Java to effectively use this new tool.
Isn't the converse also true ? Had you learned SML first, you would have had the same issue when learning C, C++, Java ? So if you're going to have to learn both, does the order matter ?


  #14   Spotlight this post!  
Unread 13-11-2011, 17:30
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
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: What programming Language To Use??

Quote:
Originally Posted by Chris27 View Post
The programming paradigms imposed by the first language a programmer learns solidifies a certain mindset in how that programmer approaches programming problems ... I had to unlearn a lot of the different strategies and concepts I had picked up ... OOP languages are used much more often in both academic and industry environments then Labview.
@ ahollenbac: Is this what you had in mind Andrew?

Or did you have something else in mind?



  #15   Spotlight this post!  
Unread 13-11-2011, 18:03
Chris27's Avatar
Chris27 Chris27 is offline
Registered User
AKA: Chris Freeman
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Mountain View
Posts: 196
Chris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant futureChris27 has a brilliant future
Re: What programming Language To Use??

Quote:
Originally Posted by Ether View Post
Isn't the converse also true ? Had you learned SML first, you would have had the same issue when learning C, C++, Java ? So if you're going to have to learn both, does the order matter ?

I'm still much more comfortable with Java (OOP) so I would say yes it does matter. Also, being skilled in using Java holds a lot more weight then an obscure language such as SML. Not being comfortable with C, C++, or Java will make scoring an internship at a software company much harder. In the current job climate, graduating from a CS or Software Engineering program without any industry experience is not going to make finding a job easy. As an interviewer, a candidate without any industry experience would make me uneasy. I'd say that being comfortable with an OOP language is much more of a necessity then a functional language although learning a functional language does help expand on a lot of CS concepts.
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 09: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