• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
言語の設計判断
 

言語の設計判断

on

  • 11,742 views

 

Statistics

Views

Total Views
11,742
Views on SlideShare
11,668
Embed Views
74

Actions

Likes
11
Downloads
82
Comments
0

10 Embeds 74

http://fullvirtue.com 44
http://a0.twimg.com 10
http://twitter.com 7
http://tweetedtimes.com 4
https://twitter.com 3
http://webcache.googleusercontent.com 2
http://b.hatena.ne.jp 1
http://us-w1.rockmelt.com 1
https://si0.twimg.com 1
http://192.168.6.52 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

言語の設計判断 言語の設計判断 Presentation Transcript

  • Marcus Tullius Cicero, Philippicoe (XII, 2)
  • ( )
  • Otto Eduard Leopold von Bismarck-Schönhausen
  • ⊔ ⊔ ⊔ ⊔ ⊔
  • #include <iostream> int main(){ { using namespace std; cout << (2 << 2); } { int cout = 1; cout << (2 << 2); } }
  • ƛ ✎✎ ✎ ✎ ƛ
  • >>> def foo(): ... x = "static" ... def bar(): ... print(x) ... ... bar() ... >>> foo() static
  • sub foo{ my $x = "staticn"; my $bar = sub{ print $x; } &bar(); } &foo(); #-> static
  • sub foo{ my $bar = sub{ print $x; }; $bar->(); } $x = "globaln"; &foo(); #-> global { local $x = "dynamicn"; &foo(); #-> dynamic } &foo(); #-> global