sawa (Tsuyoshi Sawada) wrote in #note-6: > rafasoares (Rafael Soares) wrote in #note-5: > ... No, that's another quote. I'm referring to the one in the paragraph above. Complete excerpt here: > He has often said that he is “trying t...rafasoares (Rafael Soares)
sawa (Tsuyoshi Sawada) wrote in #note-4: > > I think Integer#pred is great as the inverse of #succ, but it reads a bit weird as the inverse of #next, which might be preferable for those going for a more "reads like English" approach. >...rafasoares (Rafael Soares)
marcandre (Marc-Andre Lafortune) wrote in #note-1: > In general, I don't favor aliases as they usually increase cognitive load, make code less uniform and add very little. In general, I agree. But in this case, we already have `Integ...rafasoares (Rafael Soares)
I think `Integer#pred` is great as the inverse of `#succ`, but it reads a bit weird as the inverse of `#next`, which might be preferable for those going for a more "reads like English" approach. On that note, `#previous` reads better,...rafasoares (Rafael Soares)