kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #08831
Re: Decoupling issues with python
On Wed, Aug 15, 2012 at 10:43:33AM -0500, Dick Hollenbeck wrote:
> You seem to have a good grasp of the problem & its magnitude.
Tragical past experiences... had to maintain a GTK1 project (an OBD
tester) which displayed car parameters in 8 panes: each panes had
value, min/max unit of measure and so on, plus a couple of button to
freeze, change parameter and such easy things.
The *genius* which implemented this had copied the wholes fscking code
for a pane in each single event function (simply changing variable names
and the constant indices into param array). Had to change panel
behaviour XD
Before refactoring: >15KLOC of C (few or no comments)
After refactoring: about 2KLOC commented
Took two weeks of full time work:(((
--
Lorenzo Marcantonio
Logos Srl
References
-
Decoupling issues with python
From: Lorenzo Marcantonio, 2012-08-12
-
Re: Decoupling issues with python
From: Miguel Angel Ajo Pelayo, 2012-08-12
-
Re: Decoupling issues with python
From: Dick Hollenbeck, 2012-08-13
-
Re: Decoupling issues with python
From: Lorenzo Marcantonio, 2012-08-13
-
Re: Decoupling issues with python
From: Dick Hollenbeck, 2012-08-13
-
Re: Decoupling issues with python
From: Dick Hollenbeck, 2012-08-13
-
Re: Decoupling issues with python
From: Lorenzo Marcantonio, 2012-08-13
-
Re: Decoupling issues with python
From: Dick Hollenbeck, 2012-08-14
-
Re: Decoupling issues with python
From: Lorenzo Marcantonio, 2012-08-15
-
Re: Decoupling issues with python
From: Dick Hollenbeck, 2012-08-15