To comment or not to comment

Welcome to Coding in Style, a series of short videos about how we can improve our code.

This is the episode 6 where we continue our discussion about how to comment our code. Or better said how to not comment it.

We stated in the previous video that we should stay away from comments as much as possible by trying to make the code in such a way that it does not need them.

Let’s look at few situations when we don’t need to comment the code.

George Cristescu

Marketing Director | Senior Digital Marketing Specialist | Hands-on Digital Architect & Growth Strategist (SEO, PPC, Web)

9y

To view or add a comment, sign in

More articles by Dragos Ionel

  • AIGeeks 2019 in review, plans for 2020

    As we’re wrapping 2019 up, we have high hopes for how AI will improve our lives in 2020. This year, we organized and…

    2 Comments
  • How can AIGeeks help you?

    As you know AIGeeks is a Non Profit trying to improve our world around us using AI. Other than organizing the meetup…

  • Be cautious with the ternary operator

    The operators in a programming language, in general, and in Swift, in particular, are of three types: Unary - that…

    2 Comments
  • Use long names when writting your code

    Unfortunately, we have been used to the fact that a name has nothing to do with the object it names. John, Mary, and…

  • Write tests

    Welcome to another post about how to improve our code. Today we are trying to prove that the quality of the code…

    4 Comments
  • How to name a function - Coding in Style - episode 11

    Welcome to Coding in style, a series of short videos about how to improve our code. This is Dragos and you are watching…

  • Reducing the cyclomatic complexity - Coding in style - Episode 9

    Welcome to Coding in style, a series of short videos about how to improve our coding. This is Dragos and you are…

  • Coding in style in 60 seconds - Comments

    Welcome to Coding in Style in 60 seconds. This is Dragos and you are watching a series of short videos about how we can…

  • Get smart by being stupid

    Do you know why programming is the best job ever? From the thousands and thousands of possible jobs out there…

  • Coding in style in 60 seconds - capitalization

    Welcome to “Coding in Style in 60 seconds”, a collection of short videos about how we can improve our code in simple…

Explore content categories