목록weekly (10)
신나는 개발...
https://marmelab.com/blog/2018/09/26/functional-programming-3-functor-redone.html [ Functional Programming in JavaScript, Part 3: Introduction to Functors and Monads `Functors` and `Monads` may sound frightening, they are powerful concepts that can help developers on a day-to-day basis. marmelab.com ](https://marmelab.com/blog/2018/09/26/functional-programming-3-functor-redone.html) Exchanging T..
https://medium.com/javascript-scene/master-the-javascript-interview-what-is-functional-programming-7f218c68b3a0 Master the JavaScript Interview: What is Functional Programming? “Master the JavaScript Interview” is a series of posts designed to prepare candidates for common questions they are likely to encounter… medium.com “Master the JavaScript Interview” is a series of posts designed to prepar..
https://marmelab.com/blog/2018/04/18/functional-programming-2-monoid.html Functional Programming in JavaScript, Part 2: The Monoid What do number addition, string concatenation, array concatenation, and function composition have in common? They are all monoids, and they have very interesting properties. marmelab.com What is the similarity between number addition, string concatenation, array conc..
https://marmelab.com/blog/2018/03/14/functional-programming-1-unit-of-code.html Functional Programming in JavaScript, Part 1: The Unit This gentle introduction to functional programming explains pure functions, currying, and composition. Easy peasy! marmelab.com A monad is just a monoid in the category(타입) of endofunctors. 아무것도 안하는 인자를 넘겼을 때 자기 자신이 튀어나온다면 monad array.map(a => a) FP Why Bother Wi..
https://www.sitepoint.com/currying-in-functional-javascript/ A Beginner's Guide to Currying in Functional JavaScript — SitePoint M. David Green demonstrates the concept of currying — a useful technique, to partially evaluate functions and make your functional JavaScript more readable. www.sitepoint.com More Readable And More Flexible One of the advantages touted for functional JavaScript is shor..
필요에 의해 설정파일을 사용하는 몇개의 다른 방법이 있다. 어떻게 바벨을 설정하는지 더 원한다면 상세 가이드(configure Babel)를 참조해라 이제 babel.config.json이라는 파일을 아래와 같이 만들어보자 { "presets": [ [ "@babel/env", { "targets": { "edge": "17", "firefox": "60", "chrome": "67", "safari": "11.1" } } ] ] } 이제 env preset은 오직 우리의 타겟 브라우저에서 사용이 불가능한 기능에 대한 변환 플러그인만 불러온다. 이제 폴리필을 봐보자... Polyffill 🚨 바벨 7.4.0부로 이 패키지(@babel/polyfill)는 권장되지 않고 core-js/stable과 rege..