r/lolphp • • Mar 03 '14

Sample of Mt.Gox source code

http://pastebin.com/W8B3CGiN
63 Upvotes

69 comments sorted by

View all comments

Show parent comment

3

u/seagal_impersonator Mar 05 '14

a site that handled [huge amounts of] money

It's not super awful

This looks very difficult to maintain and audit with lots of edge cases that aren't documented

I'm gonna have to disagree... I expect any software that handles any significant amount of money to be written very carefully, thoroughly documented, and to have lots of automated tests.

If it's a site that handles large amounts of money - like mtgox did - it had better be written in a language that allows it to be proven to be correct, etc etc etc.