<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments for On Programming</title>
	<atom:link href="http://op.closedformodification.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://op.closedformodification.com</link>
	<description>A practical view on programming, software development in general, and anything that is related in sometimes surprising ways</description>
	<pubDate>Tue, 06 Jan 2009 01:36:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on X-Macros by Wolfgang</title>
		<link>http://op.closedformodification.com/2006/06/18/x-macros/#comment-2916</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Thu, 10 Jan 2008 13:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/06/18/x-macros/#comment-2916</guid>
		<description>&lt;p&gt;Sure, I just compressed the code into one file to make it easier to present. There is nothing that keeps from splitting up the code into more files, if you are so inclined. You just redefine the big X accordingly, to generate a class declaration in the header, and the implementation in the cpp file ;)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sure, I just compressed the code into one file to make it easier to present. There is nothing that keeps from splitting up the code into more files, if you are so inclined. You just redefine the big X accordingly, to generate a class declaration in the header, and the implementation in the cpp file <img src='http://op.closedformodification.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X-Macros by quizzical</title>
		<link>http://op.closedformodification.com/2006/06/18/x-macros/#comment-2912</link>
		<dc:creator>quizzical</dc:creator>
		<pubDate>Thu, 10 Jan 2008 03:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/06/18/x-macros/#comment-2912</guid>
		<description>&lt;p&gt;Traditionally, the class prototype is defined in a header file, while the class implementation is defined in a .cpp file.  Using XMacro-Properties.cpp as our example, is there a way to write the prototype for Properties in a header, while implementing elsewhere:&lt;/p&gt;

&lt;p&gt;define X(tp, name)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;const tp&#38; Properties::get##name() const {return m_##name;}  \
void Properties:: set##name(const tp&#38; in##name)  \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;???????&lt;/p&gt;

&lt;p&gt;Many thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Traditionally, the class prototype is defined in a header file, while the class implementation is defined in a .cpp file.  Using XMacro-Properties.cpp as our example, is there a way to write the prototype for Properties in a header, while implementing elsewhere:</p>
<p>define X(tp, name)</p>
<pre><code>const tp&amp; Properties::get##name() const {return m_##name;}  \
void Properties:: set##name(const tp&amp; in##name)  \
</code></pre>
<p>???????</p>
<p>Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Game Developer Rant by Anon</title>
		<link>http://op.closedformodification.com/2006/09/21/game-developer-rant/#comment-2293</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Wed, 11 Jul 2007 07:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/09/21/game-developer-rant/#comment-2293</guid>
		<description>&lt;p&gt;Sorry but this rant is just really crap.
I like the start of it because it took a new angle, but then I realized you're just a jerk you have no idea what he's talking about.
Every next-gen graphics AAA title is expensive and features takes a long time to code for them, are you saying every one of those teams are incompetent?
It's tempting to say, because I hate waiting for programmers to give me needed features as well, but I see no reason why it would be the case.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Sorry but this rant is just really crap.<br />
I like the start of it because it took a new angle, but then I realized you&#8217;re just a jerk you have no idea what he&#8217;s talking about.<br />
Every next-gen graphics AAA title is expensive and features takes a long time to code for them, are you saying every one of those teams are incompetent?<br />
It&#8217;s tempting to say, because I hate waiting for programmers to give me needed features as well, but I see no reason why it would be the case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unit testing within Doom 3 by eduardo</title>
		<link>http://op.closedformodification.com/2006/07/03/unit-testing-within-doom-3/#comment-1756</link>
		<dc:creator>eduardo</dc:creator>
		<pubDate>Sun, 10 Jun 2007 12:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/07/03/unit-testing-within-doom-3/#comment-1756</guid>
		<description>&lt;p&gt;ei alquem me ajuda eu nao sei como er q tem q abrir o console do doom 3 e agora o q q eu fasso minha gente me ajudem porfavor falow&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>ei alquem me ajuda eu nao sei como er q tem q abrir o console do doom 3 e agora o q q eu fasso minha gente me ajudem porfavor falow</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Your insecurity does not matter by vlummi</title>
		<link>http://op.closedformodification.com/2006/06/08/your-insecurity-does-not-matter/#comment-1213</link>
		<dc:creator>vlummi</dc:creator>
		<pubDate>Wed, 02 May 2007 07:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/06/08/your-insecurity-does-not-matter/#comment-1213</guid>
		<description>&lt;p&gt;thinking about all the troubles i feel myself in now since i stopped working and started studying fine art, i have to say that your "cyclic 4-step model of creating" of course can be applied to any creational act (which maybe was your intention when stating the four points so generally).&lt;/p&gt;

&lt;p&gt;one difference though to me seems that in real life, testing feels to be more of a tightrope walk. you don't easily get explicit green or red lights, and it seems extremely hard to check in and label your current state ;)&lt;/p&gt;

&lt;p&gt;last thing: a colleague from university mentioned that to her, insecurity means freedom. you don't know the next step or where it might lead you, so you have all the possibilities in the world - like starting a code project from scratch.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>thinking about all the troubles i feel myself in now since i stopped working and started studying fine art, i have to say that your &#8220;cyclic 4-step model of creating&#8221; of course can be applied to any creational act (which maybe was your intention when stating the four points so generally).</p>
<p>one difference though to me seems that in real life, testing feels to be more of a tightrope walk. you don&#8217;t easily get explicit green or red lights, and it seems extremely hard to check in and label your current state <img src='http://op.closedformodification.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>last thing: a colleague from university mentioned that to her, insecurity means freedom. you don&#8217;t know the next step or where it might lead you, so you have all the possibilities in the world - like starting a code project from scratch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Game Developer Rant by Arseniy</title>
		<link>http://op.closedformodification.com/2006/09/21/game-developer-rant/#comment-542</link>
		<dc:creator>Arseniy</dc:creator>
		<pubDate>Wed, 14 Feb 2007 16:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/09/21/game-developer-rant/#comment-542</guid>
		<description>&lt;p&gt;I dont get it really clear cuz I m russian and translator have no power to translate me it with right context.
So. Just can tell u I hate most of games and for me the gameplay is main thing. I m a flash games developer. Can tell u that the big problem of smart person is fear (even if u think there is no). Learn to kill jesus christ's rules.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I dont get it really clear cuz I m russian and translator have no power to translate me it with right context.<br />
So. Just can tell u I hate most of games and for me the gameplay is main thing. I m a flash games developer. Can tell u that the big problem of smart person is fear (even if u think there is no). Learn to kill jesus christ&#8217;s rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on test by test - Some Instructions on Programming and Life by mobmash blog &#187; Blog Archive &#187; links for 2007-01-17</title>
		<link>http://op.closedformodification.com/2006/03/26/test-by-test-some-instructions-on-programming-and-life/#comment-356</link>
		<dc:creator>mobmash blog &#187; Blog Archive &#187; links for 2007-01-17</dc:creator>
		<pubDate>Wed, 17 Jan 2007 00:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/?p=10#comment-356</guid>
		<description>&lt;p&gt;[...] On Programming » Blog Archive » test by test - Some Instructions on Programming and Life The fact of the matter is, we all do nothing special. And it certainly does not make us special. All we do is little things, and we string them together, and sometimes something interesting appears. (tags: personalgrowth programming life) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] On Programming » Blog Archive » test by test - Some Instructions on Programming and Life The fact of the matter is, we all do nothing special. And it certainly does not make us special. All we do is little things, and we string them together, and sometimes something interesting appears. (tags: personalgrowth programming life) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X-Macros by SeB</title>
		<link>http://op.closedformodification.com/2006/06/18/x-macros/#comment-333</link>
		<dc:creator>SeB</dc:creator>
		<pubDate>Tue, 09 Jan 2007 18:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/06/18/x-macros/#comment-333</guid>
		<description>&lt;p&gt;Thanks for your reply, Wolfgang. 
Unfortunately I need to use the X.def and Y.def files which are used by others parts of the code.&lt;/p&gt;

&lt;p&gt;I am trying to find out a way for sourcing a .def file multiple times from another .def file. 
That might be done with variable arguments length macros, but these are not supported by all compilers and are not so familiar to me.&lt;/p&gt;

&lt;p&gt;I'll let know here if I find a reasonable solution.&lt;/p&gt;

&lt;p&gt;SeB.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for your reply, Wolfgang.<br />
Unfortunately I need to use the X.def and Y.def files which are used by others parts of the code.</p>
<p>I am trying to find out a way for sourcing a .def file multiple times from another .def file.<br />
That might be done with variable arguments length macros, but these are not supported by all compilers and are not so familiar to me.</p>
<p>I&#8217;ll let know here if I find a reasonable solution.</p>
<p>SeB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X-Macros by Wolfgang</title>
		<link>http://op.closedformodification.com/2006/06/18/x-macros/#comment-332</link>
		<dc:creator>Wolfgang</dc:creator>
		<pubDate>Tue, 09 Jan 2007 17:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/06/18/x-macros/#comment-332</guid>
		<description>&lt;p&gt;You could use two parameters, by defining something like&lt;/p&gt;

&lt;pre&gt;
#define GENERATE_IDS    \
    X(x1, "x1")Y(y1, "y1")    \
    X(x2, "x2")Y(y2, "y2")   \
    X(x3, "x3")Y(y3, "y3")
&lt;/pre&gt;

&lt;p&gt;And then do&lt;/p&gt;

&lt;pre&gt;
#define X(id, idString) id
#define Y(id, idString) _id,
&lt;/pre&gt;

&lt;p&gt;before expanding the macro for the enum.
But that would just give you x1_y1, x2_y2, x3_y3 etc.&lt;/p&gt;

&lt;p&gt;So, in short, beats me :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You could use two parameters, by defining something like</p>
<pre>
#define GENERATE_IDS    \
    X(x1, "x1")Y(y1, "y1")    \
    X(x2, "x2")Y(y2, "y2")   \
    X(x3, "x3")Y(y3, "y3")
</pre>
<p>And then do</p>
<pre>
#define X(id, idString) id
#define Y(id, idString) _id,
</pre>
<p>before expanding the macro for the enum.<br />
But that would just give you x1_y1, x2_y2, x3_y3 etc.</p>
<p>So, in short, beats me <img src='http://op.closedformodification.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on X-Macros by SeB</title>
		<link>http://op.closedformodification.com/2006/06/18/x-macros/#comment-331</link>
		<dc:creator>SeB</dc:creator>
		<pubDate>Tue, 09 Jan 2007 16:49:38 +0000</pubDate>
		<guid isPermaLink="false">http://op.closedformodification.com/2006/06/18/x-macros/#comment-331</guid>
		<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;Is it possible to use X-macros with two dimensions ? If I have two tables :
X.def :   X(x1) , X(x2), ...., X(xm)
Y.def :   Y(y1) , Y(y2), ...., Y(yn) 
can I automatically build an enum {x1_y1, x1_y2,..., x1_yn, x2_y1, x2_y2, ..........., xm_yn} ?&lt;/p&gt;

&lt;p&gt;Thanks,
SeB&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Is it possible to use X-macros with two dimensions ? If I have two tables :<br />
X.def :   X(x1) , X(x2), &#8230;., X(xm)<br />
Y.def :   Y(y1) , Y(y2), &#8230;., Y(yn)<br />
can I automatically build an enum {x1_y1, x1_y2,&#8230;, x1_yn, x2_y1, x2_y2, &#8230;&#8230;&#8230;.., xm_yn} ?</p>
<p>Thanks,<br />
SeB</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.557 seconds -->
