Python

Microsoft kills Python 3.7 ¦ … and VBScript ¦ Exascaling ARM on Jupiter

Welcome to The Long View—where we peruse the news of the week and strip it to the essentials. Let’s work out what really matters. This week: VS Code drops support for Python 3.7, Windows drops VBScript, and Europe plans the fastest ARM supercomputer. 1. Python Extension for Visual Studio Code Kills 3.7 First up this week: Microsoft deprecates Python 3.7 support in Visual Studio Code’s Python extension. It’ll probably continue to work for a while, though (emphasis on the “probably”). Analysis: Obsolete scripting language is obsolete If you’re still using 3.7, why? It’s time to move on: 3.12 is the new hotness. Even 3.8 is living on borrowed time. Priya Walia: Microsoft Bids Farewell To Python 3.7 “Growing influence of the Python language”Python 3.7, despite reaching its end of life in June, remains a highly popular version among developers. … Microsoft expects the extension to continue functioning unofficially with Python 3.7 for the foreseeable future, but there are no guarantees that everything will work smoothly without the backing of official support.…Microsoft’s recent launch of Python scripting within Excel underscores the growing influence of the Python language across various domains. The move opens up new avenues for Python developers to work with data within the popular spreadsheet software. However, it’s not all smooth sailing, as recent security flaws in certain Python packages have posed challenges. Python? Isn’t that a toy language? This Anonymous Coward says otherwise: Ha, tell that to Instagram, or Spotify, or Nextdoor, or Disqus, or BitBucket, or DropBox, or Pinterest, or YouTube. Or to the data science field, or mathematicians, or the Artificial Intelligence crowd.…Our current production is running 3.10 but we’re looking forward to moving it to Python 3.11 (3.12 being a little too new) because [of] the speed increases of up to 60%. … If you’re still somewhere pre 3.11, try to jump straight to 3.11.6.…The main improvements … are interpreter and compiler improvements to create faster bytecode for execution, sometimes new features to write code more efficiently, and the occasional fix to remove ambiguity. I’ve been running Python in production for four years now migrating from 3.8 -> 3.9 -> 3.10 and soon to 3.11 and so far we have never had to make any changes to our codebase to work with a new update of the language. And sodul says Python’s reputation for breaking backward compatibility is old news: Most … code that was written for Python 3.7 will run just fine in 3.12. … We upgrade once a year and most issues we have are related to third party SDKs that are too opinionated about their own dependencies. We do have breaking changes, but mostly we find pre-existing bugs that get uncovered thanks to better type annotation, which is vital in larger Python projects. 2. Windows Kills VBScript Microsoft is also deprecating VBScript in the Windows client. It’ll probably continue to work for a while as an on-demand feature, though (emphasis on the “probably”). Analysis: Obsolete scripting language is obsolete If you’re still using VBScript, why? It’s time to move on: PowerShell is the new hotness—it’s even cross platform. Sergiu Gatlan: Microsoft to kill off VBScript in Windows “Malware campaigns”VBScript (also known as Visual Basic Script or Microsoft Visual Basic Scripting Edition) is a programming language similar to Visual Basic or Visual Basic for Applications (VBA) and […]

Read More

The best programming languages to learn in 2022

One of the challenges for people pursuing a career in programming is deciding which languages to learn. With so many languages used for different purposes, choosing the ones you want to study will depend on the specialty that most interests you as well as on job demand. A report released on Tuesday by programming course site CodingNomads looks at the “best” programming languages for 2022. If you’re excited by the data and logic side of coding, you may wish to learn Python, Java, C, C++ or C#. If you’re jazzed about visual design and user interfaces, TypeScript might be up your alley. And if you’re looking to develop mobile apps, you’d want to check out Java for Android, and Swift or Objective-C for Apple’s iOS. Aside from satisfying your own professional interests, you naturally want to select a language that’s in demand among employers and promises a good salary. In this regard, CodingNomads examined the most popular languages based on job postings and on salary. Looking at the greatest number of job postings on LinkedIn across the U.S. and Europe, CodingNomads awarded the top spot to Python. In second place was Java, with JavaScript, C++, C#, C, TypeScript, PHP, Perl and Ruby rounding out the top 10. Analyzing the average salaries of the most in-demand languages according to data from Indeed and Glassdoor, CodingNomads put Ruby in first place with an average salary in the U.S. of $111,994. C++ came in second with a salary of $103,818. The other languages and their salaries were Python at $103,540, JavaScript/TypeScript at $100,492, Java at $96,786, C# at $89,203, PHP at $85,435, Perl at $83,159 and C at $82,924. TypeScript was not listed separately because it had limited salary data. But CodingNomads deemed its salary similar to that for JavaScript jobs. Also, these figures are considered average salaries and not what beginning programmers would earn. But successful coders can expect to meet or beat these salaries within a couple of years, according to the report. Python is the best programming languages 2022 As a general purpose, server-side language, Python is used for a variety of tasks from simple scripting to advanced web applications and artificial intelligence. For developers interested in data science or machine learning as well as overall software development and web development, Python is the best language to learn, according to CodingNomads. “While Python has been around for decades, the demand for Python skills in 2022 will continue growing exponentially thanks to its use in the booming industries of data science, machine learning and AI,” said Ryan Desmond, co-founder and lead instructor at CodingNomads. “In addition, Python is considered one of the easiest, most powerful, and most versatile languages to learn, making it popular amongst companies, developers, and aspiring developers.” Java A respected and time-tested language, Java is widely used by organizations around the world. Java is the main language behind Android, which owns an 85% share of the mobile market. It’s also the most popular language for Internet of Things (IoT) devices. Java is considered harder to learn than Python but easier than C or C++, according to CodingNomads. The main reason is that Java improved on C, and Python improved on Java. On the plus side, once you master Java, learning something like Python will be much easier. Anyone who wants […]

Read More

The 5 Best Python IDE in 2019

1. PyDev IDE PyDev started as an IDE that primarily worked with Eclipse, allowing Pythonista’s write code on Eclipse. But, no it has expanded beyond Eclipse and now can also be integrated with Visual Studio Code. Although free, PyDev integration with VS Code costs $40 after a free trial of 1 month. Features which makes PyDev best IDE:  All basic autocomplete features that other Python IDE’s provide  Code editing directly inside of Eclipse and Visual Studio Code  Django Integration and ease of unit testing Pros and Cons of PyDev IDE Pros  Open-source  Pylint integration  Debuggers and real-time Cons  Limited Support as its crowdfunded  Less features than other enterprise backed IDEs 2. Spyder Python IDE  SPYDER is actually an acronym that stands for Scientific PYthon Development EnviRonment. This IDE is mainly used by the Scientific Python community. Tools and libraries like Numpy, Scipy, Matplotlib, etc are in-built with this Python IDE. Powerful features specifically built for the scientific programming makes Spyder a preferred IDE. It is also one of the best alternatives for Scientific programmers outside of Matlab. Features which makes Spyder the best IDE for Scientific programming:  Integrated Pylint and Pyflakes for analysis Syntax coloring, breakpoints Code Autocomplete and Variable explorer Comes with most of the scientific programming libraries and framework iPython notebook integration Pros and Cons of Spyder IDE: Pros Built to support data analysis and visualization Leverage autocomplete and syntax highlight for efficient programming Helps you leverage iPython notebook to perform a more granular analysis of your code Real-time code analysis and feedback Cons Lack of version control Lack of integration of a debugger 3. PyCharm IDE PyCharm, an IDE developed and maintained by JetBrains is one of the most popular Python IDE. In a survey done by JetBrains, more than 20% of developers mentioned Pycharm as their preferred IDE. As an IDE, PyCharm does much more than just allowing you to import libraries and write code. It is a professional-grade IDE that allows Python developers to write production-grade and maintainable code. Features which makes PyCharm the best Python IDE: Code completion and automatic error detection Smart Code Navigation to help you quickly get to the right class, file, symbols, etc Makes refactoring painless with safe Rename and Delete. Easy to push project-wide changes Easy to implement unit tests and graphical UI tests with Python profiler Automated Deployment CI/CD pipeline integration Database integration – Oracle, SQL Server, PostgreSQL, and other major databases Remote Development – you can write your Python code with PyCharm’s Professional Edition. Pros and Cons of PyCharm IDE Pros Smart features like Autocomplete helping devs write code faster PyCharm supports multiple frameworks Highly reliable for production-grade processes Cons : Costs around $199 per year per user PyCharm has certain performance issues on Windows OS There’s a learning curve associated with PyCharm Requires SSD and considerable memory size  4. Visual Studio Code Once the nemesis of FOSS software, Microsoft has, under the stewardship of Satya Nadella, taken a much friendlier stance towards all things open source. The company may not be about to release the source code to Visual Studio, but in 2015 it did release a source code editor, Visual Studio Code – or Code for short – and open-sourced the core of it. Code has since become rather popular amongst developers, and it’s a fine choice […]

Read More