How do you program differently in dynamic languages?

前端 未结 15 1534
南笙
南笙 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 04:13

    My biggest gains are in mapping between databases and objects (ORM).

    If there is no concept of a type, it becomes very easy to say assign every column in a row to a value in an object. Of course the trade off is that there can be a mismatch between the type of value you think is there and what type the computer does.

提交回复
热议问题