Recent Posts
For loops for fun and profit
For loops aren’t rocket science by any stretch of the imagination, but perhaps some wayfaring programmer will find the following enlightening.
What appears to be at first basic and fundamental can belie the incredible flexibility offered. Below are a few examples related to that most common of control structures, the for loop.
These examples apply to most variations of C and C-based languages as well as Java.
Infinite loop:
for(;;) { // Works a treat for main event loops.
read more
Once, atop a mountain
She stood atop a mountain
sword in hand
battle in mind, heart, and soul
The stars in her eyes; a universe
her heart; an ocean
And that, that is the story of one’s struggle against a life of action and consequence. That, our dear friend, was what transpired into the greatest battle story of all. Or so they say.
Imagine the scene: Thousands of soldiers, or shall we say minions, descending down the mountain unto the sleeping village below.
read more
A fine quote never goes out of style…
As the years wear on, you stop compromising your principles.
-Bubba Smith
read more