Jump to content

  • Log In with Google      Sign In   
  • Create Account

ysg

Member Since 01 Mar 2013
Offline Last Active Sep 17 2013 01:09 PM

#5043047 Magical if-statement

Posted by ysg on 14 March 2013 - 07:54 AM

Couldn't foo and bar also be declared volotile?
 

I don't think I've ever used volatile in my entire coding career.




#5042391 Magical if-statement

Posted by ysg on 12 March 2013 - 12:15 PM

if (foo == foo || bar == bar) {
...
}
else {
...
}

This is an old one.  My software lead did this, I showed it to her and she said: Umm... I... yeah... I wasn't thinking :) .

 

We both laughed and I rewrote it all :) .




#5040136 wordpress

Posted by ysg on 06 March 2013 - 03:33 PM

Directory structure for a wordpress site at my job:

  1. wordpress
  2. wordpress2
  3. wordpress-1.0-platinum
  4. wordpress-1.2-IS
  5. wordpress-bak
  6. wordpress-dev
  7. wordpress-dev (copy)

I need a drink...




PARTNERS