"Make the Back-End Team Jealous: Elm in Production" by Richard Feldman

  Рет қаралды 35,339

Strange Loop Conference

Strange Loop Conference

Күн бұрын

Пікірлер: 25
@NoAlbatross
@NoAlbatross 9 жыл бұрын
Outstanding. I had wanted to do a talk on Elm for my company's devcon, but showing this video is the way to go. For one thing, no one will believe how easy and pleasant Elm is. You make the point nicely!
@RasmusWriedtLarsen
@RasmusWriedtLarsen 9 жыл бұрын
I feel like this is a great introduction to some of the awesomeness of functional programming to all the bewildered js lovers :) Also really makes me want to check out elm in more depth.
@aion2177
@aion2177 7 жыл бұрын
A video on Time Traveling Debugger can be seen here. kzbin.info/www/bejne/rISWqq2LpJyfbrs. Make sure you first watch "Inventing on principle" by Bret Victor. The elm debugger was greatly improved since then.
@gewalli
@gewalli 9 жыл бұрын
Great talk. Is there any good examples of the type of interop you are talking about (when switching an app from regular js)?
@hondinatos
@hondinatos 8 жыл бұрын
Using ports to talk with javascript like an API: guide.elm-lang.org/interop/javascript.html
@MiracleBlueOfficial
@MiracleBlueOfficial 9 жыл бұрын
In the TodoMVC perf, what versions of each framework was used for the test?
@BorisBarroso
@BorisBarroso 8 жыл бұрын
Instead of why can't be ruby more like elm, just use Elixir
@ZhioN360
@ZhioN360 9 жыл бұрын
The compiler magic doesn't really solve the problem of back-tracing a nonexistent or undefined variable. It's fine in such a simple example, but in complex apps I'll still need to go weed-whacking for half an hour to find out where the problem is. In terms of the UX of the language, it's nowhere near languages like Python or Ruby (Maybe.withDefault 0?). That said, it enforces a really secure way of working that JavaScript currently lacks, which I think is nice.
@qwerty-mz8is
@qwerty-mz8is 8 жыл бұрын
+Byron Houwens Have you even tried Elm or Haskell ? You will never get a undefined variable in runtime. The DX is awesome, it's just different.
@MichaelCampbell01
@MichaelCampbell01 8 жыл бұрын
In elm there ARE no non-existent or undefined variables, so... there's that.
@Fabroskii
@Fabroskii 9 жыл бұрын
First impressions: there is *NO WAY* I am going to start writing code like `first = Maybe.withDefault 0 (List.head numbers)` After watching in full, it turns out this is just advertorial propaganda trying to build support for a new attempt at enforcing a coding standard on top of javascript. All the "bugs" this "amazing" compiler "catches", simply aren't a problem for skilled developers who pay attention to what they are writing. This is just another layer, existing only to try and move software development into the realm of people incapable of thinking like a programmer.
@oliverweiler8113
@oliverweiler8113 9 жыл бұрын
+Fabroskii Kids these days...
@tryptamigo
@tryptamigo 9 жыл бұрын
+Fabroskii that you don't yet understand why "Maybe.withDefault 0 (List.head numbers)" is vastly superior to "numbers[0]" only suggests that you are inexperienced with all the problems it solves.
@Tibaltube
@Tibaltube 9 жыл бұрын
+Fabroskii there's nothing unusual here, with js you can always write: var const = numbers[0] || 0; Though it would be great if compiler could find this potential problem for me.
@ZhioN360
@ZhioN360 9 жыл бұрын
+Dan Neumann The problem is not with the catches the "superior" option will make, the problem is with actually writing such a thing out. In terms of UX, what the hell is a Maybe? And why do I have to declare its withDefault method on something that shouldn't have anything to do with it? Really, it could have used something like "numbers[0]" and invisibly made default values on its own, instead of using cryptic internal systems. I suppose that comes with learning a new language, true, but anything to decrease the learning curve will increase adoption.
@MrPatrikNygren
@MrPatrikNygren 8 жыл бұрын
+Byron Houwens the thing is that "Maybe Int" is a type. So this is for ensuring that the compiler catches the error at compile time and not during run time. I guess you could do a lot of these checks for undefined or null or something, but Maybe is more describing that it Maybe returns a value, it is being more declarative about the insecurity. And all functions using this Maybe Int needs to take the case that it could return a Null value into account. If you forget to handle that case. The compiler will tell you again.
Happiness in the Front-End Using Elm
1:26:27
Jesse Warden
Рет қаралды 7 М.
Elm and Web Components - Richard Feldman
24:38
React Vienna
Рет қаралды 10 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
"Concatenative programming and stack-based languages" by Douglas Creager
40:30
Strange Loop Conference
Рет қаралды 15 М.
Elm in Production: Surprises & Pain Points
35:34
Kevin Yank
Рет қаралды 33 М.
"Transactions: myths, surprises and opportunities" by Martin Kleppmann
41:08
Strange Loop Conference
Рет қаралды 74 М.
Goodbye, useEffect: David Khourshid
26:01
Real World React
Рет қаралды 235 М.
Next-Generation Programming: Rust & Elm • Richard Feldman • GOTO 2020
27:29
Elm Europe 2017 - Richard Feldman - Scaling Elm Apps
59:51
Elm Europe
Рет қаралды 39 М.
"Code is the Easy Part" by Evan Czaplicki
38:26
elm-conf
Рет қаралды 41 М.