Author Topic: Thinking in software and code poetry  (Read 2197 times)

0 Members and 1 Guest are viewing this topic.

Offline engineer_in_shorts

  • Regular Contributor
  • *
  • Posts: 101
  • Country: gb
Re: Thinking in software and code poetry
« Reply #25 on: February 09, 2018, 04:42:00 pm »
Here, now you have more time in your day :D

Don't think a bottle of gin is the right tool to have on my desk at work. Although, if anyone asks i just nod towards the network share with 70+ copy and pasted project folders that say "v1_xx_xx" and shout "Thats not source code control, make it shtop".


 

Offline @rt

  • Frequent Contributor
  • **
  • Posts: 974
Re: Thinking in software and code poetry
« Reply #26 on: February 09, 2018, 06:15:22 pm »
I’m up to 2 point something.
 

Offline paulca

  • Super Contributor
  • ***
  • Posts: 2038
  • Country: gb
Re: Thinking in software and code poetry
« Reply #27 on: February 09, 2018, 07:08:34 pm »
To make use of my assessLife( int situation ) function I wrote this:

Code: [Select]
while( ! dead() ) {
    while ( assessLife( mySituation ) ) {
        party();
        takeThingsForGranted();
        wasteTime();
    }
    while ( ! assessLife( mySituation ) ) {
        makeChanges();
        mope();
        getDrunk();
        makeThingsWorse();
    }
}
"What could possibly go wrong?"
Current Open Projects:  3 Channel Audio mixer with DAC, BT, pre-amps and h/phone amp, WS281x LED controller Version 2 5V/5A w/Atmega328, FY6600 Power supply, 5A DC Load (Still!)
 

Offline Macbeth

  • Super Contributor
  • ***
  • Posts: 2553
  • Country: gb
Re: Thinking in software and code poetry
« Reply #28 on: February 10, 2018, 12:38:10 am »

That is great but equally enrages me. Because I will be forced to use the variable names (globals too in my experience) given by a dyslexic bastard for the entire project.  :horse: |O :rant: :wtf: (Can't hurt xeirs feelings by correcting spellings checked into source control, besides it's dangerous to change production code! no manager would EVER approve!)  :palm:

accross, couse, RLY?
 

Offline Cyberdragon

  • Super Contributor
  • ***
  • Posts: 2162
  • Country: us
Re: Thinking in software and code poetry
« Reply #29 on: February 10, 2018, 03:09:01 am »
I think you guys are just trolling the C++ haters here. :P In that case...here's not C to make fun of C haters
(don't try to make too much sense of it)


Code: [Select]
import hate
import mind
import thread
from time import sleep


target=thread.getthisone()
codeused=target.codetype()
try:
      if (isinstance(codeused, str)) and (codeused=="C++"):
            while not mind.satified():
                troll=hate.thisthread()
                print(troll)
      else:
            mind.issatisfied=True
            exit()
except (TableFlippedError, ComputerSmashedError):
      print("Troll Eliminated")
      sleep(10)
      exit()


P.S. I've always wondered what this means (Kudos points for knowing the reference)


Quote
30 56, 99 are correct, limited 4 and 8 are missing
*BZZZZZZAAAAAP*
Voltamort strikes again!
Explodingus - someone who frequently causes accidental explosions
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 1666
  • Country: au
Re: Thinking in software and code poetry
« Reply #30 on: February 10, 2018, 01:18:33 pm »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf