goodybag / lunchroom

Daily meal deals
https://lunchroom.goodybag.com
0 stars 0 forks source link

refactor this mess #51

Closed paulserraino closed 9 years ago

paulserraino commented 9 years ago

Alright, so this codebase looks like it was attacked by wild badgers and needs to be completely refactored as soon as possible. It's riddled with bugs, isn't readable, isn't documented; thus making it nearly impossible for other developers to maintain and scale. At a minimum we should be following a style guide so that code is at least readable (and i'll provide links below). We also need to separate everything into actual small and reusable components and create tests for each component. Lastly, we absolutely need code to be documented. A good example of well documented code IMO is the babel js packages where every method, function or hacky operation has a description.

https://github.com/airbnb/javascript https://github.com/felixge/node-style-guide https://facebook.github.io/react/docs/thinking-in-react.html https://github.com/babel/babel

cadorn commented 9 years ago

This is in the works. See: https://github.com/goodybag/lunchroom/issues/27