12-26-2011, 02:31 AM
Hey,
I´m new to this project and because of this I had to read into many codes.
But what i realized was, that there is often code just copied and pasted instead of creating reusable code / using the benefits of oop.
To give an example, I worked on the water and lava simulator and made them easier.
Code reduced by about 40% and as an additional benefit the simulator is much easier to config because it´s not so "hardcoded".
You can look at it in R108 ( http://code.google.com/p/mc-server/source/detail?r=108 )
What do you mean?
Or am I to reusable / oop fanatic?
I´m new to this project and because of this I had to read into many codes.
But what i realized was, that there is often code just copied and pasted instead of creating reusable code / using the benefits of oop.
To give an example, I worked on the water and lava simulator and made them easier.
Code reduced by about 40% and as an additional benefit the simulator is much easier to config because it´s not so "hardcoded".
You can look at it in R108 ( http://code.google.com/p/mc-server/source/detail?r=108 )
What do you mean?
Or am I to reusable / oop fanatic?