A good sonnet isn't only identified by the letters or words on the page, but by the cadence, the meter, the measure, the flow... a good piece of literature is beautiful because it is shaped carefully yet communicates eloquently.
Code is no different. The purpose of code is to express a solution. A project consists of small stanzas, called "Methods" or "Functions" depending on what language you use. Each of these verses must be constructed in such a way that it is efficient, tightly-crafted, and effective. And like a poem, there are rules that dictate how it should be shaped. There is beauty in a clever Function.
But the real beauty of code goes further than poetry. Because it re-uses itself. Maybe its more like music, where a particular measure is repeated later in the song, and through its familiarity, it adds to the shape of the whole piece. Functions are like that, in that they're called throughout the software. Sometimes they repeat within themselves, in iterations, like the repeating patterns you see in nature." Link to Original Source
This discussion was created for logged-in users only, but now has been archived.
No new comments can be posted.
The Life of a Software Engineer 0 Comments More Login /
Get More Comments