JulioBiason.Net 4.0

Things I Learnt The Hard Way - Cognitive Cost Is The Readability Killer

1 minute read Published: 2019-06-26

"Cognitive dissonance" is a fancy way of saying "I need to remember two (or more) different and contradicting things at the same time to understand this." Keeping those different things in your head creates a cost and it keeps accumulating the more indirect the things are ('cause you'll have to keep all those in your head).

Things I Learnt The Hard Way - Thinking Data Flow Beats Patterns

1 minute read Published: 2019-06-26

When you're trying to find a solution to your problem, think on the way the data will flow through your code.

Things I Learnt The Hard Way - Learn The Basics of Functional Programming

2 minute read Published: 2019-06-26

At this point, you should at least have hard about how cool functional programming is. There are a lot of concepts here, but at least the very basic ones you should keep in mind.

Things I Learnt The Hard Way - The Magical Number Seven, Plus Or Minus Two

2 minute read Published: 2019-06-26

"The magical number" is a psychology article about the number of things one can keep in their mind at the same time.

Things I Learnt The Hard Way - Understand And Stay Away From Cargo Cult

1 minute read Published: 2019-06-25

"Cargo cult" is a type of cult which appeared in the Melanesia, in which the natives would build their copy of an airplane (no motor, 'cause they didn't have the knowledge to build one -- or even knew what went inside the airplane) in the hopes they would get the same results as a real airplane.

Things I Learnt The Hard Way - Don't Mess With Things Outside Your Project

1 minute read Published: 2019-06-25

Simple rule: Is the code yours or from your team? Good, go break it. Does it come from outside? DON'T. TOUCH. IT.

Things I Learnt The Hard Way - Design Patters Are Used to Name Solution, Not Find Them

1 minute read Published: 2019-06-25

Most of the times I saw design patterns being applied, they were applied as a way to find a solution, so you end up twisting a solution -- and, sometimes, the problem it self -- to fit the pattern.

Things I Learnt The Hard Way - "Right Tool For The Job" Is Just To Push An Agenda

0 minute read Published: 2019-06-25

A lot of times I heard "We should use the right tool for the job!" Most of those times it was just a way to push an agenda.

Things I Learnt The Hard Way - The Right Tool Is More Obvious Than You Think

0 minute read Published: 2019-06-25

Maybe you're in a project that needs to process some text. Maybe you're tempted to say "Let's use Perl" 'cause you know that Perl is very strong in processing text.

But that may still be not the right tool.

Things I Learnt The Hard Way - If Your Data Has a Schema, Use a Structure

2 minute read Published: 2019-06-25

You may be tempted to use a list (or tuple, if your language allows) to keep your data if it's simple -- like, say, only 2 fields. Don't.