Skip to content

Commit e59e15c

Browse files
author
ChenXingguo
committed
Create Jan14
1 parent 6109a90 commit e59e15c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Jan14

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Dynamic Content
2+
Ruby
3+
- why Ruby
4+
interesting language
5+
Rails use it
6+
Symbiosis
7+
- Ruby basis
8+
Scripting language
9+
Metaprogramming
10+
Pure Object-oriented language (even primitive types in Java)
11+
Many features
12+
- Competitors
13+
PHP, JavaScript (Node.JS), Python >> All are scripting languages
14+
- Syntax
15+
Newline is a separator!
16+
Indentation is not forced, but good style (Different from Python which uses indentation as separator)
17+
- Variables
18+
Dynamically typed: variable not typed -> values have types >> variables can hold different types of values at different times
19+
No declarations
20+
-Built-in types
21+
Numbers
22+
Strings: Syntax
23+
Symbols :foo
24+
true, false, null
25+
Arrays
26+
Hashes
27+
Forms: user input
28+
Interactive pages

0 commit comments

Comments
 (0)