C++ cryptics

Posted by Miha Markič on August 29, 2007 · 1 min read

I saw today this line of code in a newsgroup and couldn't resist to compare it to the same code written in C#.

array<System::Data::DataRow^>^ rows = myTable->Select("...");

Now, compare the managed C++ code above to the C# code below:

DataRow[] rows = myTable.Select("...");

I wonder which one is more clear and readable...