Tag: c#

CSV Parser

For some of my work, I work on data importers and other different tasks which require dealing with CSV and tab delimited files which can often be very challenging to parse. I was sick of rolling my own csv/tab delimted parser, so I went ahead and found one that worked very well on CodeProject simply called CsvReader.

CsvReader works very similar to the StreamReader which is a firehose cursor (only going forward) and is capable of parsing very quickly (30+ MB/s). CsvReader can also be databound if there’s a need by using IDataReader. Using CsvReader is fairly simple and doesn’t really require much more than adding a few references to your project and simple array handling.

Hope this helps, it sure made things simpler for me.

COMP 306: Course Review

COMP 306 is a class about C++ and definitely required some previous experience programming in C, C# or some other object oriented language or variant of C. I finished the class a few months ago and have been very busy at work implemnting business intelligence and creating data quality checks and balanaces. (Only makes sense since I work for a knowledge based company!)

Thinking in C++, 2nd Edition by Bruce Eckel is the primary resource for the class. Thinking in C++ is a fantastic book, but I really feel that it suffers quite a bit by not including the answers to the questions in the book and requiring you to purchase a digital book if you want the answer key to the book.  The handbook for the course is pretty well written and covered most of what I felt was important related to C++ and object oriented programming: the last few chapters of the book could have used some additional explanation though.

The exam is based off of the four individual assignments and is pretty fair: my only complaint regarding the exam is that sometimes programming on paper can be challenging. I did very well in the course, not really a surprise considering I programmed for about five years before taking the class. Over all, I can say I would take the class again and found that it wasn’t too difficult and that the marking was pretty fair and that Richard Huntrods was definitely very available and helpful in both email and the class forums.