Message from C, C++ talks

May 2019

— I undersatnd this already

— I'll do both

— I would rather write:

void rotateVecBy1(std::vector<int> &toRotate)

— Imagine working at a company like google


Ok, guys, lets make conclusion:
Who prefer to comment ur code - do it
Who prefer not to do it - don't do it

— U would need to comment it

— Comment as necessary

— You guys forget that if you comment what a routine does and it fucks up, someone else can figure whats going wrong seeing the wrong code and the comment of what its supposed to do

Message permanent page

— There you must comment your code

— No, sonic.

— Exactly- which makes it the best practice

— Google also writes programs like Allo, Hangouts, and their failed social media platforms so...

— LoL

— If google had the best programming practices, then we wouldn't need 50 languages, the argument about comments, or even this channel.

Message permanent page

— They didnt fail
people just didnt prefer it