12
2015.6.13 è [email protected] Functional Programming Chapter 01. What is Functional Programming?

함수형프로그래밍

Embed Size (px)

Citation preview

Page 1: 함수형프로그래밍

2015.6.13

[email protected]

Functional ProgrammingChapter 01. What is Functional Programming?

Page 2: 함수형프로그래밍

● j?

● u vs

● OOP

● :?

Page 3: 함수형프로그래밍

j?

● m

● 2:– First-Class Function

– Pure Function

Page 4: 함수형프로그래밍

First-Class Function

– n● (x: Int) => x + 1

– n o●

– h● val increase = (x: Int) => x + 1

Page 5: 함수형프로그래밍

Pure Function

● Side effect

● Referential transparency– s

– s

Page 6: 함수형프로그래밍

Pure Function-Side effect

● Side effect– i

● d● exeption● s s e● e● s

Page 7: 함수형프로그래밍

● e c :● c

– @ test

– t–

● : :● :● a

Page 8: 함수형프로그래밍

u vs

u

: ( )

:

, y

Page 9: 함수형프로그래밍

OOP

● u /

● :

Page 10: 함수형프로그래밍

:?● Multi Core

● e● :

– Side effect

– pg

● Simple–

– d–

Page 11: 함수형프로그래밍

● Functional Programming in Scala● Programming in scala● Programming scala● https://wiki.haskell.org/Functional_programming#W hat_is_functional_programming.3F

● https://pragprog.com/magazines/2013-01/functional-programming-basics

● https://msdn.microsoft.com/ko-kr/library/bb669144.aspx

● /7756 - 8 983./ 3● http://changsuk.me/?p=1916

● http://cafe.elharo.com/programming/java-programming/why-functional-programming-in-java-is-dangerous/

Page 12: 함수형프로그래밍

Thank you.