Applying best practices in coding
Here are points that are not necessarily standards, but they are important when we are writing code for networks.
Follow the standards
In the '90s, the internet was starting to grow fast, and programmers started to become more present in the community. Shell scripting started to grow as a viable tool to help system engineers work with their servers. Then came Perl as a powerful scripting language to help as well. Other languages were also mature, such as C, C++, and Java. But every developer wrote differently with their own style, which did not help code collaboration and made sharing code a disaster. When Python was created, the coding style problem already existed. Something had to be done to avoid confusion when sharing code.
Let’s check now what the standards are for Python and Go languages.
Python standard style
Python can be written in so many different ways. If you are an old programmer, you would remember Perl, which...