Scala学习--Program Paradigm - webdancer's Blog

Scala学习--Program Paradigm

webdancer posted @ 2013年12月27日 17:46 in 未分类 with tags 编程技术 , 2359 阅读

Program Paradigms

  • Imperative Programming: modifying mutable variables, assignments, control structure;
  • Fuctional Programming:
    • Strictly, No mutable variables, No assignments, No loops.
    • Widely, Focusing on functions, function is the first citizens

  

  • logical programming
Avatar_small
依云 说:
2013年12月27日 23:18

为什么都认为 Lisp 是 FP 呢,我看它一点也不像啊。没有纯函数的概念,没有模式匹配,有的只有函数作为第一类对象和高阶函数而已。

Avatar_small
依云 说:
2013年12月27日 23:18

还有,Smalltalk 不是以 OO 出名的么。

Avatar_small
webdancer 说:
2014年1月03日 00:33

@依云: 这个是在看coursera上的公开课的截图,可能那个老师应该是从宽泛的函数式语言的角度来回顾的历史吧

Kerala Board Model P 说:
2022年8月28日 22:43

SCERT Kerala Model Paper 2023 Pdf Download for Pareeksha Bhavan and Samagra Shiksha designed and suggested Model Question Bank or Question Pool for Theory, Objective (MCQ) and Bit Questions to 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 (SSLC), 11 & 12 (+1 & +2) HSC Malayalam Medium & English Medium students. Kerala Board Model Paper New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee