|
Finally getting the chance to fart around with this language. It's really cool so far! One thing that impressed me is the operator overloading - I like that I can define an operator with two different types as the operands and even a third type as the sum type.
|
# ¿ May 10, 2016 17:28 |
|
|
# ¿ May 3, 2024 11:15 |
|
What's the rule/guideline for keeping a cargo package's dependencies up-to-date? For example, if a library I want to use is pulling in a super old version of another dependency, is that how things should be or is it expected for maintainers to periodically go through and bump up the required versions of the dependencies in their library?
|
# ¿ Jul 27, 2019 01:26 |
|
I don’t exactly know what the issue is here, but I want to share that a while back, I was having an absolute nightmare of a time following the rust book’s examples to break my code into separate files. Stuff just was not working like the book said it should. Then I noticed a line in my cargo.toml file saying “rust2017” or something like that. It was an old one-file project that I had recently resurrected. When I removed that line, everything just worked. It makes sense why that was a thing, but I was still furious
|
# ¿ Jul 22, 2022 12:54 |
|
Writing hella code and figuring out what abstractions/features/patterns you like and don’t like yourself is just about the best way to learn IMO. With that kind of experience you can read stuff and actually say “oh I’ve run into that problem” and more accurately judge and contextualize any advice you get from a book.
|
# ¿ Aug 15, 2023 13:35 |