<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

  <channel>
    <title>vsbabu.org : dotnet</title>
    <link>http://vsbabu.org/mt/archives/categories/dotnet/</link>
    <description>Gluing passing thoughts to foregone conclusions</description>
    <dc:language>en-us</dc:language>
    <dc:creator>vsbabu@gmail.com</dc:creator>
    <dc:rights>Copyright 2009</dc:rights>
    <dc:date>2003-09-23T06:27:55+05:00</dc:date>
    <admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=2.661" />
    <admin:errorReportsTo rdf:resource="mailto:vsbabu@gmail.com"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>

    <item>
      <title>Is ADO.Net portable?</title>
      <link>http://vsbabu.org/mt/archives/2003/09/23/is_adonet_portable.html</link>
      <description>Wondering why common database functions are named differently in different .Net providers.</description>
      <guid isPermaLink="false">900@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
One thing I noticed when <a href="http://vsbabu.org/tools/viewcvs.cgi/examples/oracle/OraSQLSelect.cs?rev=HEAD&cvsroot=dotNet&content-type=text/vnd.viewcvs-markup">I used Oracle provider for .Net from Microsoft</a> is that all Oracle specific methods are named like Oracle*. Eg: <code>OracleConnection, OracleReader, OracleException</code>. Wouldn't this mean that I will have to change my code if I 
switch from Oracle --a fat chance-- to SQL Server?
</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-09-23T06:27:55+05:00</dc:date>
    </item>
    <item>
      <title>Oracle with C#</title>
      <link>http://vsbabu.org/mt/archives/2003/09/08/oracle_with_c.html</link>
      <description>What has 3 seconds got to do with opening an Oracle connection from Microsoft&apos;s .Net provider for Oracle?</description>
      <guid isPermaLink="false">880@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Since I work a lot with Oracle databases, the way I usually evaluate technologies
is by checking how well behaved (execution/development/deployment speed) the
technology is with Oracle.  Java, Python, PHP and Perl are all very good in working
with Oracle. ASP with VBScript was a miserable experience, especially when combined with stored procedures.
</p>

<p>
Recently, I tried <a href=" http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdataoracleclient.asp">Microsoft's Oracle.NET provider</a>. Wrote a program to print results of a  simple SQL;  way too slow.
</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-09-08T07:41:36+05:00</dc:date>
    </item>
    <item>
      <title>Slashdot: Java vs .Net</title>
      <link>http://vsbabu.org/mt/archives/2003/09/05/slashdot_java_vs_net.html</link>
      <description>Interesting (for a change) discussion on the subject, on Slashdot.</description>
      <guid isPermaLink="false">879@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
<a href="http://developers.slashdot.org/developers/03/09/05/1855250.shtml?tid=108&tid=109&tid=126&tid=156&tid=187">Slashdot discussion</a> - this one has the usual flame war bit, but there are some *excellent* comments also.
</p>]]></content:encoded>
      <dc:subject>java</dc:subject>
      <dc:date>2003-09-05T18:20:55+05:00</dc:date>
    </item>
    <item>
      <title>Variable number of function arguments in C# </title>
      <link>http://vsbabu.org/mt/archives/2003/08/27/variable_number_of_function_arguments_in_c_.html</link>
      <description>Unlike what I thought last week, this is possible in C#</description>
      <guid isPermaLink="false">875@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
During the training last week, my instructor was quiet sure that 
you cannot define a function that takes in multiple number of arguments, like **kw in C or Python.
</p>

<p>
Further research on MSDN reveals that it is indeed possible to do that with C#. 
In short, you use the keyword <a href="http://msdn.microsoft.com//library/en-us/csref/html/vclrfParams.asp">params</a>
to achieve this.
</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-08-27T19:15:34+05:00</dc:date>
    </item>
    <item>
      <title>C# day 3</title>
      <link>http://vsbabu.org/mt/archives/2003/08/25/c_day_3.html</link>
      <description>Notes from third day of learning C#</description>
      <guid isPermaLink="false">872@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<ul><li>I love object.Parse() method, especially for dates. </li>
<li>Quite a few C# code samples seem to use object.ToString() liberally. Kasia talked about <a href="http://www.unix-girl.com/blog/archives/000958.html">abuse and overuse of toString</a> in Java.</li>
<li>Like Java, C# also provides only single inheritance. Python can do multiple inheritance. I favour single inheritance coupled with interfaces though.</li>
<li>Unlike Java, C# needs a <em>virtual</em> keyword for virtual function. In Java, methods are assumed to be virtual unless specified by <em>final</em>. This might cause some performance enhancement due to less dynamic binding. There is also a <em>sealed</em> keyword!</li>
<li>I think I like the keyword <em>override</em>. It is better to be explicit.</li>
<li>C# supports operator overloading. Java doesn&#39;t, <a href="http://vsbabu.org/mt/archives/2002/02/20/sample_script_operator_overloading.html">Python does</a>.</li>
<li>I like Properties a bit more than usual getX/setX in Java. <a href="http://users.rcn.com/python/download/Descriptor.htm">Python descriptors</a>.</li>
<li> <em>as</em> and <em>is</em> are useful little operators to compare object types. I&#39;ve come to love <em>is</em> in Python.</li>
<li>Like Java, C# also has abstract classes. This is something I miss in Python; though it is possible to <a href="http://mail.python.org/pipermail/python-list/2003-July/171785.html">prevent instantiation of base classes</a> in Python. Additionally, there is <a href="http://www-106.ibm.com/developerworks/linux/library/l-pymeta.html">metaclasses in Python</a>, but that is a bit too much for me, most of the time.</li>
<li>Like Java, C# support interfaces. Python doesn&#39;t have an interface keyword, but good folks at Zope Corp has <a href="http://www.zope.org/Wikis/Interfaces">a scarecrow implementation</a>.</li>
<li>The list (or Collection) classes are there just like in Java. I still can&#39;t figure out why these <em>modern</em> languages chose to re-invent the wheel rather than implement something like Python&#39;s simple but much more powerful lists, dicts and tuples.</li>
<li>C# has a concept of <em>attributes</em>. Pretty powerful stuff, but I would&#39;ve preferred it to be inside the method code immediately after method definition rather than immediately before it.</li>
<li>Reference data types are always passed by reference. The <strong>only</strong> way to make sure your object doesn&#39;t get modified after you pass it to a method (say, from a third party library) is by creating and passing a clone.</li>
</ul>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-08-25T08:40:44+05:00</dc:date>
    </item>
    <item>
      <title>Mozilla intentionally breaks ASP.Net pages?</title>
      <link>http://vsbabu.org/mt/archives/2003/08/22/mozilla_intentionally_breaks_aspnet_pages.html</link>
      <description>F.U.D meets &quot;I&apos;m OK, you are not&quot;.</description>
      <guid isPermaLink="false">871@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>Yesterday, during C# training, a very interesting discussion happened. The topic was a demo of <em>amazing</em> (not my adjective) capabilities of .Net.</p>

<p>The instructor gushed about how web programming is as easy as Windows <span class="caps">GUI</span> programming - <em>personally, I would&#39;ve preferred if <span class="caps">GUI</span> programming is as easy as web programming.</em> Just drag and drop controls from Visual Studio.Net and deploy it to <span class="caps">IIS.</span></p>

<p>Naturally, someone told that the <span class="caps">HTML</span> generated doesn&#39;t seem to work in Mozilla or Opera at times.</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-08-22T06:19:02+05:00</dc:date>
    </item>
    <item>
      <title>C# day 2</title>
      <link>http://vsbabu.org/mt/archives/2003/08/20/c_day_2.html</link>
      <description>Notes from second day of going through C#</description>
      <guid isPermaLink="false">869@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<ul><li>Can catch multiple named exceptions <span class="caps">AND</span> have any uncaught exception caught in a generic exception clause. Good.</li>
<li>Can call a function with named arguments like <em>func(myname=&#8221;Babu&#8221;)</em>. [Better than Java, as good as Python].</li>
<li>Through delegates, functions can be passed as parameters to other functions. However, these functions should return void, and can&#39;t accept any parameter - like a subroutine.</li>
<li>Multithreading is pre-emptive.</li>
<li>Arrays are decent and size can be initialized using a variable size. [As good as Java, but completely smoked by Python&#39;s lists (forget slices, reverse indexing etc.)]</li>
<li>Strings are comparable to Java strings. Can&#39;t  come anywhere near Python&#39;s strings (No easy slices, no reverse indexing, <span class="caps">AFAIK</span> multi-line strings are a pain just like <span class="caps">C,</span> no triple-quoting or freely using single and double quotes).</li>
<li>The good old method of using <em>%s %d</em> etc. to format a string is replaced with <em>{0} {1}</em> etc. I can&#39;t quite see any benefit. Again, smoked by <a href="http://simon.incutio.com/archive/2003/07/28/simpleTemplates">Python&#39;s ludicrously simple mechanism</a></li>
<li>Date processing and threading is pretty simple. In these two areas, I think C# surpasses Java and to a certain extent, Python (without mxTools).</li>
</ul>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-08-20T19:13:10+05:00</dc:date>
    </item>
    <item>
      <title>C# day 1</title>
      <link>http://vsbabu.org/mt/archives/2003/08/19/c_day_1.html</link>
      <description>Thoughts from first day of going over C#</description>
      <guid isPermaLink="false">867@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<ul><li>Claims again and again to be a more modern language. Still as annoying to type as <span class="caps">C. </span>Or C++. Or Java. I think making M capital in <em>main</em> is not enough :-)</li>
<li>Has a <em>foreach</em> construct. This is better than Java or C++. Still not as elegant as simple <em>for x in y</em> of Python. [better than Java, not as good as Python]</li>
<li>Cannot pass default parameter values to functions. Modern, you say? [not as good as Python]</li>
<li><span class="caps">XML</span> documentation comments. Seems to me that such comments should all start with <em>///</em>. Pain to keep typing this unless you&#39;ve smart editors. [worse than both Java and Python]</li>
</ul>

<p>Things I need to look up:</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-08-19T19:54:02+05:00</dc:date>
    </item>
    <item>
      <title>KOBRA - .Net for Python</title>
      <link>http://vsbabu.org/mt/archives/2003/01/30/kobra_net_for_python.html</link>
      <description>A .Net wrapper, just like the COM wrapper.</description>
      <guid isPermaLink="false">704@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p><a href="http://home.attbi.com/~chetangadgil/DotNetWrapperForPython.htm">KOBRA</a>
is a .Net wrapper for Python by Chetan Gadgil. <q>Anyway, long story short, I have a half baked version which is quite usable, even though it is still in somewhat a developmental stage..</q>
</p>
.]]></content:encoded>
      <dc:subject>python</dc:subject>
      <dc:date>2003-01-30T05:28:39+05:00</dc:date>
    </item>
    <item>
      <title>.NET viable on other platforms?</title>
      <link>http://vsbabu.org/mt/archives/2003/01/10/net_viable_on_other_platforms.html</link>
      <description>Some opinions on the subject.</description>
      <guid isPermaLink="false">683@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p><a href="http://www.neward.net/ted/weblog/index.jsp">Ted Neward</a> thinks that <a href="http://www.neward.net/ted/weblog/index.jsp?date=20030110#1042188488468">.NET <b>is </b>viable on other platforms</a>.</p>

<p><a href="http://www.brunningonline.net/simon/blog/archives/000579.html">Simon Brunning</a>: <q>Is it just me, though, or are his points one and two somewhat contradictory? He says that WinForms, ASP.NET, ADO.NET, etc. won't be available off Windows. If you start leaving this sort of stuff out, how valuable <b>is </b>.NET anyway?</q></p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-01-10T07:09:29+05:00</dc:date>
    </item>
    <item>
      <title>First thoughts on ASP.NET</title>
      <link>http://vsbabu.org/mt/archives/2003/01/09/first_thoughts_on_aspnet.html</link>
      <description>I think .Net has some strong points. Some scary points too.</description>
      <guid isPermaLink="false">682@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Read a little bit more about .Net and ASP.NET. Downloaded the free IDE
<a href="http://www.asp.net/webmatrix/">Web Matrix</a> on my XP Home
machine and played with it. Very good. No need to have IIS installed.
I've mixed feelings about ASP.NET now.
</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-01-09T20:18:49+05:00</dc:date>
    </item>
    <item>
      <title>Installing .NET SDK in Win98</title>
      <link>http://vsbabu.org/mt/archives/2003/01/06/installing_net_sdk_in_win98.html</link>
      <description>Short instructions on installing .Net SDK in Windows 98.</description>
      <guid isPermaLink="false">672@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
Microsoft does not recommend this and the installer you download will tell you
to upgrade to NT, 2000 or XP. If you've a Windows 98 machine that has atleast 600MB free disk space and 64MB RAM, you can install .NET. Here is how I installed it. It compiles the "Hello World" C# program. I've not tried other
stuff though.
</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-01-06T11:48:18+05:00</dc:date>
    </item>
    <item>
      <title>Sharp Develop</title>
      <link>http://vsbabu.org/mt/archives/2003/01/05/sharp_develop.html</link>
      <description>A good GPL&apos;ed IDE  using C# for .Net</description>
      <guid isPermaLink="false">670@http://vsbabu.org/mt/</guid>
      <content:encoded><![CDATA[<p>
It has been snowing from the morning. Perfect opportunity to check out
all this buzz about .Net. Went through some articles on<a href="http://www.ondotnet.com/">OnDotNet</a>. To me, it looks a lot
like Sun's Java idea. C# is pretty decent too. I liked the Windows Forms
idea. At the moment, I don't care much for the hoopla around web services
using .Net. XML-RPC would do just fine for me.
</p>

<p>
Anyway, this led me to <a href="http://www.icsharpcode.net/OpenSource/SD/default.asp">#develop</a>,  a free IDE for C# and VB.NET projects on Microsoft's .NET platform. It is open-source (GPL), and you can download both sourcecode and executables.
</p>]]></content:encoded>
      <dc:subject>dotnet</dc:subject>
      <dc:date>2003-01-05T19:06:59+05:00</dc:date>
    </item>


  </channel>
</rss>


