프로그래밍 패러다임

프로그래밍 패러다임

Functional vs. Imperative

Programming in Haskell에서 Graham Hutton은 Functional programming과 Imperative programming의 차이를 이렇게 설명:

Generally speaking, however, functional programming can be viewed as a style of programming in which the basic method of computation is the application of functions to arguments. In turn, a functional programming language is one that supports and encourages the functional style…. In general, programming languages such as Java in which the basic method of computation is changing stored values are called imperative languages, because programs in such languages are constructed from imperative instructions that specify precisely how the computation should proceed.

2024 © ak