Live data from Hacker News

macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

developer.apple.com

161–170 of 450 posts

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#161
post #12

Earlier quoted context omitted.

I think you read more into my question than what I meant. I was asking literally about the best way to install it was without a system level ruby. Once you have homebrew, you can install ruby; but what about before that? Download and install ruby from ruby-lang.org, install homebrew and a brewed ruby, then uninstall the one from ruby-lang.org?

I’m guessing home brew will end up creating a packaged installer than includes a home brew upgradable ruby

I'd think a script that you pipe into a shell with admin privileges is more likely ;)

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#162
post #34

Earlier quoted context omitted.

At least for Python the standard .pkg's available from python.org have always been very useful for me. Especially since you can install as many versions as you want simultaneously since they install in separate folders. As a tester who used to have to keep installs of lots of versions this was very helpful. I should know the situation for Ruby as well... but don't remember anymore.

Yeah I don't get the trend to install it with brew since it's so easy to use the official installer.

Package managers will keep your Python up-to-date automatically.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#163
post #60

Earlier quoted context omitted.

Learning how to install Python and Pip should be part of the learning process for newbies.

Learning how to install and configure development environments is an important skill in general, but I'm not convinced having those skills as a prerequisite for exploring programming as a newbie is at all valuable.

On macOS the best config-free entry to programming is Swift and Swift Playgrounds. Everything else can have config and shell hell for further more advanced learning purposes.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#164
post #2

I think that's ok, most everyone installs homebrew

"I think that's ok, most everyone installs homebrew" Most everyone who doesn't know better. Brew is a trainwreck that breaks critical functions in macOS.

To be fair, Homebrew usually tries to not do this :)

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#167
post #143

How deep you are willing to go with conspiracy theories ... If one was planning to kill off all non-approved software on an OS, what would you do first? Remove all the runtimes that can execute unapproved software of course. Then you are free to impose signing as a requirement for applications and a mandatory app store, and reap the 30% rent tax forever more. Is Apple doing that? Of course, we can't tell. There are l…

It is trivial to package a scripting runtime with an App Store application; so trivial, in fact, that a number of apps for iOS do this already.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#168

Earlier quoted context omitted.

Not true. It's better for them to install it themselves so they know exactly what they're using, and so they type python for python 3 and not python3.

no. it's better for newbies to learn programming rather than fight with operating systems trying to set up an environment to learn programming in

If you follow a python 3 tutorial when your computer has python 2 installed on it, that's a terribly annoying way of fighting with your tools. I've seen it happen. I'd rather they don't risk it and just start fresh.

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#169

It's interesting to me that this is happening in the same month that Microsoft made installing modern Python as easy as typing Python and then clicking "install". One more piece of evidence that Microsoft cares about developers more than Apple does.

Well, python 2.7.5 isn’t ‘modern’ python... AFAIK :-)

Re: macOS deprecating scripting language runtimes, including Python, Ruby, and Perl

#170
post #149

Earlier quoted context omitted.

The down side to that is that ruby is currently required to install Homebrew.

You already need Xcode to get Homebrew working, and that will most likely be the vector by which optional scripting languages will be installed.

Correction: you need the Xcode Command Line Tools, not the whole Xcode bundle.
Post reply on HN