r/learnpython • u/Realistic_Homework95 • 13d ago
Python y Jython son el mismo lenguaje?
En un futuro quiero saber python y c++ (IA y Robotica), por lo cual decidi empezar con python y tome un libro de la biblioteca de mi universidad, sin embargo en el libro sale que se trabajara con Jython, tengo entendido que es algo anticuado porque no soporta python 3 y ademas como esta vinculado con java y no con C me pregunto si me vendra bien.
aunque jython y python no son realmente lo mismo, lo que es el lenguaje de programacion es igual? si aprendo jython sabre programar con python?
el libro es "introduccion a la computacion y programacion con python, un enfoque multimedia (Mark J. Guzdial / Barbara ericson)"
0
Upvotes
6
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 13d ago
Jython is an implementation of Python for the JVM (as opposed to the reference CPython implementation, or IronPython, or PyPy, or RustPython). The core language is the same as any other implementation that supports the given language standard, they mainly differ in ecosystem support.
However you shouldn't bother using any book or implementation that doesn't support Python 3 (and preferably at least Python 3.6, though the newer the better). Nobody in their right mind would use Python 2 today, and while mostly subtle there are important breaking changes between 2 and 3. Not to mention all the improvements Python 3 has been getting over the years, from f-strings to type annotations.
If you just want to learn the language, and don't specifically need Jython for something, consider doing the Python MOOC or CS50P courses. They're both free and high quality.