SlideShare a Scribd company logo
What’s more important than “From Java To Ruby”


KAKUTANI Shintaro; Eiwa System Management,Inc.; a strong Ruby proponent
✓
✓
✓

✓
✓

✓

✓
Whats More Important Than From Java To Ruby
✓
✓
✓
✓ http://kakutani.com
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
http://www.amazon.co.jp/o/ASIN/4873113202/kakutani-22
http://www.amazon.co.jp/o/ASIN/477413256X/kakutani-22
Agile
Whats More Important Than From Java To Ruby
And there's business value in
fun - after all motivation is a
major factor in programmer
productivity.
                - Martin Fowler
✓
✓
✓
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
http://www.amazon.co.jp/o/ASIN/4873113202/kakutani-22
✓

✓
✓
✓
✓
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
http://www.amazon.co.jp/o/ASIN/4873113202/kakutani-22
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
✓
✓
✓
✓

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
Whats More Important Than From Java To Ruby
✓
✓

✓
2002
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
Clean code that works, in
Ron Jeffries’ pithy phrase, is
  the goal of Test-Driven
   Development(TDD).
“Clean code that works”
✓
✓
✓
✓
✓
✓

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
“The translation of a
  feeling into a test is a
common theme of TDD.”
Whats More Important Than From Java To Ruby
✓
✓
✓
✓
✓


✓
✓
✓
✓
✓
✓

✓
Whats More Important Than From Java To Ruby
✓


✓
Whats More Important Than From Java To Ruby
http://jp.rubyist.net/magazine/?0021-Rspec
Whats More Important Than From Java To Ruby
Whats More Important Than From Java To Ruby
describe Class, quot;          quot; do
 before(:each) do
   #
  end

 it quot;               quot; do
    #
  end
end
describe Array, quot;with some entriesquot; do
  before(:each) do
    @array = %w(A B C)
  end

 it quot;should not be nilquot; do
   @array.should_not be_nil
 end

  it quot;should last element is 'C'quot; do
    @array.last.should == 'C'
  end
end
spec -c array_spec.rb
spec -c -fs array_spec.rb
describe Array, quot;with some entriesquot; do
  before(:each) do
    @array = %w(A B C)
  end

 it quot;should not be nilquot; do
   @array.should_not be_nil
 end

  it quot;should last element is 'C'quot; do
    @array.last.should == 'C'
  end
end
✓
    @array.last.should == 'C'
    # @array.last    'C'



✓
    @array.should_not be_nil
    # @array.nil?   false
✓
✓
✓
✓
✓
✓
✓
✓
Whats More Important Than From Java To Ruby
http://jp.rubyist.net/magazine/?0021-Rspec
Whats More Important Than From Java To Ruby
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
Whats More Important Than From Java To Ruby
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

✓
✓

✓
✓

✓
✓
 ✓
✓
✓
✓
✓
✓
✓
✓
✓

✓
✓

✓

✓
✓
✓
✓
✓
✓
✓
Whats More Important Than From Java To Ruby
http://www.amazon.co.jp/o/ASIN/4873113202/kakutani-22
Whats More Important Than From Java To Ruby
Do you have any questions?

More Related Content

Whats More Important Than From Java To Ruby