Jeff Terrell, Ph.D. is a user on functional.cafe. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Jeff Terrell, Ph.D. @jeff_terrell

Lesson learned in : name actions with the application and user experience in mind rather than the transformation of application state. For example, name it `startNewStep` rather than `incrementStepNumber`.

I recently refactored to make this change in an app I'm working on, and it made lots of things about the code and organization clearer. Plus, I'd imagine that usage data and analytics will make a lot more sense later (if I get that far).

· Web · 0 · 2