<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>wuetender-junger-mann.de &#187; Hallmark of the Stupid</title>
	<atom:link href="http://wuetender-junger-mann.de/wordpress/category/hallmark-of-the-stupid/feed/" rel="self" type="application/rss+xml" />
	<link>http://wuetender-junger-mann.de/wordpress</link>
	<description>Der Freiheit eine Gasse</description>
	<lastBuildDate>Tue, 08 May 2012 11:59:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Don&#8217;t use DITA if you don&#8217;t have to</title>
		<link>http://wuetender-junger-mann.de/wordpress/2011/06/dont-use-dita-if-you-dont-have-to/</link>
		<comments>http://wuetender-junger-mann.de/wordpress/2011/06/dont-use-dita-if-you-dont-have-to/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 17:40:29 +0000</pubDate>
		<dc:creator>felix</dc:creator>
				<category><![CDATA[Hallmark of the Stupid]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://wuetender-junger-mann.de/wordpress/?p=1174</guid>
		<description><![CDATA[I am currently for a large organisation that seems to embrace DITA for their documentation. In theory this is a nice thing. There is a wealth of tools to edit dita files and to transform them to all sorts of formats. The reference implementation is the DITA OPEN TOOLKIT. First of all I am not [...]]]></description>
			<content:encoded><![CDATA[<p>
I am currently for a large organisation that seems to embrace <a href="http://en.wikipedia.org/wiki/Darwin_Information_Typing_Architecture">DITA</a> for their documentation. In theory this is a nice thing. There is a wealth of tools to edit dita files and to transform them to all sorts of formats. The reference implementation is the <a href="http://dita-ot.sourceforge.net/">DITA OPEN TOOLKIT</a>. First of all I am not impressed with the documentation. There is no proper tutorial and no good overview. And these are people who are into writing documentation!
</p>
<p>
The second problem is the poor quality of the tooling. It a pile of ant build files,  XSLTs and obscure jar files. This stuff is really brittle. Also it seems that people are not really concerned about having a decent continuous integration process. Documentation is rendered on some developer box, that has the <strong>&#8220;right&#8221;</strong> version of the toolkit installed. Clearly not everything that has the name Darwin on the box is good. The <a href="http://wuetender-junger-mann.de/wordpress/2010/04/practices-of-the-proper-christian-programmer/">Practices of Proper Christian Programming</a> have certainly not been followed. The whole thing is terribly brittle. Countless hours have been wasted, are being wasted and will be wasted. This is very unfortunate because documentation is often treated as a third class artefact that gets created as an afterthought using terribly blunt tools.
</p>
<p>
One decent resource is actually <a href="http://www.xmlmind.com/_tutorials/DITA/index.html">DITA for the Impatient</a>. Generally I would advise to use a custom tool chain to build your documentation. Probably something involving a templating language. Transformations should be implemented in a real programming language. As a backend things like LaTeX come to mind. Also ant is actually a crappy tool even for compiling java code, so providing decent command line utilities is key for a toolkit that claims to be universal and extensible.
</p>
<p>
<strong>Verdict:</strong> Stay clear of DITA.</p>
]]></content:encoded>
			<wfw:commentRss>http://wuetender-junger-mann.de/wordpress/2011/06/dont-use-dita-if-you-dont-have-to/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hallmark of the Stupid: PropertyChangeEvent</title>
		<link>http://wuetender-junger-mann.de/wordpress/2009/01/hallmark-of-the-stupid-propertychangeevent/</link>
		<comments>http://wuetender-junger-mann.de/wordpress/2009/01/hallmark-of-the-stupid-propertychangeevent/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 12:30:09 +0000</pubDate>
		<dc:creator>felix</dc:creator>
				<category><![CDATA[Hallmark of the Stupid]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://wuetender-junger-mann.de/wordpress/?p=693</guid>
		<description><![CDATA[What troubles me with java is, that the implementors of its standard library utterly failed at setting an example. Java developers don&#8217;t know how to do proper christian oo, because every time they peek into the library sources they see C-ish hacks. Today I realised that PropertyChangeEvent is not implementing equals based on its value. [...]]]></description>
			<content:encoded><![CDATA[<p>
What troubles me with java is, that the implementors of its standard library utterly failed at setting an example. Java developers don&#8217;t know how to do proper christian oo, because every time they peek into the library sources they see C-ish hacks.
</p>
<p>
Today I realised that PropertyChangeEvent is not implementing equals based on its value.<br />
It is almost immutable, apart from a stupid field that has been added for &#8220;future use&#8221;. And there is a lot<br />
to be said in favour of immutable objects with value semantics.
</p>
<p>
This is, what I was trying to do:
</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">ValueHolder holder <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> ValueHolder<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
holder.<span style="color: #006633;">setValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Old&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">final</span> <span style="color: #003399;">PropertyChangeListener</span> listener <span style="color: #339933;">=</span> mock<span style="color: #009900;">&#40;</span><span style="color: #003399;">PropertyChangeListener</span>.<span style="color: #000000; font-weight: bold;">class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
holder.<span style="color: #006633;">addPropertyChangeListener</span><span style="color: #009900;">&#40;</span>listener<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
holder.<span style="color: #006633;">setValue</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;New&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
verify<span style="color: #009900;">&#40;</span>listener<span style="color: #009900;">&#41;</span>.<span style="color: #006633;">propertyChange</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> <span style="color: #003399;">PropertyChangeEvent</span><span style="color: #009900;">&#40;</span>holder, <span style="color: #0000ff;">&quot;value&quot;</span>, <span style="color: #0000ff;">&quot;Old&quot;</span>, <span style="color: #0000ff;">&quot;New&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>
It is going to be messy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://wuetender-junger-mann.de/wordpress/2009/01/hallmark-of-the-stupid-propertychangeevent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Hallmark of the Stupid&#8221;-Series &#8211; First Instalment &#8211; Velocity</title>
		<link>http://wuetender-junger-mann.de/wordpress/2008/07/hallmark-of-the-stupid-series-first-installment-velocity/</link>
		<comments>http://wuetender-junger-mann.de/wordpress/2008/07/hallmark-of-the-stupid-series-first-installment-velocity/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 13:20:52 +0000</pubDate>
		<dc:creator>felix</dc:creator>
				<category><![CDATA[Hallmark of the Stupid]]></category>
		<category><![CDATA[Software Development]]></category>

		<guid isPermaLink="false">http://wuetender-junger-mann.de/wordpress/?p=587</guid>
		<description><![CDATA[There is a lot of nasty stuff to be said about velocity, but today I complain about it&#8217;s stupid whitespace-ridden syntax and it&#8217;s equally stupid error messages. I just got this one: Parser Exception: templates/myoldtemplate.vm Encountered "}" at line 19, column 101. Was expecting one of: "," ... "}" ... ... ...]]></description>
			<content:encoded><![CDATA[<p>There is a lot of nasty stuff to be said about velocity, but today I complain about it&#8217;s stupid whitespace-ridden syntax and it&#8217;s equally stupid error messages. I just got this one:</p>
<pre>
Parser Exception: templates/myoldtemplate.vm
    Encountered "}" at line 19, column 101.
    Was expecting one of: "," ... "}" ...  ...  ...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wuetender-junger-mann.de/wordpress/2008/07/hallmark-of-the-stupid-series-first-installment-velocity/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

