Great post! The examples were well chosen and easy to follow as well. Just sharing some thoughts that sometimes your code will explain what it does but won't explain why it does that. On that note, the comments would make sense. Cheers
Yeah, there's definitely a place for comments. I wanted to recommend not using them when they're not the best tool.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great post! The examples were well chosen and easy to follow as well. Just sharing some thoughts that sometimes your code will explain what it does but won't explain why it does that. On that note, the comments would make sense.
Cheers
Yeah, there's definitely a place for comments. I wanted to recommend not using them when they're not the best tool.