Maxi Contieri

@mcsee

280 Points 2 Followers

14 Posts

3 Answers

Learn something new everyday. Computer Science software engineer working in industry, teaching and writing on software design, SOLID principles, DDD and TDD.

Maxi Contieri · 1 year ago

How a Hacker Stole $566M USD Exploiting a Code Smell

I am not a security expert. But I do love Clean Code and Code Smells TL;DR: don't trust your hashes. The Hack Yesterday, 2022 Oct 7th one of the larger blockchains had to be halted. This n...

Maxi Contieri · 2 years ago

Code Smell 123 - Mixed 'What' and 'How'

We love looking at the internal gears of the clock, but we need to start focusing on the hands. TL;DR: Don't mess with implementation details. Be declarative. Not imperative. Problems Ac...

Maxi Contieri · 2 years ago

Web3 For Dummies - Part 01 - What is a Blockchain?

TL;DR: In this series, we will talk from the very blockchain basics to building a complex DAPP. Background What is FIAT? 💰 The standard currency is called FIAT. FIAT requires a middle ma...
2

Maxi Contieri · 2 years ago

DeepMind's AlphaCode Won't Steal Your Job Either

Another new fancy AI tool. We keep getting closer to the singularity. But not on programming. TL;DR: Wait until machine learning solutions solve real business problems. Alphabet's DeepMind...

Maxi Contieri · 2 years ago

How to Develop a Wordle Game using TDD in 25 Minutes

Everybody is playing Worldle these days... And I love TDD. So, let's get moving... TL;DR: With just a few steps we can build a robust Worldle. Defining a word The minimum information amoun...

Maxi Contieri · 2 years ago

Y2K22 - The Mistake That Embarrasses Us

Is the year 2022. We keep programming in the 1950s TL;DR: We need to follow one simple rule. Follow the bijection. The new year arrived with new errors on Microsoft Exchange. It causes mil...

Maxi Contieri · 2 years ago

I Wrote More than 90 Articles on 2021: Here is What I Learned

This article summarizes my experience as a writer during the pandemic year 2021 Below you will find lots of resources and tools and my method and tips for heavy writing. My Background I ha...
3

Maxi Contieri · 2 years ago

Refactoring 002 - Extract Method

Find some code snippets that can be grouped and called atomically. TL;DR: Group your cohesive sentences together Problems Addressed Readability Complexity Code Reuse Related Code S...

Maxi Contieri · 2 years ago

Refactoring 001 - Remove Setters

Setters violate immutability and add accidental coupling TL;DR: Make your attributes private to favor mutability Problems Addressed Mutability setXXX() violates good naming policies si...

Maxi Contieri · 2 years ago

Why GitHub Copilot is not a Threat to your Job

TD;DR: If you are a good software designer Copilot will not help you very much. What is GitHub Copilot? GitHub Copilot is an AI pair programmer. It was trained with a huge coding database...
8

Maxi Contieri · 2 years ago

Code Smell 02 — Constants and Magic Numbers

A method makes calculations with lots of numbers without describing their semantics. TL;DR: Avoid Magic numbers without explanation. We don't know their source and we are very afraid of ch...

Maxi Contieri · 2 years ago

Code Smell 01 - Anemic Models

Your objects have no behavior. TL;DR: Don't use objects as data structures Protocol is empty (with setters/getters). If we ask a domain expert to describe an entity he/she would hardly tel...

Maxi Contieri · 2 years ago

Null: The Billion dollar mistake

He is not our friend. It does not simplify life or make us more efficient. Just more lazy. It is time to stop using null. Tearing down another inveteracy All of us have been heavily using ...

Maxi Contieri · 3 years ago

Singleton: The Root of all Evil

Allowed global variables and supposed memory savings. For 20 years I have been teaching software at the University of Buenos Aires. In the software engineering course we teach design pattern...

Loading More Content