함수형프로그래밍
TRANSCRIPT
![Page 2: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/2.jpg)
● j?
●
● u vs
● OOP
● :?
●
![Page 3: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/3.jpg)
j?
● m
●
● 2:– First-Class Function
– Pure Function
![Page 4: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/4.jpg)
First-Class Function
●
–
– n● (x: Int) => x + 1
– n o●
– h● val increase = (x: Int) => x + 1
–
![Page 5: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/5.jpg)
Pure Function
● Side effect
● Referential transparency– s
– s
![Page 6: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/6.jpg)
Pure Function-Side effect
● Side effect– i
●
●
● d● exeption● s s e● e● s
![Page 7: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/7.jpg)
● e c :● c
– @ test
–
– t–
–
● : :● :● a
![Page 8: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/8.jpg)
u vs
u
: ( )
:
, y
![Page 9: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/9.jpg)
OOP
● u /
●
●
● :
![Page 10: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/10.jpg)
:?● Multi Core
–
● e● :
– Side effect
– pg
● Simple–
– d–
![Page 11: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/11.jpg)
● 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: 함수형프로그래밍](https://reader036.vdocuments.pub/reader036/viewer/2022071822/55b9d633bb61eb93538b45e7/html5/thumbnails/12.jpg)
Thank you.