2 Matching Annotations
- Feb 2021
DSLs can be problematic for the user since the user has to manage state (e.g. am I supposed to call valid? first or update_attributes?). This is exactly why the #validate is the only method to change state in Reform.
The reason Reform does updating attributes and validation in the same step is because I wanna reduce public methods. This is to save users from having to remember state.
I see what he means, but what would you call this (tag)? "have to remember state"? maybe "have to remember" is close enough
Or maybe order is important / do things in the right order is all we need to describe the problem/need.
- annotation meta: may need new tag
- state management
- order is important / do things in the right order
- reform (Ruby)
- have to remember
- simplicity by design
- making it easy to do the wrong thing
- good point
- making it easy to do the right thing