<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Snippets</title><generator>Tumblr (3.0; @bruno-andrighetto)</generator><link>http://bruno-andrighetto.tumblr.com/</link><item><title>Making the Switch From RSpec to Shoulda</title><description>&lt;a href="http://railsmagazine.com/articles/6"&gt;Making the Switch From RSpec to Shoulda&lt;/a&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159773136</link><guid>http://bruno-andrighetto.tumblr.com/post/159773136</guid><pubDate>Mon, 10 Aug 2009 21:58:07 +0930</pubDate></item><item><title>not worth it</title><description>&lt;a href="http://giantrobots.thoughtbot.com/2008/1/7/why-bdd"&gt;not worth it&lt;/a&gt;: &lt;p&gt;“I have 2 problems with this&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I have to learn and start using this new language to talk about tests&lt;/li&gt;
&lt;li&gt;I have to learn a whole new syntax to write tests”&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;#RSpec
describe Account, " when first created" do

  before do
    @account = Account.new
  end

  it "should have a balance of $0" do
    @account.balance.should eql(Money.new(0, :dollars))
  end

  after do
    @account = nil
  end

end


# Test::Unit
class AccountTest &lt; Test::Unit::TestCase

  def setup
    @account = Account.new
  end

  def test_should_have_a_balance_of_0_dollars
    assert @account.balance == Money.new(0, :dollars)
  end

  def teardown
    @account = nil
  end

end
&lt;/pre&gt;
&lt;p&gt;RSpec == Yoda-speak?&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159770354</link><guid>http://bruno-andrighetto.tumblr.com/post/159770354</guid><pubDate>Mon, 10 Aug 2009 21:51:00 +0930</pubDate></item><item><title>Halting a Problem</title><description>&lt;a href="http://theprogrammersparadox.blogspot.com/2009/08/halting-problem.html"&gt;Halting a Problem&lt;/a&gt;: &lt;p&gt;We live in a day and age where many people still believe that our world is mostly deterministic, and that through action we can and will fix all of our problems, regardless of whether or not a solution is really possible.&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159764191</link><guid>http://bruno-andrighetto.tumblr.com/post/159764191</guid><pubDate>Mon, 10 Aug 2009 21:35:00 +0930</pubDate></item><item><title>Mixing Cucumber with Test::Unit/Shoulda</title><description>&lt;a href="http://giantrobots.thoughtbot.com/2009/2/20/mixing-cucumber-with-test-unit"&gt;Mixing Cucumber with Test::Unit/Shoulda&lt;/a&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159762780</link><guid>http://bruno-andrighetto.tumblr.com/post/159762780</guid><pubDate>Mon, 10 Aug 2009 21:31:38 +0930</pubDate></item><item><title>From RSpec to Shoulda</title><description>&lt;a href="http://kylebanker.com/blog/2008/08/from-rspec-to-shoulda/"&gt;From RSpec to Shoulda&lt;/a&gt;: &lt;p&gt;“What’s the best Rails testing framework? The one that makes your testing life most enjoyable, of course. For me, this has been RSpec, but I’m beginning to prefer Shoulda.”&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159752226</link><guid>http://bruno-andrighetto.tumblr.com/post/159752226</guid><pubDate>Mon, 10 Aug 2009 21:04:43 +0930</pubDate></item><item><title>The 'Language' in Domain-Specific Language Doesn't Mean English (or French, or Japanese, or ...)</title><description>&lt;a href="http://pragdave.blogs.pragprog.com/pragdave/2008/03/the-language-in.html"&gt;The 'Language' in Domain-Specific Language Doesn't Mean English (or French, or Japanese, or ...)&lt;/a&gt;: &lt;p&gt;“…language is deceptive. They try to make it English-like. But it isn’t English. It’s a programming language. And it has rules and a syntax that are very unEnglish like. There’s a major cognitive dissonance—I have to take ideas expressed in a natural language (the problem), then map them into an artificial language…”&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159738910</link><guid>http://bruno-andrighetto.tumblr.com/post/159738910</guid><pubDate>Mon, 10 Aug 2009 20:26:51 +0930</pubDate></item><item><title>Ruby at ThoughtWorks</title><description>&lt;a href="http://martinfowler.com/articles/rubyAtThoughtWorks.html"&gt;Ruby at ThoughtWorks&lt;/a&gt;: &lt;p&gt;“ThoughtWorks started using Ruby for production projects in 2006, from then till the end of 2008 we had done 41 ruby projects.”&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/159733848</link><guid>http://bruno-andrighetto.tumblr.com/post/159733848</guid><pubDate>Mon, 10 Aug 2009 20:11:34 +0930</pubDate></item><item><title>WPS: PostScript for the Web</title><description>&lt;a href="http://logand.com/sw/wps/index.html"&gt;WPS: PostScript for the Web&lt;/a&gt;: &lt;p&gt;a PostScript and PDF interpreter for HTML 5 canvas&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/155596970</link><guid>http://bruno-andrighetto.tumblr.com/post/155596970</guid><pubDate>Tue, 04 Aug 2009 21:30:28 +0930</pubDate></item><item><title>Simple Compiler And Runtime</title><description>&lt;a href="http://code.google.com/p/simple/"&gt;Simple Compiler And Runtime&lt;/a&gt;: &lt;p&gt;&lt;a name="Programming_Made_Simple" id="Programming_Made_Simple"&gt;
&lt;p&gt;a BASIC dialect for developing Android applications&lt;/p&gt;
&lt;/a&gt;&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154839757</link><guid>http://bruno-andrighetto.tumblr.com/post/154839757</guid><pubDate>Mon, 03 Aug 2009 20:52:00 +0930</pubDate></item><item><title>Dynamic Ramblings</title><description>&lt;a href="http://theprogrammersparadox.blogspot.com/2009/08/dynamic-ramblings.html"&gt;Dynamic Ramblings&lt;/a&gt;: &lt;p&gt;A while ago I was discussing some software architectural options with a fellow developer and we ran into a little hitch with our conversation. Put quite simply, the word ‘dynamic’ has a couple of possible meanings. He was using it one way, and I was off on a complete different definition.&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154174509</link><guid>http://bruno-andrighetto.tumblr.com/post/154174509</guid><pubDate>Sun, 02 Aug 2009 19:51:17 +0930</pubDate></item><item><title>Search Patterns</title><description>&lt;a href="http://www.flickr.com/photos/morville/collections/72157603785835882/"&gt;Search Patterns&lt;/a&gt;: &lt;p&gt;A sandbox for collecting search examples, patterns, and anti-patterns.&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154174102</link><guid>http://bruno-andrighetto.tumblr.com/post/154174102</guid><pubDate>Sun, 02 Aug 2009 19:49:52 +0930</pubDate></item><item><title>iPhone Application UI Design Patterns</title><description>&lt;a href="http://flyosity.com/application-design/iphone-application-design-patterns.php"&gt;iPhone Application UI Design Patterns&lt;/a&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154173950</link><guid>http://bruno-andrighetto.tumblr.com/post/154173950</guid><pubDate>Sun, 02 Aug 2009 19:49:21 +0930</pubDate></item><item><title>An Easy Way to Increase Creativity</title><description>&lt;a href="http://www.xplane.com/xblog/2009/07/30/an-easy-way-to-increase-creativity/"&gt;An Easy Way to Increase Creativity&lt;/a&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154173730</link><guid>http://bruno-andrighetto.tumblr.com/post/154173730</guid><pubDate>Sun, 02 Aug 2009 19:48:45 +0930</pubDate></item><item><title>How to deal with iPhone Device Provisioning without Stabbing Your Eyes Out</title><description>&lt;a href="http://icodeblog.com/2009/07/31/how-to-deal-with-iphone-device-provisioning-without-stabbing-your-eyes-out/"&gt;How to deal with iPhone Device Provisioning without Stabbing Your Eyes Out&lt;/a&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154173620</link><guid>http://bruno-andrighetto.tumblr.com/post/154173620</guid><pubDate>Sun, 02 Aug 2009 19:48:27 +0930</pubDate></item><item><title>The Ripple Effect</title><description>&lt;a href="http://sunflower.coleharbour.ca/cocoamondo/2009/07/the-ripple-effect/"&gt;The Ripple Effect&lt;/a&gt;: &lt;p&gt;When a program is in it’s infancy, with few features and few lines of code, adding a new feature can usually be done quickly. But as the program evolves, although adding a new feature may still be quick and easy it may cause little side effects in other parts of a program. So adding the new feature may not take long but adjusting the rest of the program so that everything flows properly will take time.&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/154173482</link><guid>http://bruno-andrighetto.tumblr.com/post/154173482</guid><pubDate>Sun, 02 Aug 2009 19:47:52 +0930</pubDate></item><item><title>How to build a desktop WYSIWYG editor with WebKit and HTML 5 </title><description>&lt;a href="http://arstechnica.com/open-source/guides/2009/07/how-to-build-a-desktop-wysiwyg-editor-with-webkit-and-html-5.ars"&gt;How to build a desktop WYSIWYG editor with WebKit and HTML 5 &lt;/a&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/150048006</link><guid>http://bruno-andrighetto.tumblr.com/post/150048006</guid><pubDate>Mon, 27 Jul 2009 19:54:10 +0930</pubDate></item><item><title>The Ripple Effect</title><description>&lt;a href="http://sunflower.coleharbour.ca/cocoamondo/2009/07/the-ripple-effect/"&gt;The Ripple Effect&lt;/a&gt;: &lt;p&gt;“Software by it’s very nature, tends towards complexity… When a program is in it’s infancy, with few features and few lines of code, adding a new feature can usually be done quickly. But as the program evolves, although adding a new feature may still be quick and easy it may cause little side effects in other parts of a program.”&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/149444565</link><guid>http://bruno-andrighetto.tumblr.com/post/149444565</guid><pubDate>Sun, 26 Jul 2009 22:07:08 +0930</pubDate></item><item><title>A Toxic Paradox</title><description>&lt;a href="http://www.randsinrepose.com/archives/2009/06/21/a_toxic_paradox.html"&gt;A Toxic Paradox&lt;/a&gt;: &lt;p&gt;“Everyone is an adjustment. When you’re interacting with anyone, you leave the core you and become slightly them. This is not a betrayal of who you are, this is the middle ground we define between any two people. It’s a place of compromise so we can communicate.”&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/149444189</link><guid>http://bruno-andrighetto.tumblr.com/post/149444189</guid><pubDate>Sun, 26 Jul 2009 22:05:48 +0930</pubDate></item><item><title>The Words You Wear</title><description>&lt;a href="http://www.randsinrepose.com/archives/2009/07/13/the_words_you_wear.html"&gt;The Words You Wear&lt;/a&gt;: &lt;p&gt;Every group in the company has their own unique set of words and every group uses these words to verbally define who they are, what they know, and what they own. These words, these phrases, have value when everyone is in agreement as to what they mean, but used outside of your part of the organization, their value decreases, especially the closer you get to engineering.&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/149440054</link><guid>http://bruno-andrighetto.tumblr.com/post/149440054</guid><pubDate>Sun, 26 Jul 2009 21:53:10 +0930</pubDate></item><item><title>Transitioning from Developer to Software Entrepreneur</title><description>&lt;a href="http://www.softwarebyrob.com/2009/07/24/transitioning-from-developer-to-software-entrepreneur/"&gt;Transitioning from Developer to Software Entrepreneur&lt;/a&gt;: &lt;p&gt;“You’ve probably realized by now that software development and entrepreneurship are two very different things. Software development is a tiny subset of the skills an entrepreneur needs to launch and operate a successful software or web startup.”&lt;/p&gt;</description><link>http://bruno-andrighetto.tumblr.com/post/149439378</link><guid>http://bruno-andrighetto.tumblr.com/post/149439378</guid><pubDate>Sun, 26 Jul 2009 21:50:35 +0930</pubDate></item></channel></rss>
