What does “powerful” mean, when discussing programming languages?

后端 未结 14 554
梦毁少年i
梦毁少年i 2021-01-31 04:15

In the context of programming language discussion/comparison, what does the term \"power\" mean?

Does it have a well defined meaning? Even a poorly defined meaning?

14条回答
  •  遇见更好的自我
    2021-01-31 04:25

    Typically there are two distinct meanings:

    • Expressive, meaning the code tends to be very short and understandable
    • Low level, meaning you have very fine-grained control over the hardware.

    For the most languages, these two definitions are at opposite ends of the spectrum: Python is very expressive but not very low level; C is very low level but not very expressive. Depending on which definition you pick, either language is powerful or not powerful.

提交回复
热议问题