8. FSHARP.ORG/TESTIMONIALS
speed development by 50 percent or more, European IB
order of magnitude increase in productivity, GameSys
processes that used to require hours now take just minutes, Grange
Insurance
performance is 10× better than the C++ that it replaces, Aviva
leads to virtually bug-free code, Fixed Income
I am still waiting for the first bug to come in, E-On
complex algorithms can be expressed succinctly, Microsoft
everything becomes simple and clear when expressed in F#, Byron Cook
9. WHAT?
F# is a practical, functional-first language
that lets you write simple code
to solve complex problems
15. THOUGHTWORKS TECH RADAR
MARCH 2012
“F# is excellent at concisely expressing
business and domain logic.”
“Developers trying to achieve explicit business logic within an application may
opt to
express their domain in F#
with the majority of plumbing code in C#.”
16. ORDER – RECORD TYPE
type Order = {
Side : Side
LimitPrice : Price
Quantity : Quantity
IsAllOrNone : bool
}
17. TIME IN FORCE – UNION TYPE
type TimeInForce =
| Immediate
| GoodForDay
| GoodTillDate of DateTime