<?xml version="1.0" encoding="windows-1252"?>
<node id="1014718" title="Re: Hungarian notation, kind of" created="2013-01-22 11:24:23" updated="2013-01-22 11:24:23">
<type id="11">
note</type>
<author id="647953">
sundialsvc4</author>
<data>
<field name="doctext">
&lt;p&gt;
To me, consistency is key. &amp;nbsp; If your application has to work alongside other code (e.g. in VB) that already uses this nomenclature, then follow suit. &amp;nbsp; If you are working with a legacy application that didn&amp;rsquo;t use it, don&amp;rsquo;t introduce it. &amp;nbsp; Figure out what the Romans were doing and keep doing it.
&lt;/p&gt;&lt;p&gt;
These notations can unintentionally be &lt;em&gt;misleading&lt;/em&gt; when used with a &amp;ldquo;typeless&amp;rdquo; language, such as Perl is and such that VB often is. &amp;nbsp; You can legitimately find that your &lt;tt&gt;szFoo&lt;/tt&gt; variable contains an integer, or that the value it contains has magically transmogrified itself into one. &amp;nbsp; Thus, the social-contract that has been &lt;em&gt;implied&lt;/em&gt; by the naming can&amp;rsquo;t be upheld by the technology, which might produce confusion.&amp;nbsp; Nevertheless, human beings will still benefit from consistency in naming, whatever that consistency is.
&lt;/p&gt;
</field>
<field name="root_node">
1014477</field>
<field name="parent_node">
1014477</field>
</data>
</node>
