Static in the Front, Dynamic in the Back!

Matthew Machuga (21.Apr.2017 at 14:00, 50 min)
Talk at Lone Star PHP 2017 (English - US)

Rating: 5 of 5

PHP may have some more type hinting abilities than it has in the past, but it's still a very dynamically-typed language. It's an ecosystem in which we are all comfortable. But what about those times we are called upon to build the front end of a new single page application? JavaScript isn't syntactically too far off from the PHP we know, but it is a very different beast. We may very well shoot ourselves in the foot if we accidentally return undefined...or was it NaN?

Maybe this would be a great time to check out Elm - a statically typed, purely functional language that compiles down to JavaScript. Not only will the compiler guarantee our code be free of runtime exceptions and type errors, but it will also provide the kindest, most helpful debugging hints and tips you've ever had the pleasure of reading. Elm frees you up to think about modeling your business logic and having fun while writing code, rather than worrying about what framework you should choose, how to structure your application, and other exhausting choices.

Come see a fast-paced introduction to Elm. We'll walk through some of Elm's most notable features, what the Elm Architecture entails, and learn how to model and implement a simple application with using static types and a functional mindset.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= one plus six

Comments

Rating: 5 of 5

22.Apr.2017 at 18:52 by Michael Robinson (15 comments) via Web2 LIVE

Great talk. I knew nothing about Elm when I walked in the door. The talk helped me understand the basics of how the language worked and what I can use it for. I like how the presenter did not strictly advocate Elm, but encouraged the audience to learn as much as they could about the relevant languages and technologies. Thank you for your efforts.

© Joind.in 2017