(A link to this code isn’t available yet; it’s still uncommitted work.)
Many languages allow continuations of single-line constructions on multiple lines when you purposefully omit a statement terminator. I apply this to allow me to visually separate some portions of syntax / metadata from important identifiers, as in this shot.
I also tend towards vertical/horizontal alignment and repetition to draw the eye; the triplet of Node in the function declaration, the alignment of the periods before the member names to allow the eye to “slide” down the list of method names; repetition is an excellent way to lead the reader through your codebase.
L or F like
Show and tell for designers
What are you working on? Dribbble is a community of designers sharing screenshots of their work, process, and projects.
Copyright © 2009–2016 Dribbble LLC. All screenshots © their respective owners. Shipped from Salem, Mass. USA.