|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#61
|
|||
|
|||
|
Re: Java vs Labview
Quote:
You will find SW group policies that require else's for every if, require curly braces for every section, require a default for every case, require decoration about exceptions that can be thrown, etc. They do this because they have been bitten by bad conventions and their response is to make their language safer than it came from the factory. Surprise, surprise, I have a story. I think it was my second assignment at college, and it written in C and was probably supposed to read a file, sort the contents, and blah, blah, blah. But the professor wanted to make a point, so we were only allowed to use if's and gotos. No else's, no for's, no whiles, no switches, etc. Try it sometime. It really makes you appreciate structure and modern language features. Greg McKaskle |
|
#62
|
|||||
|
|||||
|
Re: Java vs Labview
Quote:
The LabVIEW Dashboard is a "regular computer application" that doesn't require National Instruments hardware in order to run. I don't have the spare time to spend on writing games, but I don't see any reason I couldn't do it using LabVIEW. I do not dispute that C++ and Java can be more "portable" and more "general purpose". But you're making unfair statements about LabVIEW that aren't really helping the discussion. |
|
#63
|
|||
|
|||
|
Re: Java vs Labview
Quote:
|
|
#64
|
||||
|
||||
|
Re: Java vs Labview
What I'm seeing is people who are versed in Line-Based Code bash on Labview for being too simple. Labview users defend themselves by saying that it is much more complex.
I agree, Labview is very complex. You guys complaining about Labview probably haven't used it extensively enough. You don't have enough background information to actually fairly judge it. It's as if I judged C++ for creating too many lines of text because I don't know how to use command/subsystem prompts or certain functions that can shorten code confuse me so I don't use it. The only problem I see with Labview is that not very many teams use it (at least in San Diego), so your code support is very low. Other than that, you just have to know how to use it. TL;DR The sword is only as powerful as it's beholder. But if you choose the labview sword you won't get much tech support at regionals. |
|
#65
|
||||
|
||||
|
Re: Java vs Labview
Quote:
Whether you want to use Java or Labview is based on personal preference, but I believe Java is the way to go if you have locked yourself down to those two choices. However, if you want to take into consideration, C/C++ may be more likeable on the cRIO because it is full, not Mobile Edition! I, personally don't have too much LV experience. The first FRC program I wrote was in LV, only to find out that our team was using C++ (Silly me ). However, I did find the interface quite confusing.I hope this helps ![]() |
|
#66
|
|||
|
|||
|
Re: Java vs Labview
I heard that the new roboRIO next year is going to run the regular Java.
|
|
#67
|
||||
|
||||
|
Re: Java vs Labview
Quote:
![]() @Patrick I agree that we will use JavaSE next year, but right now, I'm concerning myself with this year! As a matter of fact, that backs my standing because it will be easier to use next year! Last edited by yash101 : 29-03-2014 at 17:18. |
|
#68
|
||||
|
||||
|
Re: Java vs Labview
a viewpoint of a short-timer (4th year) mentor that is a grey beard professional Java developer and mentors a team that just switched from LV to Java, and talks regularly to a team that does C++ and another doing LabView. Many of the issues in this thread have come up in our corner of the world.
I'm also punchy: we just hosted a district competition this weekend that we also competed in. We're *tired*, and if someone asks me to tape another tarp on the floor, I'll die...
so the ultimate answer? "it depends"... don't just ask "what's best?". that's a religious war. it's "we have this many programmers, they have this experience, they are this open-minded, we have this CS program at our school, our robot is this complicated, our workflow looks like this, and <insert more variables here>. What are the pluses and minuses of LV, Java, and C++ in our situation?" |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|