I am a believer of the Root Cause Analysis. Ask "How, What, Why" until you can dissect it with no further to go. Well, I am a frontend developer ready for new challenges!
A wonderful article!
I learnt some of the things mentioned here the hard way with experience. When I had to revisit an year old code with poor function names and no description.
Some additional important points to remember-
Always try to write a small two line description of what the function does, commented above it.
Name the variables like you name your child. Don’t just use x and y everywhere.
In case of JS, try to differentiate a private function from an fireevent function using _functionName
A wonderful article!
I learnt some of the things mentioned here the hard way with experience. When I had to revisit an year old code with poor function names and no description.
Some additional important points to remember-
That makes sense.
It's hard to forget if they're descriptive enough.
If your code doesn't explain everything, you can always add some comments.