Dynamic languages like Ruby are a beautiful opportunity to turn your functional code into art. In this example, I overrode the operation of the division operator on Ruby’s Symbol and String types to allow the lines of code themselves to look like the file-system paths that they represent.
(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
(git-blog: git-blog.rb @ 1845890, lines 15 ‒ 37)
Dynamic languages like Ruby are a beautiful opportunity to turn your functional code into art. In this example, I overrode the operation of the division operator on Ruby’s
SymbolandStringtypes to allow the lines of code themselves to look like the file-system paths that they represent.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