SlideShare ist ein Scribd-Unternehmen logo
1 von 82
Downloaden Sie, um offline zu lesen
What’s more important than “From Java To Ruby”


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

✓
✓

✓

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

✓
✓
✓
✓
http://www.amazon.co.jp/o/ASIN/4873113202/kakutani-22
✓
✓
✓
✓

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

✓
2002
Clean code that works, in
Ron Jeffries’ pithy phrase, is
  the goal of Test-Driven
   Development(TDD).
“Clean code that works”
✓
✓
✓
✓
✓
✓

✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
“The translation of a
  feeling into a test is a
common theme of TDD.”
✓
✓
✓
✓
✓


✓
✓
✓
✓
✓
✓

✓
✓


✓
http://jp.rubyist.net/magazine/?0021-Rspec
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
✓
✓
✓
✓
✓
✓
✓
✓
http://jp.rubyist.net/magazine/?0021-Rspec
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓
✓

✓
✓

✓
✓

✓
✓
 ✓
✓
✓
✓
✓
✓
✓
✓
✓

✓
✓

✓

✓
✓
✓
✓
✓
✓
✓
http://www.amazon.co.jp/o/ASIN/4873113202/kakutani-22
Do you have any questions?

Weitere ähnliche Inhalte

Mehr von Shintaro Kakutani

Postface from agilesamurai_supervisor
Postface from agilesamurai_supervisorPostface from agilesamurai_supervisor
Postface from agilesamurai_supervisorShintaro Kakutani
 
OedoRubyKaigi01 Opening Talk
OedoRubyKaigi01 Opening TalkOedoRubyKaigi01 Opening Talk
OedoRubyKaigi01 Opening TalkShintaro Kakutani
 
Testing Environment of Ruby on Rails
Testing Environment of Ruby on RailsTesting Environment of Ruby on Rails
Testing Environment of Ruby on RailsShintaro Kakutani
 
Agile Estimating and Planning on JFPUG
Agile Estimating and Planning on JFPUGAgile Estimating and Planning on JFPUG
Agile Estimating and Planning on JFPUGShintaro Kakutani
 
There Is No Spoon: Revisited
There Is No Spoon: RevisitedThere Is No Spoon: Revisited
There Is No Spoon: RevisitedShintaro Kakutani
 
"Ordinary" System Development
"Ordinary" System Development"Ordinary" System Development
"Ordinary" System DevelopmentShintaro Kakutani
 
what does "we speak Ruby" really mean?
what does "we speak Ruby" really mean?what does "we speak Ruby" really mean?
what does "we speak Ruby" really mean?Shintaro Kakutani
 
Agile Estimating and Planning
Agile Estimating and PlanningAgile Estimating and Planning
Agile Estimating and PlanningShintaro Kakutani
 
All About Nihon Ruby-no-Kai in Developers Summit 2010
All About Nihon Ruby-no-Kai in Developers Summit 2010All About Nihon Ruby-no-Kai in Developers Summit 2010
All About Nihon Ruby-no-Kai in Developers Summit 2010Shintaro Kakutani
 
For Nature Of Software Develoment
For Nature Of Software DevelomentFor Nature Of Software Develoment
For Nature Of Software DevelomentShintaro Kakutani
 
Welcome To The Desert Of The Real
Welcome To The Desert Of The RealWelcome To The Desert Of The Real
Welcome To The Desert Of The RealShintaro Kakutani
 
You Should Attend Rubykaigi2010
You Should Attend Rubykaigi2010You Should Attend Rubykaigi2010
You Should Attend Rubykaigi2010Shintaro Kakutani
 
Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)
Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)
Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)Shintaro Kakutani
 
Making Software Development Agile With Ruby
Making Software Development Agile With RubyMaking Software Development Agile With Ruby
Making Software Development Agile With RubyShintaro Kakutani
 
All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)
All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)
All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)Shintaro Kakutani
 

Mehr von Shintaro Kakutani (20)

Postface from agilesamurai_supervisor
Postface from agilesamurai_supervisorPostface from agilesamurai_supervisor
Postface from agilesamurai_supervisor
 
Welcome to the Real World
Welcome to the Real WorldWelcome to the Real World
Welcome to the Real World
 
The gate
The gateThe gate
The gate
 
OedoRubyKaigi01 Opening Talk
OedoRubyKaigi01 Opening TalkOedoRubyKaigi01 Opening Talk
OedoRubyKaigi01 Opening Talk
 
Testing Environment of Ruby on Rails
Testing Environment of Ruby on RailsTesting Environment of Ruby on Rails
Testing Environment of Ruby on Rails
 
Agile Estimating and Planning on JFPUG
Agile Estimating and Planning on JFPUGAgile Estimating and Planning on JFPUG
Agile Estimating and Planning on JFPUG
 
There Is No Spoon: Revisited
There Is No Spoon: RevisitedThere Is No Spoon: Revisited
There Is No Spoon: Revisited
 
Agile in 30mins
Agile in 30minsAgile in 30mins
Agile in 30mins
 
"Ordinary" System Development
"Ordinary" System Development"Ordinary" System Development
"Ordinary" System Development
 
There is no_spoon
There is no_spoonThere is no_spoon
There is no_spoon
 
Keccon LT by kakutani
Keccon LT by kakutaniKeccon LT by kakutani
Keccon LT by kakutani
 
what does "we speak Ruby" really mean?
what does "we speak Ruby" really mean?what does "we speak Ruby" really mean?
what does "we speak Ruby" really mean?
 
Agile Estimating and Planning
Agile Estimating and PlanningAgile Estimating and Planning
Agile Estimating and Planning
 
All About Nihon Ruby-no-Kai in Developers Summit 2010
All About Nihon Ruby-no-Kai in Developers Summit 2010All About Nihon Ruby-no-Kai in Developers Summit 2010
All About Nihon Ruby-no-Kai in Developers Summit 2010
 
For Nature Of Software Develoment
For Nature Of Software DevelomentFor Nature Of Software Develoment
For Nature Of Software Develoment
 
Welcome To The Desert Of The Real
Welcome To The Desert Of The RealWelcome To The Desert Of The Real
Welcome To The Desert Of The Real
 
You Should Attend Rubykaigi2010
You Should Attend Rubykaigi2010You Should Attend Rubykaigi2010
You Should Attend Rubykaigi2010
 
Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)
Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)
Allabout Nihon Ruby-no-kai Season6(KansaiRubyKaigi02 Edit)
 
Making Software Development Agile With Ruby
Making Software Development Agile With RubyMaking Software Development Agile With Ruby
Making Software Development Agile With Ruby
 
All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)
All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)
All about Nihon Ruby-no-kai Season6(TochigiRubyKaigi02 Edit)
 

Whats More Important Than From Java To Ruby