(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.
(P.S. I know Dribbble isn’t Forrst. I’m not posting my code as code, I’m posting it as visual art. I consider source code a medium for artistic expression, hence why I’m posting my work here in this way. I’ll be trying to post shots from various languages / markups, in various styles; anything I consider to be visually interesting. I also may be adjusting the hilighting and typography to make the shots more visually appealing.)
2 Responses
(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
Nodein 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.about 1 year ago
(P.S. I know Dribbble isn’t Forrst. I’m not posting my code as code, I’m posting it as visual art. I consider source code a medium for artistic expression, hence why I’m posting my work here in this way. I’ll be trying to post shots from various languages / markups, in various styles; anything I consider to be visually interesting. I also may be adjusting the hilighting and typography to make the shots more visually appealing.)
about 1 year ago