Comments by "MrAbrazildo" (@MrAbrazildo) on "Uncle Bob LOVES Functional Programming | Prime Reacts" video.
-
10:54, I agree about the spaces, because they actually aid on visualization. But it's better to not put { } whenever possible, due to "clean code": less typing, faster compilation, saves energy, visually better. The only drawback came with macros (C++ example):
#define my_pairXY(fA, fB) int x = fA(); int y = fB() // Dumb code. It should be int x = fA(), y = fB()
for (blablabla) my_pairXY (getX, getY);
And then y slipped away from the for! But everything has a price to pay. By my experience, it's worth.
12:29, that's my dream. I'm forced to be C++ lawyer, because modern languages are too dumb to take its several good ideas and improve over it. So, with that mindset, nothing better seems to be appearing for the next... decades? I guess I'll take a deep look into Lisp.
13:07, probably means 'obese'.
1