<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 July 2013 08:18, Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
On Thu, 11 Jul 2013, vfclists . wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Should TObject or TComponent have a Comment property?<br>
<br>
I think they should. One for the design itself and one for describing the usage at design or runtime.<br>
</blockquote>
<br></div>
No. It takes memory and needs management. Putting this in a basic class such as TComponent is not an option.<br>
Your suggestion to 'not store it in the final executable' is not even remotely possible.<br>
<br>
You can put a comment in front of the object or any of its properties, and the lazarus IDE will display this comment for you.<br>
<br>
It does not take memory, and performs the same function. The only reason the smalltalk people didn't take that approach, I suppose, is because they don't have an intelligent IDE.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>LOL. The Smalltalk IDE "IS" the original IDE and over 30 years later it is yet to be matched for functionality and practicality.<br><br></div><div>This comment issue is like approaching a person on the street and asking him "What is your occupation?" - and he doesn't can't tell you. You can only look at his name badge if he is wearing one, and find out from some authority who he might be, assuming you know who and where to ask.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Michael.</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-devel" target="_blank">http://lists.freepascal.org/<u></u>mailman/listinfo/fpc-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Frank Church<br><br>=======================<br><a href="http://devblog.brahmancreations.com">http://devblog.brahmancreations.com</a>
</div></div>