Join Slack
Powered by
<@U092308M7> Quick question, why use strings and n...
# server
c
cedric
12/19/2017, 10:05 PM
@orangy
Quick question, why use strings and not enums:
Copy code
margin.left("auto")
? I could certainly use the autocompletion.
➕ 2
o
orangy
12/19/2017, 10:43 PM
These a manually written DSL functions. We have an idea to generate them from some sources. That could lead to enums and such.
t
tipsy
12/19/2017, 11:13 PM
intellij already suggests attribute values and highlights incorrect ones. so there has to be something in the code-base that you could re-use?
o
orangy
12/20/2017, 2:44 PM
Exactly
5
Views
Open in Slack
Previous
Next