开发者

Which is better C Vs Python? [closed]

开发者 https://www.devze.com 2023-02-17 22:41 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_如何转开发 Closed 11 years ago.

I am being told that Python is far superior to C in the ease of programming. I am an average( dont want to praise myself) user of C. Will it be helpful if I learn Python to implement my codes in future?


It depends on what do you expect from your language. For example I am developing firmware for embedded device. I can boot Linux in it and do my work in Python, but I need really fast code tuned for the hardware, so I use C on bare metal (without operating system). On the other hand, I need to develop many programs for my PC communicating with that device, mainly for developing and testing purposes. I don't need this programs to be tuned, I don't even need them to run fast. I just need them to be created quickly and to be robust and safe - so I use Python.

EDIT: When picking a language, I think you should read Beating the Averages


It's always useful to learn another language. If you're familiar with C then I'd invest some time in learning C++ and this is likely to be more immediately useful and will build on your existing skillset, but if you've got the time then learning Python is a great idea!

0

精彩评论

暂无评论...
验证码 换一张
取 消