andri-ch / gotoword

vim plugin that gives users the possibility to write and access documentation about the word or expr. under cursor
GNU Lesser General Public License v3.0
0 stars 0 forks source link

DRY should be properly enforced for HelperSave state pattern #24

Open andri-ch opened 9 years ago

andri-ch commented 9 years ago

app.context, app.keyword are modified from different states and it makes it hard to keep track of changes, "who did what". Because of that, almost each state has to make sure if the args they get meet some requirements, because each state doesn't care about the other states.