News for hackers. Stuff that matters.
Re:Learning Rust with ChatGPT, Copilot and Advent of Code by 63 on Monday December 05, 2022 @06:35PM (#33873538)
I don't know if this is helpful at all, but "strings are not indexable because of their underlying implementation and the complexity of UTF-8" is drilled into the reader very hard by the rust book. Obviously to each their own, but I found I had a much easier time understanding the language by working through the book than by treating rust like any other language and randomly guessing and googling my way through errors.
Re:Learning Rust with ChatGPT, Copilot and Advent of Code by simonw on Monday December 05, 2022 @06:37PM (#33873559)
I've not looked at the book or any of the documentation at all yet, but I'm getting the distinct impression that it's a cut above documentation for many other languages. I'm going to start working through that too.