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?
46
Upvotes
View all comments
Show parent comment
3
u/[deleted] Oct 28 '14
Well, to be perfectly honest, almost everything is configurable. Bet you five bucks there are at least a dozen different flags or arguments you can use when starting your web browser to make it do different things.
In the case I'm referring to, it's not so much behavior but environment. Things like connection strings and URIs.
My complaint is that, in our case, we don't need configuration: our test environments mimic our live environment. It's just a big headache to keep config files updated, and the config files themselves are not checked at compile time (unlike the rest of the code), so broken configurations take forever to figure out.
(For reference, the config stuff I'm referring to is the xml configuration you see in a *.config file associated with a .NET application.)