大海原の小さなイルカ
TRANSCRIPT
(@nanasetomona) Talk Live in Summer 2015 at DMM.com Labo 2015/08/23
• HN:
▫ M2
▫ C#
▫ FM LSI ( )
• @nanasetomona
• https://github.com/nanase
Lury
•
•
▫
▫
Lury
Lury
Python
(D )
(C# )
Ruby, Java
Lury
•
•
•
• while
( )
Hello world!
println('Hello world!')
print('Hello world!')
Console.WriteLine("Hello world!");
C#
str = 'Hello' str ~= ' ' str ~= 'world!'
str = 'Hello' str += ' ' str += 'world!'
var str = "Hello"; str += " "; str += "world!";
C#
~ D
1 100 ( )
1..100.filter(i => i % 2 == 0) \ .map(ref Math.sqrt) \ .each(ref println)
[print(math.sqrt(x)) for x \ in range(1, 101) \ if x % 2 == 0]
Enumerable.Range(1, 100) .Where(i => i % 2 == 0) .Select(i => Math.Sqrt(i)) .ToList() .ForEach(Console.WriteLine);
C#
Lury
• C#
▫ mono-jay
▫ AST ( )
▫
Lury 0.1
•
▫
Object, String, Integer, Real, Complex, Boolean, Function
▫
if, elif, else, while, break, continue, return
▫
▫
Lury 0.1
•
▫
Object, String, Integer, Real, Complex, Boolean, Function
▫
if, elif, else, while, break, continue, return
▫
▫
Lury
• Lury 0.1
•
▫ throw new NotImplementedException();
Lury 0.2
•
▫
▫
List, Tuple, Hash, Set
▫
▫ for
▫
▫
▫
▫
▫