Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

python vs java

which language is best for web and have a good scope in future

3 Answers

Steven Parker
Steven Parker
231,269 Points

It depends on what you mean by "best for web". Python is more likely to be used for server-side programming. And Java is more likely to be used to develop apps for Android devices.

But both are very popular languages and both growing in popularity.

i mean which language is more flexible for web related works

Steven Parker
Steven Parker
231,269 Points

Those are both used primarily for certain (different) things. For maximum flexibility, you might look into JavaScript, it's traditionally used in the front-end, but is being used for back-end as well now.

ok i will check it thanks for the help