{"comment":{"url":"https://api.github.com/repos/EduardStreltsov/learnwords/comments/20044446","html_url":"https://github.com/EduardStreltsov/learnwords/commit/647b9fdd9da945751b99ac3b282fafc88e42ee95#commitcomment-20044446","id":20044446,"user":{"login":"sorrro","id":694894,"avatar_url":"https://avatars.githubusercontent.com/u/694894?v=3","gravatar_id":"","url":"https://api.github.com/users/sorrro","html_url":"https://github.com/sorrro","followers_url":"https://api.github.com/users/sorrro/followers","following_url":"https://api.github.com/users/sorrro/following{/other_user}","gists_url":"https://api.github.com/users/sorrro/gists{/gist_id}","starred_url":"https://api.github.com/users/sorrro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorrro/subscriptions","organizations_url":"https://api.github.com/users/sorrro/orgs","repos_url":"https://api.github.com/users/sorrro/repos","events_url":"https://api.github.com/users/sorrro/events{/privacy}","received_events_url":"https://api.github.com/users/sorrro/received_events","type":"User","site_admin":false},"position":32,"line":24,"path":"src/main/java/com/learnwords/UserStats.java","commit_id":"647b9fdd9da945751b99ac3b282fafc88e42ee95","created_at":"2016-12-02T07:27:33Z","updated_at":"2016-12-02T07:27:33Z","body":"It is better to move save/load logic out of this class (class that holds data).  \r\nTo some other class, like `UserStatsDao` (data access layer) or `UserStatsStorage`  \r\nSo that later if you want to move to a different type of storage (like database) it will be much more simple; and no other classes would care what is used for storage."}}
{"actor":{"display_login":"sorrro"}}