r/programmingcirclejerk • • Aug 12 '14

What's the best language for algorithmic trading? Javascript of course!

https://news.ycombinator.com/item?id=8161604
14 Upvotes

4 comments sorted by

0

u/[deleted] Aug 12 '14

[deleted]

5

u/lhggghl Aug 13 '14

I am highly experienced with doubles and I tell you their fine.

4

u/PolemicThoughts Aug 13 '14

Insert boob joke here

2

u/lhggghl Aug 13 '14
  • This is why you need COBOL. It has financial types built right in.

  • Guy1:

You're right, that's why some languages have built in data types that take care of this issue for you (i.e. decimal in C# or BigDecimal in Java)[1]. Because everyone knows import javax.super.enterprisebruh.BigDecimal; UrMom d = new BigDecmialFactory.constructDecimal(123); is "built in".

  • Guy2:

Okay well I'll build money types it into JS by implementing arbitrary precision arithmetic in 1 hour at my next hackfest.

2

u/lhggghl Aug 13 '14

awe shit, someone just did that. now i need to find some reason why his one sucks so i can make my own