---
title: "#338: A Comparison Between Adopting Flow or TypeScript"
publication: "JavaScript Weekly"
issue: 338
published_at: "2017-06-09"
canonical_url: "https://javascriptweekly.com/issues/338"
---

#338: A Comparison Between Adopting Flow or TypeScript

This week's JavaScript news — [Read this e-mail on the Web](http://javascriptweekly.com/issues/338)

JavaScript WeeklyIssue 338 — June 9, 2017[A Comparison Between Adopting Flow or TypeScript](https://medium.com/the-thinkmill/adopting-flow-typescript-3549a3a36d51)Both Flow and TypeScript can bring type checking to your code. This post falls in favor of Flow, a TypeScript PM posted [a rebuttal on Reddit.](https://www.reddit.com/r/javascript/comments/6g0k7z/adopting_flow_typescript/dimvaqf/) James Kyle 
[Classes, Complexity, and Functional Programming](https://medium.com/@kentcdodds/classes-complexity-and-functional-programming-a8dd86903747)Where do functions, classes, and objects fit into the big picture of writing simpler code that’s easy to maintain? Kent C. Dodds 
[WebAssembly 101: A Developer's First Steps](http://blog.openbloc.fr/webassembly-first-steps/)An exercise in porting a JavaScript library to WebAssembly (wasm) - perfect for those wanting more than a Hello World introduction. Maxime Rouyrre 
[![Frontend Masters\](https://copm.s3.amazonaws.com/f5ef453a.png)](https://frontendmasters.com/trial/?utm_source=javascriptweekly&utm_medium=email)[👞🕷 [Free For a Limited Time\] Squash Common JavaScript Bugs](https://frontendmasters.com/trial/)Learn from Todd Gardner (Co-founder of TrackJS) on Debugging and Fixing Common JavaScript Errors. In this course, you’ll be armed to find and squash JS bugs faster, and for good. — Free until June 26. Frontend MastersSponsor
[JavaScript’s New '#' Private Class Fields](https://medium.com/the-thinkmill/javascripts-new-private-class-fields-93106e37647a)[Private class fields](https://github.com/tc39/proposal-class-fields#private-fields) (denoted as such: `this.#x`) are now at stage 2 in TC39’s standard process. Here’s a look at why they’re important and what they could mean for JavaScript. James Kyle 
[billboard.js: A Chart Library, based on D3 v4+](https://naver.github.io/billboard.js/)A [fork of C3.js](https://github.com/naver/billboard.js/wiki/Why-we-decided-to-start-billboard.js%3F) focusing on ease of use and working with the latest D3. There are [over 80 examples here](https://cdn.rawgit.com/naver/billboard.js/8413325d/demo/). Naver Corp 
[Angular and RxJS: Create an API Service to Talk to A REST Backend](https://www.sitepoint.com/angular-rxjs-create-api-service-rest-backend/)Jurgen Van de Moere takes an existing Angular 2+ app and adds a REST API service. Learn about RxJS observables and how to mock HTTP services for testing. SitePoint 
[How WebKit Built A New Benchmark To Improve JavaScriptCore](https://webkit.org/blog/7536/jsc-loves-es6/)ARES-6 measures the execution time of JavaScript’s newest features. This post digs deep on it and is very much for the more technical reader. WebKit 


Jobs

- [Full-Stack Developer @ Workday (San Francisco)](https://workday.wd5.myworkdayjobs.com/Workday/job/USA-CA-San-Francisco/Full-Stack-Engineer_JR-16340?utm_source=javascriptweekly&utm_medium=email)Build interactive video learning tools used by the world's largest companies. Work with kind people in TypeScript (browser/Node). [Apply here](mailto:charlie.stigler@workday.com?Subject=I%27m%20your%20next%20Full-Stack%20Developer%21). Workday
- [Front End Engineer at EDITED (London)](https://edited.com/jobs/engineering/?utm_source=javascriptweekly&utm_medium=email)Join us to impact how the world's biggest retailers operate by making a web app with great UX and DX using React, Redux and Glamor EDITED
- [JavaScript Architect at LIQID (Berlin, Germany)](https://www.liqid.de/de/ueber-uns/karriere/javascript-architect-m-w?utm_source=javascriptweekly&utm_medium=email)LIQID is seeking a JavaScript Architect. The ideal candidate will drive the architectural innovation of LIQID's web platform. LIQID Investments GmbH

In Brief

[JavaScript Decorators: What They Are and When to Use Them](https://www.sitepoint.com/javascript-decorators-what-they-are/) tutorial
SitePoint

[Getting Started with Preact: A Step By Step Guide](https://blog.codeinfuse.com/getting-started-with-preactjs-a-step-by-step-guide-f3197f871753) tutorial 
A fast, tiny alternative to React with the same ES6 API.
Bilal Budhani

[Functional Mixins](https://medium.com/javascript-scene/functional-mixins-composing-software-ffb66d5e731c) tutorial 
The latest in Eric Elliott’s popular functional programming series.
Eric Elliott

[An Annotated React 'To Do' App Example](https://hackernoon.com/a-react-todos-example-explained-6df53cdebed1) tutorial 
A good opportunity to show, simply, how React works.
Samer Buna

[An Intro to Web Components (with Otters)](https://meowni.ca/posts/web-components-with-otters/) tutorial 
An introduction for absolute beginners.
Monica Dinculescu

[A Look at Node 8's util.promisify()](http://2ality.com/2017/05/util-promisify.html) tutorial 
`util.promisify` converts a callback-based function to a Promise-based one.
Dr. Axel Rauschmayer

[JavaScript Power Tools: Real-World 'redux-saga' Patterns](http://formidable.com/blog/2017/real-world-redux-saga-patterns/) tutorial
Matt Hink

[A Beginner's Guide to npm, the Node Package Manager](http://www.sitepoint.com/beginners-guide-node-package-manager/) tutorial 
Updated for npm 5.0’s recent release.
Michael Wanyoike and Peter Dierx

[From Node 6 to Node 8: A Real-World Performance Comparison](https://hackernoon.com/upgrading-from-node-6-to-node-8-a-real-world-performance-comparison-3dfe1fbc92a3) opinion
Hacker Noon

[What's The Best Current Book to Learn JavaScript?](https://news.ycombinator.com/item?id=14460429) opinion
Hacker News

[Use AngularJS to Build a Fast and Secure Chat App](https://www.pubnub.com/developers/angularjs/?utm_source=Syndication&utm_medium=Newsletter&utm_campaign=SYN-CY17-Q2-JavaScriptWeekly-June-9) tools 
PubNub gets your data anywhere in <0.25 seconds. It’s so easy with PubNub’s Angular library.
PubNubSponsor

[npm 5.0.2 and npm Gets A New 'Canary' Release](http://blog.npmjs.org/post/161370331310/v502-2017-06-02) tools 
`npm i -g npmc` gets you a canary release as a separate `npmc` binary.
The npm Blog

[Synt: Find Similar Functions and Classes in JS and TypeScript Code](https://github.com/brentlintner/synt) tools
Brent Lintner

[It’s easy to version control your database alongside your application](http://www.red-gate.com/products/sql-development/sql-source-control/?utm_source=javascriptweekly&utm_medium=displayemail&utm_content=version_control_3rd&utm_campaign=sqlsourcecontrol&utm_term=email-25732) tools 
Connect your database to your version control system with SQL Source Control and keep track of every change.
Red GateSponsor

[Elsa: Babel Plugin Replacing Object/Array Literals with Immutables](https://github.com/JonAbrams/elsa) code
Jon Abrams

[Sinergia: Run Expensive Tasks Cooperatively via ES6 Generators](https://github.com/jiayihu/sinergia) code
Jiayi Hu

[angular-xeditable: In-Place Editing for Angular](https://github.com/vitalets/angular-xeditable) code
Vitaliy Potapov

[Wiretie: A Higher Order Component for Preact for Wiring Up Data Sources](https://github.com/synacor/wiretie) code
Synacor

[Browsers Aren't the Only UI – Mobile Apps, Amazon Alexa, Cloud Services](https://www.mongodb.com/blog/post/rest-mobile-app-amazon-alexa-cloud-services?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY17Q2&utm_content=sponsored &utm_medium=display&utm_source=javasciptweekly0609) tutorial
Mongo DBSponsor

Curated by [Peter Cooper](http://twitter.com/peterc) and published by [Cooperpress](https://cooperpress.com/).

Like this? You may also enjoy: [FrontEnd Focus](http://frontendfocus.co/) : [Node Weekly](http://nodeweekly.com/) : [React Status](http://react.statuscode.com/)

[Stop getting JavaScript Weekly](*|UNSUB|*) : [Change email address](*|UPDATE_PROFILE|*) : [Read this issue on the Web](http://javascriptweekly.com/issues/338)

© Cooperpress Ltd. Fairfield Enterprise Centre, Lincoln Way, Louth, LN11 0LS, UK
