3 ms·
>If I write a script with #!/usr/bin/python as the interpreter, I can be fairly certain that it work No you can't. Only some (poorly though out) linux distros
by imanaccount247 12y ago
>If I write a script with #!/usr/bin/python as the interpreter, I can be fairly certain that it work
No you can't. Only some (poorly though out) linux distros do that. Sane linux distros (back when those existed) and every other unix-like system in existence won't have a /usr/bin/python. This is why /usr/bin/env exists and is a posix standard.
- techdragon 12y agoWhich is fine, because that is merely a small part of the point. Using better languages is "normal", and we already have a 20 year history of doing it with Perl, and a nearly twenty year history of doing it with Python, the larger point being, "anyone writing these scripts knows how the hash bang works". In my mind, adding to the complexity of a system by requiring Haskell and this library is counterproductive when the goal us to improve maintenance efficiency.
- imanaccount247 12y agoThat makes absolutely no sense. You are complaining that a haskell library, written for people who use haskell, requires haskell. Python code requires python, perl code requires perl, ruby code requires ruby. So?