4 ms·
I also do not really get the complaint, but it is along the lines of people wanting to write `julia-pkg install Pluto` instead of `julia -e 'using Pkg; Pkg.add(
by krastanov 6y ago
I also do not really get the complaint, but it is along the lines of people wanting to write `julia-pkg install Pluto` instead of `julia -e 'using Pkg; Pkg.add("Pluto")'`. It seems it is a big pet peeve for some people.
- spekcular 6y agoYes. I agree with this complaint. The REPL is useful in some cases but in general I avoid interacting with it whenever possible. My impression is that workflow is highly task-dependent (perhaps obvious) but there are many of us who just want to write a script, run the script, and repeat.
- nerdponx 6y agoThe `-e` thing gets very messy quickly if you need to pass non-trivial data from the outside world into the application (have you ever tried to "parameterize" a Sed script?). It also doesn't compose well with other CLI tools. I think these are two perfectly reasonable things to be annoyed by.
- deleted 6y ago[deleted]
- chillfox 6y agoThanks for the example. As someone who has never used Julia... Wow, that looks exceptionally painful compared to most other modern languages.
- krastanov 6y agoThe package manager that comes with Julia is actually way better than what is available in python, and it has an unmatched "foreign language dependencies" support. It just happens to be mostly used from the REPL, not the command line (hence the execute -e flag above).
- simeonschaub 6y agoCheck out https://github.com/fredrikekre/jlpkg https://github.com/fredrikekre/jlpkg. It does pretty much exactly what you are describing.