R.lt – are we that lazy?

I was browsing an old code of mine when I saw this line const removeShortSentences = R.compose( R.lt(3), R.length, R.split(".") ) I was surprised by how unreadable the piece with R.lt is, as all it does is to save a few characters. The same logic without R.lt has much clearer intent: const removeShortSentences = R.compose( … Continue reading R.lt – are we that lazy?

Advertisements

CMS.js and other useful Javascript libraries

HTML partials plugin for Webpack It allows easy way to include GoogleAnalytics code inside the Webpack bundle. CMS.js It allows creation of documentation site for Github repos using Github pages. I use docsify for Rambda and Rambdax projects, but this library could eventually replace it if it is as good as advertised. Why did you … Continue reading CMS.js and other useful Javascript libraries