I've watched several digital piano reviews by this guy, and it is astonishing how to demonstrate any feature he just plays something amazing out of nowhere and effortlessly invidious.snopyta.org/watch?v=xdsKhj1h…
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 😬
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. 💪
I gave an intro talk months ago after my first immersion into the language invidious.snopyta.org/watch?v=M--xDmGv…
It gives a generic overview that may give perspective.
I have a car, a motorbike, and a scooter.
They need regular tire pressure maintenance, and that was a PITA, until I got this lithium-battery powered guy. Now it’s done in nothing.
Made it to the top ten of the @nim_lang leaderboard (problems disclose at 6 AM in Barcelona). Perhaps that will dance a bit with time, but not bad!
Learned Nim for #AdventOfCode. Experience has been really good, it is very concise, high-level, performant. A pleasure.