Thinking about time
Working with time in software can be a tricky thing. I'm currently working on a project that makes a heavy use in a calendar, it's pretty much the center-piece of the system. I keep getting surprised at the answers that I get from my tests.
I write code that runs over the calendar, and need to do all sorts of actions on it. The interesting thing about it is that I keep finding myself doing set based operations. Find me all the days where this and that happens. Put this in all every forth day, and so on.
For a while I considered making this work via an in memory database, dataset/sqlite/SharpHSQL, but I rejected it simply because of the overhead to write the adapters. I now need to find a good way to express set operations in C#, without using Linq.
Anyone has any experiance with that?
Comments
Comment preview