kazu2012 / get-simple-cms

Automatically exported from code.google.com/p/get-simple-cms
GNU General Public License v3.0
0 stars 0 forks source link

duplicate core functions #360

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
we are duplicating code for 

get and return functions

getPageContent
returnPageContent

and page field

what other code reuse issues do we have ?

I will be fixing this and looking for all other instances of code reuse.

Original issue reported on code.google.com by tablatronics on 21 Oct 2012 at 3:55

GoogleCodeExporter commented 9 years ago
While i am at it i will start working on a refactor planning project, ill 
combine some issues I have already created into a single plan.

I would also like to address all function that use true and false arguments for 
echo.
These will go away they are terrible patterns.

I would also like to see proper getters and setters for most core aspects. This 
will include config definitions that are inverse booleans and un redefinable 
during runtime. Another bad design pattern.

Original comment by tablatronics on 21 Oct 2012 at 3:58