https://github.com/simoneb/reddit-example
https://github.com/simoneb/reddit-example
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/simoneb/reddit-example
- Owner: simoneb
- Created: 2016-03-28T18:53:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-28T22:28:33.000Z (about 10 years ago)
- Last Synced: 2024-12-31T07:13:10.294Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
reddit example with redux and angularjs
=====
This is a simple comparison of the same simple application
from [redux docs](http://redux.js.org/docs/advanced/ExampleRedditAPI.html)
build with both redux and angular.
It's an attempt at measuring the difference in amount of code needed
to write this specific app with both tools.
## Results
The amount of code written is measured with [cloc](https://github.com/AlDanial/cloc)
and here are the results.
### redux
Language|files|blank|comment|code
:-------|-------:|-------:|-------:|-------:
JavaScript|9|35|0|238
HTML|1|0|0|11
--------|--------|--------|--------|--------
SUM:|10|35|0|249
### angular
Language|files|blank|comment|code
:-------|-------:|-------:|-------:|-------:
JavaScript|2|7|0|43
HTML|1|1|0|28
--------|--------|--------|--------|--------
SUM:|3|8|0|71