abena19 / Instagram

0 stars 0 forks source link

Commenting Better Practices #1

Open agustinbalquin opened 2 years ago

agustinbalquin commented 2 years ago

https://github.com/abena19/Instagram/blob/1587891eb237d69d6f779703af1f07822bf1f4f5/Instagram/LoginViewController.m#L64

Try not to submit code if there are just randome lines commented out.

However, If you are going to use it later, its okay to keep code is commented out, just leave a Todo

ex. //TODO: Complete function stub for navigation segue for the ABCViewController

agustinbalquin commented 2 years ago

Just be descriptive to you. The codepath comments are there to teach you but make sure you keep a note of why its commented out and understand why its still left there