On Friday, August 26, 2016 at 12:10:30 PM UTC-4, Thibaut Assus wrote:
>
> I think css stylesheets are useless in Elm. Inline styles are a lot better 
> imo for reactive procramming. I plan to write a blogpost on that soon. An 
> exemple of my ideas in a repo : 
> https://github.com/tibastral/elm-credit-card. Look at the style part.
> Have a good day !


Thibault... I agree!!
(Well, almost... stylesheets can be the more useful option in some cases...)
But, I find that for interactive web apps (not "websites") it's more useful 
for me to work with self-contained components where the style and 
functionality is all in one place.
That way I don't have the pieces of my components spread out all in lots of 
disparate files that I have to go hunting around around for.
I'm using Elm for exactly what I used to use Flash for 10 years ago - in 
Flash you made integrated components too, and I overall think it's a much 
better paradigm for interactive design.

-- 
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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to