3 ms·
pairing this with yaegi [1] would be interesting. You could having a REPL open doing os operations and when you get the data looking like you want, you select w
by breadchris 2y ago
pairing this with yaegi [1] would be interesting. You could having a REPL open doing os operations and when you get the data looking like you want, you select which lines to save to a file.
[1] https://github.com/traefik/yaegi https://github.com/traefik/yaegi
- AzzieElbab 2y agoI hate go-lang with passion, but these two libs are really cool
- throwaway77385 2y agoHow come the hate? That's a pretty strong emotion for something as benign as a programming language.
- wswope 2y agoNot OP, but the usual talking points were covered pretty well in this thread from yesterday: https://news.ycombinator.com/item?id=42884337 https://news.ycombinator.com/item?id=42884337 To sum it up, the biggest complaints are error handling, null handling, and dependency management. And y’know, being backed by a company of ghouls hellbent on extracting value for themselves at the expense of society.
- Thaxll 2y agodependency management in Go is best in class what are you talking about? go mod is that good.
- wswope 2y agoReferring to this thread: https://news.ycombinator.com/item?id=42885476 https://news.ycombinator.com/item?id=42885476 I don’t personally have a bone to pick with Go mod, save for how the GOPROXY DoS issue was handled.
- wlll 2y agoI use Go a lot and I completely disagree. I have also used Ruby a lot and even though I prefer writing Go most of the time (it depends on the task) bundler is far better. go mod is the second best I've used for sure, but if someone releaed bundler-but-for-go I'd switch to it in a heartbeat.
- geodel 2y agoHuh, people are extracting whole bunch of value in Python at expense of society. Should I blame Python or its contributor for it?
- wswope 2y agoI fundamentally disagree with the assertion that Python operates at the expense of society. Google is an exploitative monopoly. There’s been plenty of ink spilled on the subject to the point that I feel no obligation to repeat it. While it’s true that GVR is currently employed by Microsoft, the ecosystem of Python is far more anarchic and decentralized.
- radlad 2y agoI think he was probably making a comment about Python in regards to PyTorch and AI's energy usage. i.e. Whether a language exists "at the expense of society" probably depends less on who makes the language, and more on what you do with it.
- summarity 2y agoStrongly opinionated languages beget strong opinions on the same, both positive and negative.
- latchkey 2y agoThese sorts of comments always make me wonder what you prefer.
- AzzieElbab 2y agoI make a living with go, scala, python, rust, java, and sometimes ts and Js. I prefer scala and sometimes rust.
- gus_leonel 2y agoSee also go-script: https://til.simonwillison.net/bash/go-script https://til.simonwillison.net/bash/go-script