|
#76
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Quote:
Last edited by notmattlythgoe : 16-06-2015 at 10:00. |
|
#77
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
I try to stay away from the trap of unnecessary generalization and superfluous creation of flexible frameworks. My two favorite Patterns are 1) Do the simplest thing that could possibly work, and 2) You aren't going to need it.
|
|
#78
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Exactly.
|
|
#79
|
||||
|
||||
|
Re: On the quality and complexity of software within FRC
Quote:
For passenger airplanes, spacecraft, nuclear plants and warheads, and medical equipment... not so much. |
|
#80
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Well you obviously have to engineer to the project requirements, and in those cases the requirements include redundancies. My point is don't engineer past the scope of the project.
|
|
#81
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Or to paraphrase from the legal community, engineer to the requirements, the whole requirements, and nothing but the requirements.
|
|
#82
|
|||
|
|||
|
Re: On the quality and complexity of software within FRC
Quote:
"That'll never happen" has become an inside joke. |
|
#83
|
||||
|
||||
|
Re: On the quality and complexity of software within FRC
And my point was that I agreed with you for FRC. But I sure hope you guys aren't suggesting that should be the "hear no evil, see no evil" attitude of the lead project engineer of a project where human life hangs in the balance. It's certainly not the way I ran my projects. |
|
#84
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Quote:
I'm saying that you shouldn't be spending a bunch of extra time optimizing loops and building adaptable code with the assumption that you'll need that optimization or need to adapt it in the future. In most (not all) cases it will be a wast of time and money. |
|
#85
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Quote:
... never. |
|
#86
|
||||
|
||||
|
Re: On the quality and complexity of software within FRC
Been there done that! Our wheelchair/go-cart test bot breaks the speed limit.
|
|
#87
|
||||
|
||||
|
Re: On the quality and complexity of software within FRC
Quote:
Quote:
Quote:
Quote:
We've begun to encounter the issue that WPIlib for Java is poorly coded itself. The libraries relating to vision code are particularly messy. This may be why so many teams opt to build their own libraries entirely. Sometimes, optimization is good. But, usually, it isn't all that necessary for FRC because we have a magical beast of processing power called the roboRIO. Since there's no real limit on how inefficient your code can be (unless you try vision code, then good luck) there's usually no reason to optimize your code. Outside of FRC? Yeah, optimization is important. In FRC? Not really, because 2 minutes out of your 2:15 match, your robot is an RC stacking machine, not an autonomous robot. |
|
#88
|
||||
|
||||
|
Re: On the quality and complexity of software within FRC
Quote:
|
|
#89
|
|||||
|
|||||
|
Re: On the quality and complexity of software within FRC
Quote:
|
|
#90
|
||||
|
||||
|
Re: On the quality and complexity of software within FRC
Too bad having a garbage collector and running natively don't work together super nice, without a lot of work. Because that's basically what that would be. I think later this summer, I want to do a runtime shootoff between LV, C++, C#, Java and Python (all the currently working languages) and see how much performance you gain or lose with each one.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|