240 karma · joined Mar 5, 2017 (9y ago) · 79 submissions
comment 6mo ago · link · parent
comment 11mo ago · link · parent
comment 1y ago · link · parent
[1] https://www.science.org/content/article/nih-freezes-all-rese...
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
> options can have multiple values: -a 1 2 3 means that a is an array/slice/struct of three numbers of value [1,2,3]
Allowing multiple values is inconsistent because you can't tell in "./cmd -a 1 2 3" whether 2 and 3 are positional arguments or arguments for -a. This is not a GNU style. The GNU way is "./cmd -a 1 -a 2 -a 3" (or "./cmd -a 1,2,3"). This package supports that, which is good.
> option values can be separated by a space, equal sign, or nothing: -a1 -a=1 -a 1 are all equal
"--a=1" is a GNU style but "-a=1" is not. This is a minor issue, though.
Also, does this package support "--"? Everything following "--" should be treated as positional arguments.
comment 1y ago · link · parent
I would be thrilled if Julia had this in early days, but now it is a little too late. I have jumped the boat.
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Julia is a great niche language for what it is good at. It will survive but won't gain much popularity.
[1] https://discourse.julialang.org/t/very-slow-time-to-first-pl...