Android

Example of an assumption in code

backgroundJ3

In my previous post I mentioned assertions and assumptions in code. I just finished writing a bit of code that could potentially use an assertion, so i thought I would share it as an example: int getBarometricLevel(float height){   if(height < barametricHeight[1]){     return 0;   }else if (height < barametricHeight[2]){     return 1;   }else if (height < barametricHeight[3]){…

Read more »

Assertions

BedTime2

I recently interviewed for a company who used multiple layers of interviews to determine if they wanted to hire someone.  I was not interviewing for a specific position as they had multiple positions open.  The hiring manager very much wanted to hire me as I had already done some programming tests and he was rather…

Read more »

Newark Designs

Hi, I'm arbitrary text. Who are you?

My Twits

  • Kroger brand Sausage Patties have MSG in them. I am literally angry with rage. - 3 hours ago
  • Guess I'm not drinking this any time soon. fb.me/1759zKwVL - 1 day ago
  • Someone just posted on my G+ feed: "Here's a math question for all you parents out there. My 8-yr old son is... fb.me/23UD0igs1 - 1 day ago
  • I signed up for Google Music's All Access service. In the last hour I've found four albums that I've been wanting... fb.me/Af0QcLX0 - 1 day ago
  • I need to hurry up and see Star Trek before everyone on here RUINS it for me haha. I'm doing pretty good so far,... fb.me/A13MtTW1 - 1 day ago

User Login