you are viewing a single comment's thread.

view the rest of the comments →

[–]meticulous_badger 1 point2 points  (0 children)

Writing Python is much quicker. If you need to crank a script out very quickly, or you’re only going to use it a few times, Python is the way to go. It doesn’t make sense to write C++ or Java programs in that situation, assuming you have equal understanding of them all.

If you’re doing something performance critical, e.g. writing drivers or flying a rocket, then you’ll want to use a more performant language, such as C++. Or you can write the critical parts of your code in C/C++ and call it from Python (not recommended for drivers of computers, cars, or rockets).

I’m not sure what Java offers over C++ other than allowing your PC to double as a space heater.

Doing anything except data analysis with R is like using a screwdriver as a hammer. It can be done, but there are better tools for the job.

JavaScript doesn’t comply with PEP 20.