Introduction
Good style and conventions make your scripts easy to read and fix. They help others understand your work quickly.
When writing a script to automate daily tasks at work.
When sharing your script with teammates or the community.
When you want to avoid bugs caused by unclear code.
When maintaining or updating scripts after some time.
When learning scripting and want to build good habits.