As we reach mid-December, it's time to reflect on the year that is ending. The Java and Python development world has seen many changes throughout 2024, and here are the highlights. Enjoy!
Java Updates: Versions 22 and 23
In the past year, there were the usual two Java updates: versions 22 and 23. Java 22, released in March 2024, did not receive long-term support. This release included around 2300 closed tasks and 12 JEPs. Java 22 brought several important updates aimed at enhancing flexibility, simplifying code, and expanding functionality for developers. Key features include:- Unnamed Variables and Patterns: this allows developers to skip unused elements in loops or conditions, improving code readability and efficiency.
- String Templates (Second Preview):simplifies mixing text with expressions, especially useful for creating SQL, XML, or JSON.
- Stream Gatherers (Preview):a new API for advanced stream operations, enabling specialized intermediate transformations like grouping elements by specific criteria.
- Enhanced Primitive Type Patterns: improves working with primitive types in switch and instanceof expressions.
- Markdown Documentation Comments: documentation can now start with /// to use Markdown.
- Module Import Declarations (Preview): allows importing entire modules at once, reducing verbosity in code.
Python Updates: Version 3.13
The highly anticipated Python 3.13.0 was released in fall 2024, featuring numerous new functions and optimizations compared to Python 3.12. Highlights include:- Improved REPL: enhances the interactive environment for working with multi-line code, making development easier.
- Enhanced Error Messages: Python now suggests corrections for spelling mistakes in function arguments, simplifying debugging, especially for beginners.
- Experimental JIT Compilation: compiles Python code to machine code "on the fly" during program execution, significantly speeding up performance.
Java and Python in Rankings: Still in the Top Five
Java maintains a stable position in the top five programming languages. According to the TIOBE index, Java is currently ranked 3rd, up one spot from December last year. This impressive stability is notable for a language that is now 29 years old. According to the TIOBE index, Python continues to hold the top position and is expected to be named the language of the year, says Paul Jansen, the company's CEO. In the PYPL index, Python and Java similarly occupy the 1st and 2nd spots, respectively. Python remains one of the most loved and desired languages according to the latest Stack Overflow survey. It's used for a variety of tasks, including data science, machine learning, web development, and automation, making it a versatile choice among developers.Technologies and Tools Used by Java Developers
Java 8 and Java 11 remain quite popular, with 24% and 18% of surveyed developers still using them, according to a major JRebel study. Meanwhile, 23% of developers have adopted the more modern Java 17. When it comes to frameworks and tools, Java developers favor dominant technologies like Tomcat, Spring Boot, and Jenkins.- Tomcat: 36% of respondents use Tomcat as the application server for their main application.
- JBoss/Wildfly: 15% of developers prefer JBoss/Wildfly.
- WebLogic: 12% use WebLogic.
GO TO FULL VERSION