Everlasting student · Zeitwerk · Rails Core · Ruby Hero · Freelance · Life lover

Barcelona
Joined December 2007
My iPhone was about to be 1 year old, and it stopped being detected by payment terminals. Apple picked it at home, diagnosed in no time, and a new brand iPhone is on my way. 🙌
1
0
8
Xavier Noria retweeted
I cleaned up my desktop this morning. So proud of myself now
7
5
52
The Acme:: namespace in CPAN is full of hackerism and creativity like in anywhere else I have seen. One favorite of mine is Acme::Code::FreedomFighter. 👇
1
1
8
If you write Perl without strict, and use Acme::Code::Police, the module deletes your program, that way you avoid mistakes. However, if you additionally use Acme::Code::FreedomFighter, that one deletes Acme::Code::Police. The source code is *epic*: metacpan.org/release/Acme-Co…
0
7
11
Me: Readability, simplicity, KISS 👍 Also me: Could be done in one pass, I am suffering 😬 Me: Not even measurable motherfucker 👍 Also me: Could be done in one pass, I am suffering 😬
3
0
22
So, thanks to this semi-joke, I learned from @asterite that `Enumerable` has `max_of` in Crystal. So this one is more concise, even shorter, and more performant: It does not build an intermediary array, and does everything in one pass. As you'd do it by hand. 💪
0
0
8
Mind you, that is an #AdventOfCode exercise, not even production code. 😂 I’ll leave the KISS version, and call it a day. However, I don’t promise I won’t think about that loop in my death bed.
0
0
3
Show this thread
Xavier Noria retweeted
10 years ago, we had an unmanageable monolith with a database and a server-side rendered web frontend. Now, we have an unmanageable system of NoSQL databases, complex JS frontends, and a death star of micro services.
95
468
2,983
Después de numerosos emails, llego a la conclusión de que el software de @UberEats no sabe sumar tres cantidades, y de que la gente de soporte tampoco.
1
0
5