VS.
class Hello              class Hello(object):
  def initialize(name)     def __init__(self, name):
    @name = name       ...
class Hello(object)
  def __init__(self, name)
    self.name = name
  end
  def greet(self)
    print "Hello, " + 
       ...
class Hello:
  def initialize(name):
    @name = name
  def greet:
    print "Hello, #{@name}n"
Hello.new("mmm").greet
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
LLの虎 semifinal: 殺伐Python
Upcoming SlideShare
Loading in...5
×

LLの虎 semifinal: 殺伐Python

1,479
-1

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,479
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

LLの虎 semifinal: 殺伐Python

  1. 1. VS.
  2. 2. class Hello class Hello(object): def initialize(name) def __init__(self, name): @name = name self.name = name end def greet def greet(self): print "Hello, " + print "Hello, " + "#{@name}n" self.name end end Hello("mmm").greet() Hello.new("mmm").greet
  3. 3. class Hello(object) def __init__(self, name) self.name = name end def greet(self) print "Hello, " + self.name end end Hello("mmm").greet()
  4. 4. class Hello: def initialize(name): @name = name def greet: print "Hello, #{@name}n" Hello.new("mmm").greet
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×