Chema's avatar
Chema
chemaclass@snort.social
npub1ch2g...sxwx
I like open-source software and sharing knowledge
Chema's avatar
Chemaclass 2 years ago
A great way to learn (and improve!) a programing language is by practicing it with others. And for this, Open-Source Software is one of the best opportunities we all have out there. You can start fixing some typos, translating something to your mother-tongue language (if applicable), writing some docs, or applying simple refactoring opportunities... until you get comfortable and you can start applying bigger refactorings or even contributing to adding entirely new features.
Chema's avatar
Chemaclass 2 years ago
You don't want to test "private methods" but "public behavior". Private scope is about implementation details. If happens that you feel the need to test a private method, it will luckily be that your class is responsible for multiple things. TIP: Consider extracting that private method to another class, and create an interface to invert the dependencies between them. This way you will make your behavior testable.
Chema's avatar
Chemaclass 2 years ago
In the context of building software, think about constant and small iterations. This way, you can adapt quickly to the different needs along the way.
Chema's avatar
Chemaclass 2 years ago
Good morning, team! Second week of March. There we go! ๐Ÿค˜
Chema's avatar
Chemaclass 2 years ago
Your code quality is directly proportional to how easy it is to write automated tests for it. As simple as that.
Chema's avatar
Chemaclass 2 years ago
It's always the right time to do the right things.
Chema's avatar
Chemaclass 2 years ago
If you cannot build it in one day, the problem is too complex. Break it down and/or find a smaller problem that you can solve in a day that helps you work towards the greater goal.
Chema's avatar
Chemaclass 2 years ago
Reduce friction for good habits and increase friction for bad habits.
Chema's avatar
Chemaclass 2 years ago
Reduce friction for good habits and increase friction for bad habits.
Chema's avatar
Chemaclass 2 years ago
Yes! You cannot build the perfect and right software from the very beginning. However, you can collaboratively work toward better software on the daily basis.
Chema's avatar
Chemaclass 2 years ago
Make the code work first. Then clean it up. The more you delay cleaning your code up, the more tech debt your project will accumulate.
Chema's avatar
Chemaclass 2 years ago
With the right knowledge, environment, and support structure, everyone is capable of upgrading themselves.
Chema's avatar
Chemaclass 2 years ago
Test-Driven Mentality is the key ๐Ÿ”‘
โ†‘