Тёмный

Elm Europe 2017 - Richard Feldman - Scaling Elm Apps 

Elm Europe
Подписаться 2,6 тыс.
Просмотров 39 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@chrisanderson687
@chrisanderson687 3 года назад
That feeling when the video is zoomed in on the speaker and multiple slides go by that you CANT SEE.... arghhhh!!! Why oh why don't the people that film these talks learn not to do that?!?!?
@AshishNegi1618
@AshishNegi1618 5 лет назад
Tips in talk : * Organize bigger functions into smaller functions. * Helper functions. * Narrow your types in functions. Scaling Model: * Write functions taking extensible records. Views: * Have reusable components : Html.map and Cmd.map * Use simplest api possible.
@sbditto85
@sbditto85 7 лет назад
Great talk! side note: please just leave the view where I can see the slides. You can change which camera angle is present on the side, but missing information in the slides when he is referencing it is really frustrating.
@thrillscience
@thrillscience 7 лет назад
*I* like seeing Richard Feldman. Just give a link to the slides in the comments.
@damianjones4982
@damianjones4982 6 лет назад
Thank you Richard you are like the Marvin Minsky of ELM, you really make complex ideas simple.
@striker865
@striker865 5 лет назад
Such a great video, super love Elm. Excited to see how fast the Elm community is growing :):)
@ASalimDoost
@ASalimDoost 7 лет назад
Great talk. It's definitely helpful if you want to force your elm app to scale ;-) 53:50 That's not right. You can end up with the same kind of bugs in Elm if your model had "dropdownOpen" as a flag for each component. And on the other side, it would be theoretically impossible to get the error in React/Redux as well if you also had one single flag in the model instead of having it in the local-state. So it's actually the same. Feel free to correct me in case I got it wrong.
@dycan0716
@dycan0716 7 лет назад
Great talk. I learned a lot. Thank you.
@kahnfatman
@kahnfatman 2 года назад
React hooks is a nightmare because it introduces hidden state inside apparently "functional" component..
@majorhumbert676
@majorhumbert676 11 месяцев назад
Class components have this problem too.
@majorhumbert676
@majorhumbert676 11 месяцев назад
I've been trying to tidy up an existing, large Vue codebase by adding Typescript, ESLint rules, prettier, and written programming guidelines; yet no matter how many rules I add, our programmers are to come up with the most insane patterns that makes the app hopelessly difficult to maintain. I am curious if an Elm app would scale better with a large team.
@heldersribeiro3676
@heldersribeiro3676 7 лет назад
I thought the "fractal" architecture was the way to go for scaling Elm apps. This is the first time I see it described as OOP-inspired. Will have to ruminate on that...
@noahjohnson2611
@noahjohnson2611 5 лет назад
I wish there were more than one thumb for me to "up" on this video
@virkony
@virkony 3 года назад
It looks great. But I didn't got how can you write type signature for clearUser user = clearContact user >> clearAddress user ? In Haskell rio style there is a way to intersect type-classes. But how do you intersect extensible records in Elm?
@samehghanmi4487
@samehghanmi4487 7 лет назад
why do you have to move the camera at all ??!
@user-ne6jt5gj3b
@user-ne6jt5gj3b 6 лет назад
hehehe :D
@ilyabobyr
@ilyabobyr 6 лет назад
Disclaimer: I do not use Elm, so there might be some technical details that I overlook. When every "component" in a large application would have different API - it would actually make thing more complex, it seems. If every component would have a model, and an updated, and a view - it makes things simpler. Not necessarily the by reducing the number of lines of code, but in terms of overall complexity. Exactly like it is described in the beginning of the talk, when it goes about how we should split complex model, by adding lines of code, but making things easier to understand. And the problem with narrower types seems to be solvable, by using model and msg types special to the component. Another thing that I noticed is that with extensible records - that is duck typing. With increasing scale it would make name collisions more and more likely. Especially, if we are talking about reusable components. So, it looks like a bad design decision.
@sbditto85
@sbditto85 6 лет назад
As someone who uses Elm a lot (work and fun) his talk is spot on and often the approach to designing an app in Elm is very different then designing an app in another language/framework. Its hard to describe it really. I've done the everything has a Model, View, and Update and it just became a big PITA.
@ilyabobyr
@ilyabobyr 3 года назад
​@@jgt_ I assume you disagree with something I wrote? If you could point it out we might have a conversation. I assume our experiences are distinct, if you assume I have none. Though, if you think that everything I said is just stupid, then a constructive conversation is unlikely.
@bluesprodeep2079
@bluesprodeep2079 3 года назад
I guest the point is to get complicate things flat. That's a way to handle the complexity of big applications. I like it.
@syllogism5843
@syllogism5843 4 года назад
What an annoying collection of camera angles.. Talk was very interesting however
@bocckoka
@bocckoka 6 лет назад
what is an Lmap? (sorry)
@LizardanNet
@LizardanNet 7 лет назад
Elm is such a toy language.
@psuedoFRE4K
@psuedoFRE4K 7 лет назад
Its a toy language that leads to better code quality with little thought (especially when working in teams). Still a toy language (for now) - but it has its perks.
@psuedoFRE4K
@psuedoFRE4K 7 лет назад
How else are you going to convince javascript developers who are happy with writing bad code to change their processes? Evan has studied the niche that Elm aims to fit in very well - and dumbing down documentation into easier to swallow parts for the sake of wider adoption is the best way to change how people develop for the web overall.
@JoelClermont
@JoelClermont 7 лет назад
elm-lang.org/docs/records#record-types
@gabriela.ts_
@gabriela.ts_ 6 лет назад
I am sure that you have never used Elm for a real app, otherwise would not say that
@quorkquork
@quorkquork 6 лет назад
Bad troll
Далее
"Make Data Structures" by Richard Feldman
53:13
Просмотров 29 тыс.
From Rails to Elm and Haskell - Richard Feldman
52:18
"Teaching Elm to Beginners" by Richard Feldman
32:01
Просмотров 12 тыс.
Mario Rogic  - Elm as a Service
39:41
Просмотров 6 тыс.
Elm at Scale: More Surprises, More Pain Points
29:09
Просмотров 22 тыс.
Elm Europe 2017 - Evan Czaplicki - The life of a file
47:02
Elm in production by Richard Feldman
53:07
Просмотров 10 тыс.
Elm in Production: Surprises & Pain Points
35:34
Просмотров 33 тыс.
Kris Jenkins - Slaying a UI Antipattern
29:01
Просмотров 8 тыс.
"Building a Toolkit for Design" by Matthew Griffith
32:25
Developer Happiness on the Front End with Elm
45:49
Просмотров 43 тыс.