![]() |
How many lines of code do you have total?
Just curious what other teams using Java are at. We have about ~1800 at the moment.
|
Re: How many lines of code do you have total?
Wow!!!!
we have about 140! Why is your code so complex?:confused: |
Re: How many lines of code do you have total?
Quote:
|
Re: How many lines of code do you have total?
Quote:
|
Re: How many lines of code do you have total?
All our code put together is ~700 lines. But the main robot class is only ~120.
Drive programming is about 500 of those lines. :P |
Re: How many lines of code do you have total?
Now the question here is: what are you more proud of? A ton of complex code, or a very streamline one? Now I am not saying a project that consists of thousands of lines are not efficient, but chances are at this level, it is not efficient...
We currently have about 1500. I probably have to go back and streamline everything. Edit: I would compare that to being big and slow or being a petite sprinter. Which one will you really be proud of? |
Re: How many lines of code do you have total?
Our 2010 robot had about ~3500 lines of code spread across ~20 Java source files. It's interesting to note that the files SwerveModule.java and Config.java each had a total of 228 lines, the same as our team number.
This season is still a work in progress, but when it's all done I'd expect only around half of that. |
Re: How many lines of code do you have total?
Quote:
So to answer your question, I'd be proud of whoever wins the race :cool: |
Re: How many lines of code do you have total?
Quote:
|
Re: How many lines of code do you have total?
2010 season we had 11,358 lines. 3,036 of those were comments. EDIT: 96 Framework source files, 7 Robot specific files.
2011 season uses the same core codebase of 9,571 lines, 2,749 of which are comments. Sounds like a lot of bloat, but its not. All together it makes for a really elegant system with abstraction and events and so on-- http://code.google.com/p/grtframework/ :) |
Re: How many lines of code do you have total?
I have only 600 lines of code including my various wrappers.
The Reason why is that i use this formatting for eveything Code:
type some_function(type var) { |
Re: How many lines of code do you have total?
Quote:
|
Re: How many lines of code do you have total?
are any of you guys using CAN? :)
|
Re: How many lines of code do you have total?
heh, time... well actually it didn't take that long in that you can generate some of the code, and then also it carries over year to year so once you have the framework you only add a few hundred/thousand onto it specific for each year.
btw, grtframework has/uses CAN, complete with the neat jag closed loop mode. |
Re: How many lines of code do you have total?
Some interesting stats about our code.
Java. 6 Coders. 1,721 Lines of code total. Average of 286.8333333 lines per coder 8 Packages Average of 2.625 files per package Average of 215.125 lines per package 21 files total Average of 3.5 files per coder Average of 81.95238095 lines per file Interesting facts: Our neatest code to date Our first year with our code online Our Highest number of programmers this year(up 3 from last year) Our Highest number of source files and packages Our code: (Will be revised up until our last match!) http://code.google.com/p/frc399-2011-code-james-bot/ |
| All times are GMT -5. The time now is 08:46 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi