Why not both? Usually I find myself using the first approach more, especially when I have "actions" coming from the view (e.g. ChangeInput, SubmitForm).
However I also use the second approach when I get some value back from a task (e.g. ParsedInput, ReceivedData). On Friday, 21 October 2016 09:10:34 UTC+1, Birowsky wrote: > > In the latest ElmTown episode they had this discussion, which seems like a > valid one, but i couldn't catch any good pro or con argument. > > So the two approaches are: > > > - What is the system supposed to do: RegisterWithCredentials String > String > - What happened in the system: ClickRegistrationSubmit String String / > TapRegistrationSubmit String String > > > Let's have an argumented discussion around this :} > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
