• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Dynamic Vs Static
 

Dynamic Vs Static

on

  • 701 views

 

Statistics

Views

Total Views
701
Views on SlideShare
691
Embed Views
10

Actions

Likes
0
Downloads
4
Comments
0

2 Embeds 10

http://melbournepatterns.wordpress.com 6
http://melbournepatterns.org 4

Accessibility

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
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Dynamic Vs Static Dynamic Vs Static Presentation Transcript

    • Discussion ● Topic: Dynamic vs Static Languages ● What is this about? ● What are they? ● How are they different? ● When to use? ● What is this not about? ● Arguing who's right or wrong    
    • Let's Not Do This Don't get too worked up please!    
    • Discussion Kick-Off ● What is a dynamic language?    
    • Dynamic Typing (1) private static void printCapitalOf(Country country) { System.out.println(country.capitalCity()); } public static void main(String[] args) { Country aus = new Australia(); Country jpn = new Japan(); printCapitalOf(aus); printCapitalOf(jpn); }    
    • Dynamic Typing (2) private static void printCapitalOf(Country country) { System.out.println(country.capitalCity()); } public static void main(String[] args) { Country aus = new Australia(); Country jpn = new Japan(); printCapitalOf(aus); printCapitalOf(jpn); }    
    • Dynamic Typing (3) def printCapitalOf(country) { print(country.capitalCity()) } def aus = new Australia(); def jpn = new Japan(); printCapitalOf(aus); printCapitalOf(jpn);    
    • Dynamic Typing (4) ● Only for saving keystrokes? ● Is punching keys really hard?    
    • Summary Use the right tool for the job!