Interview Question in SQL Server Data Services (SSDS)
Interview Question :: Keep it in tables or create objects
I recently developed an application that gathers lots of remote data from two very large database servers, runs some intensive calculations using SQL queries and VB code, storing the intermediate values in local tables, and then generates some reports. It took about 4 weeks to complete by myself working 4 hours a day.
It runs very nicely with minimal user input. But I was thinking recently that if I wanted to have done something more than an ad-hoc design, I probably should've made some nice, organized class diagrams for a domain model and then used these diagrams to implement classes that would hold the data while it was being worked on (via clean class methods and services).
But my question is: wouldn't this be overkill? The data is already modeled on the two servers. All I'm doing is bringing objects into memory, executing code instead of queries, and spitting the output into tables anyway because I need to run reports.
Which way is better?

Loading ...