Team2168 / 2016_Main_Robot

Code for the 2016 season
0 stars 0 forks source link

Change Old Commands? #40

Open wshclth opened 8 years ago

wshclth commented 8 years ago

I've noticed in the Util class that we are creating functions that we do not need anymore because java 7/8 already has built in functions.

For example there is a split command that uses vectors to split a string while we could just use the String.split() instead. Not sure if there is an advantage to use the built in commands or not but just thought I would put it out there.

NotInControl commented 8 years ago

Don't change what works in my opinion. We spent many years perfecting certain things. My opinion when it comes to robotics is, If it ain't broke don't fix it. While there might always be better or easier ways to do something, the best way in engineering is the one you trust won't fail. One of the reasons why software on subs are never using the latest and greatest software packages/versions. Sticking to what was used before helps increase reliability.

jcorcoran commented 8 years ago

I agree that the split string method isn't required in utils anymore. The split method in the String class is certainly the better option to use now that we have a modern version of the JDK.

Sent from mobile.