How do you program differently in dynamic languages?

前端 未结 15 1669
南笙
南笙 2021-02-01 03:37

How would someone who really knows how to take advantage of dynamic programming languages approach programming differently than someone working in a static language?

I

15条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 03:58

    More libraries and more important more useable libraries.

    My guess is that the "Duck Typing" usually associated with dynamic languages helps simplify the code significantly and makes writing generic code much easier. You are not constrained by a strict class hierarchy and thus are able to more easily compose components from different libraries together.

提交回复
热议问题