Closed dullbananas closed 2 years ago
Use absolute names, it makes your code more readable and is good practice in general, and eliminates any naming conflicts.
import Element as E import Element.Border as Br import Element.Background as Bg import Element.Font as Font
E.width Br.width Br.color Bg.color Font.color
Naming consistency across modules is convenient.
Element.Border.width and Element.width are easy to mix up