David Martinez (@david_software) header
David Martinez (@david_software) profile picture

Crafting code and chasing Agile dreams - because life's too short to waterfail! 💻🚀

Ireland
Joined January 2023
Having 700 modules feels like the wrong thing to do no matter what you use. There's no way this is maintainable.
1
30
What I mean is that not delivering quality today slows you in the future.
1
36
The contemporary testing approach simplifies the pyramid: Base level: Focus on Business Functionality Tests to ensure core features work as expected. Mock the external. Top level: Implement Integration Testing for smooth connections with external systems. #SoftwareTesting
12
Although I appreciate that code reviews can be a good way to start conversations. What about ship/show/ask?
1
27
Replying to @housecor
I think there are better ways to collaborate than code reviews. User acceptance tests should be changed by "iterate and listen to your users' feedback".
1
439
Replying to @bazlur_rahman
Needing to test a class's private methods signals that there's a problem with your design. It usually means that the Single Responsibility Principle (SRP) has been compromised.
130
Replying to @housecor
This is a symptom of the Smart UI anti-pattern that Eric Evans talks about in the DDD blue book.
10
That's a good point. With boundary testing you can pragmatically achieve that. It's true tough that there's no 100% theorical assurance that you won't have any error. What I meant is that the focus should not be in code line coverage.
1
9
Replying to @PLyczkowski
I do kind of the same. I specify the signature of the methods that I need in the "high level" algorithm and I implement the details later.
1
24
Having processes on a team by default is premature optimization.
19
Replying to @srbaker @fosseng
Exactly. Do not plan for it in advance, separate your things in bounded contexts. When the time to split it comes, you and the team will know. Let changes come naturally.
47
Replying to @bootify_io
You'll have external dependencies that could fail as well, but there's not too much you can do about it. I care about my software, and what I'm responsible of, working. It's also beneficial to have 100% integration test coverage to ensure error-free code.
1
17
Replying to @bootify_io
100% functionality coverage definitely makes your application error-free.
1
1
28
Multi-module Maven projects offer faster feedback for structural issues, especially when using an IDE with POM validation but also because it's the first thing checked when running the build. I like the high cohesion of having a dependency manager who also checks the issues.
1
3
156
Replying to @simas_ch
For me, multi-module Maven projects are a fantastic way to organize architecture layers. They provide clear dependency management and prevent cyclic dependencies, ensuring a clean and controlled flow of dependencies between layers.
1
2
413
Remember, #DTOs are essential for efficient data exchange, but they should NEVER be mixed with your domain entities! Keep your data clean and separate for a maintainable and scalable codebase. 🚀🧹 #Programming #BestPractices
44
Replying to @IamAbhiDev
Understanding what you are trying to solve.
13
Replying to @hackastak @DevWig
DRY means "do not repeat knowledge", different to "do not repeat code". Not all duplicated code is duplicated knowledge.
2
22