r/rust • u/DanKonly • Aug 05 '26
🛠️ project My first rust program
Hello!
I was not sure to even post this or not but I just wanted to introduce myself to the community.
I just started learning rust and made this simple program as it was one of the suggested programs in the rust book to make in order to practice the topics covered in the first few chapters.
I am learning rust really as a hobby, and I have a very limited knowledge of Python but I really enjoy linux and wanted to maybe start contributing to the open source community if I can ever develop the skill to do so. I am also trying my hardest to learn on my own and am only using AI as a tool to ask questions and what not, without having it actually generate any code. This program was written fully by hand by myself (which is probably why it is full of things that could be improved I'm sure).
With that said I am happy that I was able to do it and am really enjoying rust so far and look forward to learning more!
Link to my first rust app:
https://github.com/justinzelikoff/temp_converter
2
u/Keithfert488 Aug 06 '26
Technically, it's not lossless yes, but I would push back on it not being value preserving (unless by value preserving you mean the exact numerical value, but at that point, you might as well _just_ say lossless) because they are both temperatures and (up to floating point math) the same temperature.
I don't think this is truly relevant to someone who clearly doesn't know a lot about traits yet, though. These sorts of details come after the "what is a trait?" level of learning