33

Scripting Languages to Be Removed

 4 years ago
source link: https://www.tuicool.com/articles/M3uIfaA
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Xcode 11 Beta Release Notes :

Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. In future versions of macOS, scripting language runtimes won’t be available by default, and may require you to install an additional package. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app.
[…]
Use of Python 2.7 isn’t recommended. This version is included in macOS for compatibility with legacy software. Future versions of macOS won’t include Python 2.7. Instead, it’s recommended that you run python3 in Terminal.

This is a big deal in terms of philosophy; Apple once touted the built-in Unix tool suite as as a Mac advantage. And it also means lots of practical changes; AppleScripts can no longerlean on other scripting languages.

Marcin Krzyzanowski :

The same year Microsoft is proud to add a new terminal app with the full support of bash and everything to please developers. Apple decided to deprecate scripting on macOS and replace bash with zsh.
No explanation was given, but we’re curious. Maybe there’s a valid reason.

Joe Groff :

The downside of all that stuff getting included was that it could never be upgraded, because apps would depend on the exact versions that shipped a decade ago.

It still doesn’t make sense to me because these scripting languages aren’t huge, and Apple did update them and remove old versions from time-to-time.

Previously:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK