Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

## Work

Sign in to follow this  


So, I made a huge mistaek at work and it made things go boom while no one was here. That sucked, so today i'm feeling rather blahish. In order to help take my mind off of things (keep my mind on something other than how badly I fucked up), I took Pouya's tetris code and made it a little more ... "readable." What the fuck is up with line 80?
Sign in to follow this  


Recommended Comments

Not much you can really do about line 80 except seperate the tertiary operators. He basically just has a huge bunch of nested if statements shoved in there in a whack manner. You would have to know which of those functions returned boolean statements to really decipher it though.

Share this comment

Link to comment
Also, a few completely useless assignments are there just to fill up the space for making lines 80 chars long.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!