On 18/07/2014 20:02, Michael Shepanski wrote:
The thing that amazes me most is that we are such a small club. When I read things online about how ORM is "the Vietnam of computer science", and the way people seemed to have coined the phrase "impedance mismatch" specifically to mean "I'm sad because I can't write queries in my programming language", I wonder why everyone isn't attempting this.
Speaking for myself, here, but nowadays I punt things like database access to C# code, where just about everything is trivial (there's libraries for everything, and even if you want to hand-roll the SQL you can make a basic bare-persistence ORM in less than a page of code). Which isn't to say that I wouldn't be thrilled if there were a good C++ database library. It's just that historically there hasn't been (to my knowledge), and I haven't minded that all that much because I usually regard C++ as useful for high-performance code and integration with third-party native libraries, and C# as useful for everything else. Now excuse me while I don my flame-retardant coat, for daring to post such things in a C++ mailing list. ;)