Code is Beautiful
Community Forums/Technical Discourse/Code is Beautiful
| ||
Hi folks, I work as a programmer for a living, working in a variety of languages. To my mind there is something aesthetically pleasing about code. It doesn't matter whether it be something simple or something complex but code in and of itself has a beauty that in my mind is almost artful in its quality. Some languages use enclosing braces others use end-statements. Some languages use square brackets, round brackets, curly braces, or other methods. Some IDEs are monocoloured, others are multicoloured. But to my mind looking at neat and tidy code is of a similar nature to looking at a beautiful sunset or a photo of a forested mountainous landscape. I've been spending a lot of time recently in the art world - going to galleries, painting pictures and sketching images...while I'm not a great artist I can imagine artworks combining the beauty of code with the beauty of the human face. |
| ||
I read an article recently about code actually being used in art, as art. The article originally was about the BrainF*** computer lamguage. Do a bit of searching for it as it were fairly recent. |
| ||
To my mind there is something aesthetically pleasing about code. Some languages more than others :) But to my mind looking at neat and tidy code is of a similar nature to looking at a beautiful sunset or a photo of a forested mountainous landscape. I feel the same. Neat concise code, using efficient and elegant algorithms is a thing of beauty. |
| ||
I have OCD about neat, tidy code, to an extent. I hate stuff that's obviously hacked and messy, even if it works. Nothing like a few neat functions folded along with a simple loop for the program execution - all neatly coloured in a decent IDE. Better than porn... Maybe :-) |
| ||
it depends whose code you are talking about, some code is really messy and lacks clarity and consistency... |
| ||
That's why we all said neat tidy code RemiD. |
| ||
check out Piet especially the sample programs. |
| ||
Code as actual code, I don't see it.. clean yes. Art is inspired from nature. Code/language is designed by humans. If you're talking about art product by code, then yes. latest example is gitfiti. https://github.com/gelstudios/gitfiti and that's messing and abusing commits to make simple art. ;-) |
| ||
I certainly see it, I have a book called "The Art of C"...The literal aspect of art is ridiculous. But some languages get too wordy, too over complicated - which leads to chaos when let loose with chaotic programmers. |