3 ms·
Don't mix things, guy! - asyncio it's one thing: From my point of view it's amazing... makes python be able to compete with nodejs or go.. (not so hard, if you
by jordic 7y ago
Don't mix things, guy!
- asyncio it's one thing: From my point of view it's amazing... makes python be able to compete with nodejs or go.. (not so hard, if you work also on the browser)
- mypy: that's another story, but it's also optional, use it if you want... (my opinion, like in typescript, if I want types I will do it with go or rust)
- wyclif 7y agoRight. Projects can always choose not to enable asyncio. I don't see what the problem is. Right tool for the job, &c.
- nine_k 7y agoGood luck finding a pandas or scipy implementation for go or rust :-/
- philipov 7y ago"BlackJack strives to be a full featured crate for general data processing. Long term goal is to create a lightweight Pandas equivalent by and for the Rust community, but with slight differences in focus..." https://docs.rs/black-jack/0.1.0/blackjack/ https://docs.rs/black-jack/0.1.0/blackjack/ EDIT: That one looks like it's not being worked on actively. Here's a reddit thread with more ideas. Weld looks interesting. https://www.reddit.com/r/rust/comments/apo66e/dataframes_what_do_you_need/ https://www.reddit.com/r/rust/comments/apo66e/dataframes_wha... https://www.weld.rs/ https://www.weld.rs/ And Arrow looks like a new project Wes McKinney is contributing to. http://arrow.apache.org/ http://arrow.apache.org/
- chewxy 7y agoGonum and Gorgonia
- 0az 7y agoHonestly, after trying MyPy for a bit, I'm probably going to gradually type. There's some metaprogramming constructs (notably certain class decorators) that are not expressible in the type system, for one. This makes packages like environ-config unusable. But most importantly, `def foo(lst: list, idx: int):` is fine in 95% of cases. Most of the time, you don't need to go full Java, full verbosity. Document the most important elements - you're taking in a list and an int - and move on.