<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: Underscore user preference</title><link>https://sourceforge.net/p/patternbuilder/feature-requests/2/</link><description>Recent changes to 2: Underscore user preference</description><atom:link href="https://sourceforge.net/p/patternbuilder/feature-requests/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 09 Aug 2004 14:12:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/patternbuilder/feature-requests/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>Underscore user preference</title><link>https://sourceforge.net/p/patternbuilder/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;PB's code generator prefixes instance variables with an &lt;br /&gt;
underscore.  Some people like this, and others don't.  Apple &lt;br /&gt;
have informally asked Cocoa developers not to use the &lt;br /&gt;
underscore prefix, as it could cause name clashes with their &lt;br /&gt;
own use of the underscore in the Cocoa classes.&lt;/p&gt;
&lt;p&gt;PB should have a user preference that allows developers to &lt;br /&gt;
specify the prefix that they want on their generated &lt;br /&gt;
instance variables, e.g. '_', '', 'my', '_my' and so on.&lt;/p&gt;
&lt;p&gt;If developers use the 'raw' variable names in their code, &lt;br /&gt;
rather than accessor methods, then a change to the prefix &lt;br /&gt;
will mean they have to update the code in their methods &lt;br /&gt;
and states.  PB could provide a global variable replacement &lt;br /&gt;
capability, applied at the users discretion, when the global &lt;br /&gt;
prefix is changed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neil Earnshaw</dc:creator><pubDate>Mon, 09 Aug 2004 14:12:43 -0000</pubDate><guid>https://sourceforge.net3d681b08bf92faa6b70f569f60aa1521c667f25a</guid></item></channel></rss>