Quote (Remembrance @ May 11 2013 05:59pm)
This is an old post and it's basically a circlejerk. I wouldn't regard this as anywhere near a "great read" ...
depends what you take out of it. I personally was one who was told comments are god in the right context but the right context was never made clear to me.
I also never thought about the const functions and only having i or o params for functions.Then again I have never done any game development or worked on any big projects so maybe that is a factor.
Don't see the circle jerk necessarily though.....it was one authors article and I didn't bother reading comments. The author just happens to be a fan of Carmack.
With respect to game development though, I was curious why he was harping on setter/getter methods for classes. What I was taught (and what I have gathered from various resources online) is that the point of making fields private is because of the amount of code reuse you might do with objects/classes.
Maybe it is different for them because they don't use many classes? (Carmack has a strong C rather than C++ background apparently)
too much I don't know but I still enjoyed reading it. I like reading stuff written by experienced developers.
This post was edited by Eep on May 11 2013 05:18pm