There is a growing interest in elm-mdl lately and this brings into focus
the issue of boilerplate when dealing with custom UI.

In yesterday's Elm Remote Meetup, Søren mentioned that he hasn't met anyone
who uses elm-mdl without the parts.

Here is a very simple form with and without the boilerplate:
https://github.com/pdamoc/elm-boilerplate-example

The pure TEA UI (without parts) is around 50% more lines of code with zero
added benefit.
As I was porting the parts code to the non-parts form I realized that there
were some opportunities for errors due to repetitiveness. I basically copy
and pasted some of the code.

I am all for using the current recommendations but there are specific cases
like the implementation of a dynamic UI toolkit where the current
recommendations produces lower quality code.


-- 
There is NO FATE, we are the creators.
blog: http://damoc.ro/

-- 
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