erictgrubaugh
02/07/2018, 4:43 PMUserEventType.EDIT over the magic String "edit" might include:
* Much easier to refactor as "UserEventType.EDIT" is likely much more unique in your codebase than "edit"
* IDEs would be able to provide code completion for it
* If NetSuite ever goes through an architecture update and decides "Hey all the event values are uppercase now", all of your comparisons to "edit" would fail, but your comparisons to UserEventType.EDIT would not, so you are insulated from any NetSuite design changes in that respect