Ivan Tham

Results 562 comments of Ivan Tham

> Anyway, Self was discussed in #61, too. My point is that it might be better to avoid it in book examples in order to make them clearer. However I...

There is a reason this is not added last time and left hanging, it is due to no consensus on whether using `Self` is better, personally I would only try...

I wonder if we should write this? Or maybe we can just keep note of this while writing other examples?

One more issue besides missing impl context is that it won't work well with rustdoc search. If you search for the original type using the search bar for docs, it...

But is it possible to check the code samples in the docs while keeping it inlined? I don't think it is useful to separate code samples for a book.

The provided example does not seemed ergonomic, for good GUI design we should considered looking at druid.

https://www.possiblerust.com/pattern/naming-your-lifetimes I don't think it is good. It's up to the users and authors how they want to name stuff, some prefer single character some prefer multi characters, but either...

Just wondering, shouldn't this already be mentioned in the book? Talking about that here is like talking about naming variables, very sensitive. Like c vs counter.

I don't understand that sentence itself. I thought bound checks are usually eliminated when using collections and iterator method?