6 Architectural Concepts to Get Familiar With
Object Oriented Paradigm The paradigm’s roots started in the 1960s and became dominant during the 1990s. Although it is not exactly an architectural paradigm, it is used as a basic organization of components. The Object Oriented Paradigm basically states that everything is an object; data is contained in fields, and code is run with methods […]
Composite objects – (how) do you assert them?
Let me start with a code sample (in java) that will demonstrate what I am going to talk about: … private IMAPService _mapService; public RealEstateField createField(List<Coordinate> coordinates) { RealEstateField field = new RealEstateField(); field.setCoordinates(coordinates)); field.setAddress(_mapService.findAddress(coordinates)); double surface = _mapService.calcSurface(coordinates)); field.setSurface(surface); field.setCenter(_mapService.findCenter(coordinates)); field.setPrice(surface * _pricePerMeter); //… […]
Unit tests, do they worth it?
Often I hear people doubting the effectiveness of unit tests, they usually say “most bugs we encounter with are ‘integration bugs’”, “they usually happen due to integration flaws with the DB, with some external API, with some configuration, etc.” Do they right? Well, it depends. Consider the following scenario in which I am sure you’ve been […]
5 Things to Improve Your Code Review
Understand the Requirements The first step for a productive code review is to understand what the task was all about and think about possible solutions. Once you understand the requirements, the code review can be more productive since you are focused on the problem to be solved rather than on a shallow read-through of the […]
Warning! Coderoaches!
Imagine a cool startup place. It has top notch working stations, huge monitors, the latest keyboards. Programmers have open cheques to choose their workstations: Mac Pro, Symphonia, ThinkStation – you name it, you got it.Vintage Pinball and Pacman machines alongside Xbox One and PS4 Pro. You know, The Works. You also see pizza trays and noodle boxes laying […]
Legacy Code – costs you a hell of a lot of money
Have you ever stopped to think about how Legacy Code impacts your time & money? How it impacts your products’ quality, hence, your customers? How it affects your employees? In this article I will try to cover the bad impacts of Legacy Code, impacts that actually cost the organization money and quite a lot of it. […]
Stop complaining and start Analyzing
While i expect this to be rare and unfamiliar to most of my readers, in some organizations there are managers that sometimes complain about teams, specifically about their productivity and quality. As an external, i often do not have the knowledge to really form an opinion about this, and as a developer i have my […]
Bugs as a Metric
We have a bug in our industry: We over glorify bugs. We love them so much, that we use them as a primary metric for quality. My take is that that is a bad idea. Bad, as in driving undesired behaviors that are misaligned with our desires to improve quality. Let’s begin with an analogy, […]
Technical Debt – Will hit you 3 times
“Look, it’s critical that we meet our deadline, and I know that we are already running behind. So please, we need you to push faster no matter the costs. And I don’t care if you need to cut some corners on the way. I’m totally aware of the costs, we just need to meet the […]