8
tahnik
8y

Why commenting is important?

If you are commenting a variable or method and you can't find the right way of explaining it, there's a problem with your code

Comments
  • 0
    One might argue that if your code needs comments to explain what a method does or the purpose of a variable then there is a problem with your code.

    Self documenting code and all that...
  • 0
    If your building say a website I'd say there is no need at all to explain your code in comments, they are self explanatory...

    In other languages working in a team .... Yes on specific complex sections if you built it yourself then no. You should know how your program works if you expect no one else to ever program in it you don't need to.

    Comments are mainly for other developers to help them understand exactly what your doing.
  • 0
    I believe code should be self commenting, comments should be for explaining the why and not the how, if there is a need.

    Also depends who will be reading your code. Might have designers or stakeholders who aren't so familiar with the language you use or even programming in general
  • 0
    The society pages is basically for music listeners. It has gaming sessions for music lectures. They are realizing their new music Cooley for everyone and also you can learn from https://my-assignment.help/ and get help easily from us. Join their website by getting registrations done.
  • 0
    Devrant.com is a unique Site, there you can find many things which you need in your life. Also check https://interactivecasinos.org/casi... because they gives stunning casino games to interested games easily. Users can be engaged with different activities and will be busy on this web site. It is very useful for everyone.
  • -1
    Wow I really like this recipe, it looks very special but can still be done. I will visit your blog more to read other articles. Happy!
    http://superfighters2.net/
Add Comment