Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

I use asdf [0] for managing the multiple versions of different programming languages. Here's the golang [1] plugin.

You need to be able to make some assumptions about your environment in order to implement tools like these. All you're doing is specifying the context in which certain commands within your workspace will run.

A common pattern I've seen with some npm packages is to have the globally installed executable delegate to the project-specific version. This is a nice solution, but it's unrealistic to rewrite lots of projects to use this approach.

IMO, text-based interfaces are still too limiting though. I want to interact with GUI apps programmatically as well! On macOS you can achieve a little bit of that with AppleScript (or with JavaScript in newer versions), but it's still not frictionless.

[0] https://github.com/asdf-vm/asdf

[1] https://github.com/kennyp/asdf-golang



Oh boy, if someone ports Common Lisp management to that, it'll be a huge mess. In CL, we already have ASDF[0] - and it's the de-facto standard build system for the language.

--

[0] - https://common-lisp.net/project/asdf/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: