Life with Visio and other Microsoft Toys!

C# – The new APL?

leave a comment »

Thanks to a heads up by HockeyGeekGirl, I have spent the last few days dissecting and digesting a new Mango example for handling a database. It is more than what I need, but it is useful exploring the code to figure out what makes it tick. My immediate interest is to dynamically create PivotItems for a Pivot where each PivotItem is identical except for the filtering. I am trying to create a game and arbitrarily limit the number of players. Each player has his own PivotItem.

I have been programming for decades and have used most languages (I actually was able to get an Art’s credit for a course on comparative languages (assembler, Fortran, COBOL, PL1, APL and Algol)). Though APL was interesting in its’ ability to write a complete program in one line, it was tricky trying to understand the code a week later. C# with its’ pre and post increments and other subtle nuiances is approaching that issue. You have to stand back and look at the code and really make sure you understand what is there. When C (that is without a +, ++ or #) was first introduced, it took a while for me to get use to curly brackets rather than begins and ends. five Ends in a row were easier to identify than }}}}}.

In the example that Susan (aka HockeyGeekGirl) mentioned was the use of [Table] and [Column] tags (a new structure to me), so the obvious next step was to Bing “C# [Table]”. Not much use, but Bing reminded my that in addition to a programming language, C# was also a musical note.

So today I will continue dissecting the WP7 database app.

John Marshall… Visio MVP


Written by johnvisiomvp

July 17, 2011 at 2:42 pm

Posted in C#, Windows Phone 7, WP7

Tagged with , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: