Skip to content

Instantly share code, notes, and snippets.

@jayzeng
Created January 30, 2013 07:31
Show Gist options
  • Save jayzeng/4671443 to your computer and use it in GitHub Desktop.
Save jayzeng/4671443 to your computer and use it in GitHub Desktop.
language design
// clean language contract
[1..10].each(|i| puts i);
//
i = 0;
while true do:
i = i + 1
if i > 10:
break
end
puts i
end
all data structures groups by []
['a', 'b', 'c']
[1..10]
['a'..'z']
[obj1, obj2].each(obj[idx].metjod);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment