literature

Return False

Deviation Actions

Fxy's avatar
By
Published:
549 Views

Literature Text

I code like a poet;
I may not show it but you know it;
I had not the time to flow it;
I had the time but chose to throw it;

I couldn't write the function;
Error returned: ignored injunction;
I couldn't parse the vars;
Error returned: invalid chars;

function finish(){
not an argument;
but neither adient;
return false;
//the code was absent
}
English III H Poetry Book Project

This poem represents my inability to follow through with my desire to write a functional JavaScript poem. Rather than using commas or other proper punctuation to end each line, I used semicolons, a popular practice when coding as it allows for errors to be returned properly and in some cases is actually necessary for the execution of code. The poem starts off with what few lines I had in the initial poem when I started it, then continues into excuses regarding lack of time as a result of procrastination. A function is defined in the third verse titled "finish," which explains the replacement of the semicolon with an open curly bracket at the end of the first line. In a function, you may also define arguments within the parenthesis following the function name. I, however, left it empty (they are necessary regardless of choice) to symbolize the lack of argument, which itself is symbolic of my negligance toward the initial poem. There was no argument; I simply procrastinated. The next line further supports it, as there was no agreement either. It solidifies the point that no progress was made. A function may return a string, integer, or boolean where it is called. When it returns a boolean, the function basically acts like a yes or no question. When this function, "finish," is called, it will return false, or "no." In order to complete a rhyme essential to the scheme of this poem, a comment was added after the return. Comments are put in code for instruction. Since there's no point in including code after returning a value, I added a comment, which makes logical sense from a coder's perspective. I then closed the scope of the function with the last curly bracket, which is on the next line because if it were on the same line as the comment it would be read as a comment and therefor discarded. It holds meaning as well, as an absense of code (or dialogue) on that particular line, a reference to the previous line.
© 2011 - 2024 Fxy
Comments4
Join the community to add your comment. Already a deviant? Log In
5ilvara's avatar
It would be nice to space your comment. The poem is interesting. Creative, audacious. I love it. ... And will look for more ;)