Le Blog · En accès libreThe Blog · Free to read
Ruby, sans jargon Ruby, without the jargon
Des articles courts et gratuits sur les mécanismes de Ruby — pour défricher avant de plonger dans les numéros. Short, free articles on Ruby's mechanisms — to clear the ground before diving into the issues.
- 2026-06-19 Blocks & yield en Ruby, enfin clairsBlocks & yield in Ruby, finally clear Le bloc est partout en Ruby : each, map, times. Mais qu'est-ce qu'un bloc, au juste, et que fait yield ? Une explication sans détour, avec du code.Blocks are everywhere in Ruby: each, map, times. But what is a block, exactly, and what does yield do? A no-nonsense explanation, with code.
- 2026-06-19 Le duck typing en Ruby, expliqué simplementDuck typing in Ruby, explained simply « Si ça cancane comme un canard… » En Ruby, on ne demande pas de quel type est un objet, mais s'il sait répondre au message. Voici pourquoi, et ce que ça change."If it quacks like a duck…" In Ruby you don't ask what type an object is, but whether it answers the message. Here's why, and what it changes.