Skip to main content

I remember that when I started programming I used a very limited and slow computer with Windows and the editors Eclipse or most of the time with [Notepad++](https://notepad-plus -plus.org/) . For about 2 years I didn’t use things like tests, linter or generators. Over time I started testing and using new development tools and today I use a structure that is very pleasant and I decided to share it here.

Operational system

Important! For programming I recommend using Linux, I use Fedora and Mac is also an option but avoid using Windows to develop systems that do not use MS technologies such as .Net.

Code editor:

The editor must be light, agile and functional with the features of auto-completing the typed texts with relevant options and checking if there are any [syntax] errors (https://pt.wikipedia.org/wiki/Sintaxe_(l%C3% B3gica)) in your code and that’s why I chose Sublime Text as my default editor.

Among its many features, Sublime Text has several plugins, special keyboard commands and project support where it is possible to organize folders and continue a project where you left off when reopening the project in the editor.

Link to download sublime text: https://www.sublimetext.com/3

Code tests:

The work of checking if your resource or code is working is very tiring, so why not let the computer do it for you?

This is one of the reasons to write tests on your systems, and a system with good test coverage helps ensure that your system will work as expected even after making changes to old features.

The tools and ways of carrying out the tests are related to the technology used in my case, I use Node.js a lot and to test I use the “mocha” and “istanbul” to analyze and generate a report with test coverage.

About the tests: https://pt.wikipedia.org/wiki/Automação_de_teste

Linter

The linter is a program that analyzes your code and looks for possible problems or errors and there are versions for several programming languages such as Javascript, Python and PHP.

It is possible to use the Sublime Text linter plugin to automatically analyze and search for errors, warning errors such as the lack of ; (semicolons). In short, the linter can “fix” your code for you.

Git and versioning!

Versioning your code will help solve many problems such as merging changes made by different people and having a history of what was changed.

Important sites!

Code and questions:

Github: Today Github is a large code repository with tools to develop systems collaboratively.

Link: https://github.com

Google search: Have questions? There he will have help finding information and often solutions to your problem.

Link: https://www.google.com.br

Stack overflow: Forum where developers can help each other with an efficient social validation system.

Link: http://stackoverflow.com

Learn:

Program: https://www.codecademy.com/ (Codecademy)

Git: http://pcottle.github.io/learnGitBranching/

Socialize!

Whenever possible, participate in events related to technology you like or want to learn, try to meet new people. This way you can learn from more experienced people and even come up with new ideas for your projects.

And that’s it for today folks…

Site session