Take our global design survey and get an ⭐️ exclusive sticker pack absolutely free ⭐️ - Get started!
Trending designs to inspire you
Work designers are riffing on
Interviews, tutorials, and more
Find your dream design job
An exclusive list for contract work
Find, contact, and hire designers
The #1 job board for creatives
Board for freelance & contract work
(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.