Viktar Patotski retweeted
Ideal CI should run/check:
📍Code formatting
📍Static code analysis
📍Licenses
📍Vulnerabilities
📍Compilation
📍Tests run
📍Test coverage degradation
📍Mutational tests
📍Performance degradation
What have I missed? 🤔
Viktar Patotski retweeted
How do you organize code into packages in your Java applications? ♻️ for reach.
54%Package per layer
43%Package per feature
2%Other(I'll comment)
444 votes • Final results Viktar Patotski retweeted
Yesterday, thanks to @lofidewanto, I learned about @OpenRewrite - a transformation ecosystem for Java and other source code. It consists of a platform of prepackaged refactoring recipes for common framework migration and stylistic consistency tasks.👇
Viktar Patotski retweeted
#SQL is an essential part of software development. You need to know it, practice it and improve your language constantly. These 5 sites can help you improve your SQL skill 🧵👇
Viktar Patotski retweeted
Back to #Java primitives. Easy to overlook these basics. Yet, they turn out to be the cause of pesky bugs when used incorrectly.
Viktar Patotski retweeted
❗3000❗ Thanks for following me in my software development journey!
Follow me if you want to learn more about:
👩💻Software Development
☕ Java
☁️Cloud/DevOps
♻️CI/CD
🐧Linux
☸️K8s
🚄 Software performance
✅ Tech certificates
And let's just celebrate 🎆🎆🎆🎆🎆
Viktar Patotski retweeted
⚠️#Java performance comparison⚠️
I decided to compare the performance of different collection iteration options. In particular:
📍 for loop
📍enhanced for loop
📍for loop with an Iterator
📍stream
Details🧵👇
Viktar Patotski retweeted
Reminder for Project managers: Software projects are usually not diamonds, and applying more pressure usually doesn't produce better results.
🤓
Viktar Patotski retweeted
⚠️Top 5 Trending Java GitHub repositories February 2023⚠️
(Android excluded)
🧵👇
Viktar Patotski retweeted
Working without distractions keeps you focused and improves productivity by 100x.
To be more effective every day I create/review a list of my todos and then use Pomodoro 🍅 technique to work on individual items.
If you don't know about Pomodoro then read 👇
Viktar Patotski retweeted
#Java facts: Do you know that calling the constructor with the `new` keyword is not the only way to create an object instance in Java? In this 🧵I decided to list all ways to do it. I found 5 ways 👇
Viktar Patotski retweeted
Sip of #Java: "StringBuilder" and "StringBuffer" should not be instantiated with a character. You expect to have object containing char, but what actually happens is that the int representation of the character is used to determine the initial size of the StringBuffer.
😱👇
Viktar Patotski retweeted
⚠️#Java performance tip⚠️
Use primitive types instead of wrappers.
Java primitive types:
📍byte
📍short
📍int
📍long
📍float
📍double
📍char
📍boolean
More details and explanation in 🧵👇
Viktar Patotski retweeted
The Law of Triviality
This law suggests that groups will give far more time and attention to trivial or cosmetic issues rather than serious and substantial ones.
Viktar Patotski retweeted
Tip: At the beginning of my career, I thought that software developers are solving problems by writing code. Later, I realized that solutions should be already found when you start writing the code. 🤓
First, solve the problem. Then write code. (c)John Johnson
Viktar Patotski retweeted
☕ Sip of #Java: When you need to generate multiple random values, do not create multiple Random objects, but reuse a single Random object. Create new will lead to:
📍performance degradation
‼️📍may produce numbers which are not random depending on the JDK ‼️
Details 🧵👇




