Re: [elm-discuss] Flags vs Ports

2017-04-03 Thread Aaron VonderHaar
Ahoy! :) Yes, everything you've said is correct, including avoiding unnecessary maybes. On Sun, Apr 2, 2017 at 11:41 PM, Richard Wood wrote: > Sounds like some nautical adventure! > > When is it appropriate to bring in data through flags vs through using > ports. > At the moment I'm thinking: >

[elm-discuss] Flags vs Ports

2017-04-02 Thread Richard Wood
Sounds like some nautical adventure! When is it appropriate to bring in data through flags vs through using ports. At the moment I'm thinking: Flags: * When needed immediately on initialisation * When it won't change Ports: * Dynamic data * Data not available at the start Is another reason to