April Hackery

We will meet at Improving on Tuesday Night, April 20th at 6:00 PM. Please join us as we practice our craftsmanship.


6 Responses to “April Hackery”

  • dallashackclub Says:

    Last night we did Roy Osherove's string calculator kata http://osherove.com/tdd-kata-1/ Feel free to post your code. I have no idea what the formatting will look like in the comments. You can definitely try it. You can also try sticking the code on http://pastie.org and linking it.

  • Leblanc Meneses Says:

    Currently this expression was built up to pass tests:

    <br>@"^(//(?&lt;delimiter&gt;.)n?)?(?&lt;data&gt;((?&lt;number&gt;d+)([,n]|k&lt;delimiter&gt;))*(?&lt;number&gt;d+)?)$<br>

    the only one it does not solve is requirement #8, hence Test_MultipleDelimiterNotation will fail

    in the beginning we started from:

    <br>(s+)?(?&lt;number&gt;d+)(s+)?(,)?<br>

    For requirement 8 I would need to add a little bit of logic besides a one line regex in calculator. Hence the calculator should take IParser

    <br>    public interface IParser<br>    {<br>        IEnumerable&lt;int&gt; Parse(String input);<br>    }<br>

    before i do i'll setup svn so that revisions can be compared

  • admin Says:

    Leaving DISQUS disabled for the time being.

  • Brett Bim Says:

    Is this a WordPress blog? If so, I've found that the SyntaxHighlighter Evolved plugin is better than the Google Syntax one.

  • dallashackclub Says:

    Yeah, I've since found Evolved looks better too. It's installed right now (deleted my previous comment about Google Highligher) But it's not working. I think the only problem is the CSS doesn't play nice between DISQUS and Evolved.

  • dallashackclub Says:

    Ok, it actually looks like a server side PHP problem. The pertinent Evolved markup is missing when DISQUS is enabled.

Leave a Reply