News for hackers. Stuff that matters.
Re:Alleged Mt.Gox code leaked on IRC node by Russian Hacker by dan15 on Monday March 03, 2014 @03:45AM (#7332696)
Anything in particular about this code that makes you cry and cringe?
Re:Alleged Mt.Gox code leaked on IRC node by Russian Hacker by nodesocket on Monday March 03, 2014 @04:30AM (#7332815)
Lot's, but perhaps most obvious, not using a routing engine or framework, simply spaghetti code case statement:

      public static function _Route_getStats($path) {
                switch($path) {
                        case 'version':
                          ...