vendredi 31 mars 2023
« Spotted on the Haskell documentation about monads, this post gives interesting and visual explanations about applicatives, functors and monads. A little background on functional programming (and Haskell) may be needed, but the drawings should be quite insightful for most of the curious readers.  »
TypeScript 5.0 is out [Laurent Steff]
vendredi 31 mars 2023
« TypeScript 5.0 is now available, with some changes as: standard decorator support (it was experimental before), const parameters, real union enums ...  »
jeudi 5 janvier 2023
« This (old) article explains briefly the Actor Model, a design pattern to achieve concurrency. It discusses also about Erlang, and the "'let if crash' philosophy".  »
jeudi 20 janvier 2022
« Mixin, Module, Observer, ... most of the patterns useful for web application development are accesible on this website, with interactive examples.  »
jeudi 13 janvier 2022
« In this video, Stephan Karpinski, a co-creator of Julia, explores one of the reason why there seems to be a lot of code re-use in Julia community: the multiple dispatch.  »
Free your C++ functions [Laurent Steff]
jeudi 9 décembre 2021
« Klaus Iglberger's own and SOLID (pun intended) approach on Scott Meyers' recommendation in Effective C++: "Prefer non-member, non-friend functions".  »
lundi 10 mai 2021
« This second parts about Mixins introduces 'Mixin classes' in C++, compared with the Curiously Recursive Pattern (CRTP).  »
lundi 10 mai 2021
« Sometimes Design patterns have different names depending on the programming languages, sometimes not. Today I would like to share with you the 'Mixins'. This first part describes well the JavaScript Side.  »
mardi 2 mars 2021
« The journey of what happens from a simple Eigen Vector addition in C++ to assembly. From high level like Template MetaProgramming, Curiously Recurring Template Pattern or traits, to low level like alignment and Streaming SIMD Extensions (SSE) intrinsic functions.  »
mercredi 10 février 2021
« Eric Eliott gives some examples about object composition in JS.  »
Modern C++ design patterns [Laurent Steff]
lundi 25 janvier 2021
« This article, based on two book, one of the 'Gang of Four', another one by Alexandrescu teases us about design patterns with modern C++.  »
Pattern matching in C++ [Laurent Steff]
lundi 14 décembre 2020
« This talk covers quickly a lot of concepts (state machine, visitor pattern, algebraic data types, ...) and libraries (including Michael Park's variant and match). It gives access, for C++ developers who would fancy it, to declarative alternatives to the if-else chains.  »
mercredi 12 juin 2019
« Comment créer un conteneur hétérogène en C++ avec std::variant (c++17) et le parcourir avec std::visit.  »
jeudi 13 décembre 2018
« Un lien de veille de la semaine passée parlait de "type erasure", en mentionnant bien qu'il ne s'agissait pas du pattern C++ du même nom. Ca a piqué ma curiosité et je suis tombé sur ce lien très didactique qui explique ce pattern très intéressant qui permet notamment de stocker dans un même std::vector des objets ne dérivant pas d'une base commune.  »