LiveCoding 4 - JavaScript to CaffeineScript conversion (ex: npm shell-exec)

Publié le: 05 septembre 2019
sur la chaîne: Code & Optimism
29
2

Live conversion of the npm library "shell-exec" from JavaScript to CaffeineScript. In this video I take a well-written, and seemingly trivially simple JavaScript library and convert it to CaffeineScript. Along the way I not only reduce it's token-count by over 3x, exactly what CaffeineScript is good at, but I also discovered additional structural changes which became obvious as I simplified the code. This is one of the main reasons why I argue it's important to reduce the amount of code it takes to express an idea - the ideal behind why I created CaffeineScript. You reduce the noice so you can see the signal.

Technologies: CaffeineScript, JavaScript / NodeJS (platform)
Tools: SublimeText, Xterm2

Links:
http://CaffeineScript.com
http://github.com/tiaanduplessis/shel...

LiveCoding is about sharing real-world programming with an experienced programmer - me, Shane Brinkman-Davis. I'll be working on various open source projects, live, warts and all.

In association with GenUI.co - a brilliant software, design and product consulting company in Seattle I work with. Learn more: http://genui.co


Sur cette page du site, vous pouvez voir la vidéo en ligne LiveCoding 4 - JavaScript to CaffeineScript conversion (ex: npm shell-exec) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code & Optimism 05 septembre 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 29 fois et il a aimé 2 téléspectateurs. Bon visionnage!