small medium large xlarge

Web Development with ReasonML, in beta

October 31, 2018

Happy Halloween! There's plenty of tricks out there already (cough, JavaScript), how about a treat instead?

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. ReasonML hits the sweet spot between the pure theoretical world and the laissez-faire approach of common JavaScript.

Have you learned a new programming language this year? If not, there's still time. Grab a copy of Web Development with ReasonML: Type-Safe, Functional Programming for JavaScript Developers today, now in beta from pragprog.com/book/reasonml.

/\ndy

Sea GL Conference Nov 9-10

In Seattle? We're proud to be a media sponsor for SeaGL. SeaGL is a grassroots technical conference dedicated to spreading awareness and knowledge about the GNU/Linux community and free/libre/open-source software/hardware. Our goal for SeaGL is to produce an event which is as enjoyable and informative for those who spend their days maintaining hundreds of servers as it is for a student who has only just started exploring technology options. More information at https://seagl.org.

Web Development with ReasonML: Type-Safe, Functional Programming for JavaScript Developers

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.

Now in beta from pragprog.com/book/reasonml.

Upcoming Author Appearances

  • 2018-11-03 VM Brasseur, freenode #live
  • 2018-11-09 VM Brasseur, SeaGL
  • 2018-11-10 Andy Lester, Milwaukee Code Camp
  • 2018-11-22 James O. Coplien, Val Research, Kōenji, Tokyo, Japan
  • You Could Be a Published Author

    Is there a tech topic you are deeply passionate about and want to share with the rest of us? You could become a published Pragmatic Bookshelf author! Take a look at our pragprog.com/write-for-us page for details, including our 50% royalty (yes, for real!) and world-class development editors.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

    Coming Soon:

    • Small, Sharp, Software Tools: Harness the Combinatoric Power of Command-Line Tools and Utilities, in beta
    • Modern Systems Programming with Scala Native: Write Lean, High-Performance Code without the JVM, in beta
    • Programming WebAssembly with Rust: Unified Development for Web, Mobile, and Embedded Applications, in beta

    Recently Released:

    Thanks for your continued support,

    Andy Hunt Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com