How to change your last commit

git

You commited something and right after that you saw you forgot to remove log or add another file? Or you just want to extend your message? It is not necessary to revert the commit everytime.

Continue reading...

Please, do not install every shit

JavaScript

I am working on React app with couple of other developers. And you know it, you need this component, that functionality, etc. so you google it, install the package and the work is done. Is it ok to work like this? Do you even know what exactly you added to your project and do you really need it?

Continue reading...

Be thankful

If you are working on a project, you sure use open source projects, libraries and frameworks. All these stuff helps you build something amazing and do it faster. And also you know what a good feeling it is, when someone write a good review or give your fan page like. So do the same.

Continue reading...

Chaos Ajax - is your application ready to fail?

JavaScript

You are creating an application that shows data to the user - doesn't matter if he is searching for some specific thing or he is only listing everything you have. What happens if the server responds with empty array? Or with error? Will your application show only empty space or an error message?

Continue reading...

Write good git commit message

git

For a long time I didn't know that even writing commit message can have its own "best practices". When I got in touch with git for the first time, this part was described with words like "...and here you can write something short about what's going on in the commit".

Continue reading...