eli5: How are some programming languages better at different tasks than others?

520 viewsOtherTechnology

For example I am taking Python right now which is known to be “beginner-friendly” but then in highschool I took Java where we did a lot of content relating to classes and object oriented coding. But what makes the languages specialize in these fields specifically?

In: Technology

5 Answers

Anonymous 0 Comments

Here are some analogies:
Python might be your boss telling you what to work on next. It’ll be a pretty general list of things to do, and then you have to use your own intuition and thinking to figure out what he wants to do.

C might be like a lawyer drafting up a contract on exactly what you can and can’t do. They have to be much more detailed than the previous example because they have to be precise and very little can be assumed to be implied. They have to use legalese to write down exactly what they mean.

Everything in Python can be done in C, but it may waste a lot of time having an unnecessary amount of detail. If your boss spends hours each day drafting up in detail exactly what you should be doing, that is a huge waste of time.

You are viewing 1 out of 5 answers, click here to view all answers.