0 votes
1 view
in Python by (20k points)

Which is better C or Python?

1 Answer

0 votes
by (28.4k points)

This answer may sound a bit tricky but here's the thing, both languages have existed in harmony so far without slaying the other so far, which implies neither is better than the other. Both have different purpose to fulfill. So putting one against the other is not going to help. Let me elaborate, 

C is a low-level compiled language, whereas Python is a high-level interpreted. That means you'll probably need bulkier software on the system where you need to run your interpreted code. This plays an important role in small embedded systems like controllers or credit card size computers. C will win here if you talk about smaller embedded systems. Python does wonders on credit card computers like Raspberry Pi powered with linux.

Python has object oriented capabilities which C doesn't. So larger projects, Python will probably win. But again for larger projects that need keeping the code hidden from end user I don't think Python wins anymore.

Related questions

0 votes
1 answer
asked 2 days ago in Python by ashely (43.2k points)
0 votes
1 answer
asked Aug 1 in Python by ashely (43.2k points)
0 votes
1 answer
asked Oct 29, 2019 in Python by humble gumble (20k points)
0 votes
1 answer
asked Aug 1 in Python by ashely (43.2k points)
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...