Web Development with ReasonML

Type-Safe, Functional Programming for JavaScript Developers

AvJ. David Eisenberg

E-bok
Engelska, 2019

387 kr

Läs direkt i Bokus Reader – eller ladda ned till din enhet

Fler format och utgåvor

Beskrivning

ReasonML is a new, type-safe, functional language that compiles to efficient, readable JavaScript. ReasonML interoperates with existing JavaScript libraries and works especially well with React, one of the most popular front-end frameworks. Learn how to take advantage of the power of a functional language while keeping the flexibility of the whole JavaScript ecosystem. Move beyond theory and get things done faster and more reliably with ReasonML today.

ReasonML is a new syntax for OCaml, a battle-tested programming language used in industry for over 20 years. Designed to be familiar to JavaScript programmers, ReasonML code compiles to highly readable JavaScript. With ReasonML, you get OCaml''s powerful functional programming features: a strong static type system with an excellent type inference engine, pattern matching, and features for functional programming with immutable variables. ReasonML also allows flexibility with opt-in side effects, mutation, and object-oriented programming. ReasonML hits the sweet spot between the pure theoretical world and the laissez-faire approach of JavaScript.

Start using ReasonML''s powerful type system as you learn the essentials of the language: variables and arithmetic operations. Gain expressive power as you write functions with named parameters and currying. Define your own data types, and integrate all these capabilities into a simple web page. Take advantage of ReasonML''s functional data structures with map and reduce functions. Discover new ways to write algorithms with ReasonML''s recursion support. Interoperate with existing JavaScript libraries with bindings, and write reactive web applications using ReasonML in tandem with React. Reinforce concepts with examples that range from short, tightly focused functions to complete programs, and practice your new skills with exercises in each chapter.With ReasonML, harness the awesome power of a functional language while retaining the best features of JavaScript to produce concise, fast, type-safe programs.

What You Need:

You''ll need to have node.js (version 10.0 or above) and npm (version 5.6 or above). Once you install the bs-platform package and fire up a text editor, you''re ready to go. (There are plugins for many popular editors that will make editing easier.)

Produktinformation

Utforska kategorier

Hoppa över listan

Mer från samma författare

Amelia Bellamy-Royds, J. David Eisenberg - SVG Essentials, E-bok

SVG Essentials

Amelia Bellamy-Royds, J. David Eisenberg

E-bok
2014

339 kr

Amelia Bellamy-Royds, J. David Eisenberg - SVG Essentials, E-bok

SVG Essentials

Amelia Bellamy-Royds, J. David Eisenberg

E-bok
2014

339 kr

Hoppa över listan

Du kanske också är intresserad av

Tone Schunnesson - Ultravåld, Inbunden
  • -19%

Ultravåld

Tone Schunnesson

Inbunden, 2026

4,6 utav 5 stjärnor. Totalt antal röster:(5)

209 kr259 kr

Fredrik Backman - Mina vänner, Pocket
  • -30%

Mina vänner

Fredrik Backman

Pocket, 2026

4,0 utav 5 stjärnor. Totalt antal röster:(4)

69 kr99 kr

Lucinda Riley - En dold skönhet, Pocket
  • -30%

En dold skönhet

Lucinda Riley

Pocket, 2026

4,6 utav 5 stjärnor. Totalt antal röster:(18)

69 kr99 kr

Elle Kennedy - Snedsteget, Pocket
  • -22%
Del 2

Snedsteget

Elle Kennedy

Pocket, 2024

4,4 utav 5 stjärnor. Totalt antal röster:(9)

69 kr89 kr

David Szalay - Kött, Inbunden
  • -23%

Kött

David Szalay

Inbunden, 2026

4,5 utav 5 stjärnor. Totalt antal röster:(15)

199 kr259 kr

Elle Kennedy - Spelet, Pocket
  • -22%
Del 1

Spelet

Elle Kennedy

Pocket, 2024

4,5 utav 5 stjärnor. Totalt antal röster:(16)

69 kr89 kr