r/dailyprogrammer • • Oct 27 '14

[Weekly #15] Architectural Patterns

Let's say you're taking on a larger project than usual. It spans multiple files/namespaces and requires a large variety of different components to all slot in together. What approach do you take?

I personally believe that for any large scale project, you need an OO approach, Although John Carmack did state that functional code, whilst slow in the beginning has a significant return in the long run.

What about you? How do you go about your projects?

50 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/Tekmo Nov 03 '14

If you want high-performance immutable programming you can use Haskell, which was built from the ground-up to perform well with short-lived immutable data structures.

1

u/generalbaguette Nov 12 '14

A few years ago my Haskell garbage collector (via ghc) was churning through multiple GiB a second created-and-destroyed. It's probably only accelerated from there.