Better HN
topnewbestaskshowjobs
Log inSign up

cometsong

1 karma · joined Oct 3, 2019 (7y ago) · 2 submissions

Sitting. Thinking. Pondering. Wandering.

[ my public key: https://keybase.io/cometsong; my proof: https://keybase.io/cometsong/sigs/vaS19mWqMLYaFclK-YARc9KClqtPpWV9sRrosekTV-s ]

Submissions

comment 7y ago · link · parent

I agree on over-use of optionals.

I disagree with the code is thus doing too much, however.

At least in this specific and some other cases, the method shown there is a wrapper to do a major task of converting data formats from one form to another.

These optional, well-documented arguments show the defaults used, and are modifiable in, as you said, specific use-cases.

comment 7y ago · link · parent

Score on asdf!

The fact that it can do multiple languages and environments is lovely.

My current technique for that is a pseudo-wrapper script that activates each 'env' and runs associated commands with it to set it up, e.g. bash exports, $PATH, etc.

Now I just need to fit asdf into my workflow.