Maxi Contieri

@mcsee

110 Points

1 Followers

5 Posts

3 Answers

Joined March 1st, 2021

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

Why GitHub Copilot is not a Threat to your Job

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 of common small routines. It also can recognize bad comments and create imperative code from them. GitHub copilot is a text transformer simi...

Maxi Contieri

2 months ago

8
Select One:
Code Smell 02 — Constants and Magic Numbers

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 changing then. Problems Coupling Low testability Low readability Solutions Rename the constant with a semantic and name (meaningful and...

Maxi Contieri

3 months ago

Select One:
Code Smell 01 - Anemic Models

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 tell it is 'a bunch of attributes'. Problems No Encapsulation. No mapping to real world entities. Duplicate Code Coupling Writer / Re...

Maxi Contieri

3 months ago

Select One:
Null: The Billion dollar mistake

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 null. It is comfortable, it is efficient, it is fast and yet we have suffered a bazillion of problems related to its use. What is the cognit...

Maxi Contieri

5 months ago

Select One:
Singleton: The Root of all Evil

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 patterns and the same “scheme” is always repeated almost like a type of déjà vu, the same sequence that I had the opportunity to witness in several...

Maxi Contieri

6 months ago

Select One:

Loading More Content