Тёмный

From Next.js to Elixir: My burnout story 

Daniel Berg
Подписаться 10 тыс.
Просмотров 7 тыс.
0% 0

Join this channel to get access to perks:
/ @danielbergholz
Check my website: bergdaniel.com.br/
Blog post: dev.to/danielbergholz/from-ne...

Наука

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

 

10 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 112   
@Metruzanca
@Metruzanca 17 дней назад
<a href="#" class="seekto" data-time="276">4:36</a> - BRAZIL MENTIONED LETS GO!
@DanielBergholz
@DanielBergholz 17 дней назад
HUEHUEHUE LETS GOOOO 🇧🇷🇧🇷🇧🇷
@arthuraguiar5382
@arthuraguiar5382 17 дней назад
🇧🇷🇧🇷🇧🇷
@rumble1925
@rumble1925 17 дней назад
One huge advantage of elixir is iex. You fire up your application in the console and have access to the entire program and you can interact with the modules freely. In OOP languages you want a banana but you have to instantiate the gorilla holding the banana and the forest it lives in.
@WickedAyman
@WickedAyman 17 дней назад
A similar thing does exist in rails (rails console). So it’s not the killer feature of Elixir
@DanielBergholz
@DanielBergholz 17 дней назад
I love this gorilla quote about OOP that Jose Valim always says 👌
@rumble1925
@rumble1925 17 дней назад
@@WickedAyman I haven't used Ruby but I can imagine there is still parts of the program that are hard to reach. Maybe I'm wrong but I haven't seen anything work as smoothly as iex personally. Elixir is all modules and data, you have your entire application easily accessible and debuggable.
@Vreth6
@Vreth6 16 дней назад
@@DanielBergholzit s a quote by Joe Armstrong - creator of Erlang 😄 But I think Jose likes the quote very much!
@giullianosep
@giullianosep 5 дней назад
Rails, Laravel and Django also have the same feature.
@MrXperx
@MrXperx 16 дней назад
Why does new frameworks cause burnout? No serious company is changing their tech stack every 6 months, even those which have JS/TS as major parts of that stack. It's only tech youtubers and hobby developers who chase the latest trends. It doesn't matter if NextJS gets an update or SolidJS is a thing. Companies have been using React with all its quirks and pitfalls in very large projects for a decade now. No one is rewriting millions of lines of code just some new framework dropped.
@brainites
@brainites 16 дней назад
Just yesterday a conversation came up about rewriting a 6 year old react application. Everyone kicked against it because the application is extremely complex and rewriting will take months. Some quirks and pitfalls will be fixed and engineers will go about other pressing concerns.
@jikaikas
@jikaikas 16 дней назад
Im guessing this is more the case for people doing freelance
@sakibshadman1448
@sakibshadman1448 4 дня назад
That's why we have a mix mash mess of every single pattern in a single react repo. It's impossible to navigate the repo and understand what's going on for a noob like me. May b it's skill issue. 😢
@albertoarmando6711
@albertoarmando6711 17 дней назад
You deserve more subs and views. I discovered you since the laravel/rails video. Greetings from Argentina!
@DanielBergholz
@DanielBergholz 17 дней назад
Gracias! 🙌
@Metruzanca
@Metruzanca 17 дней назад
My react burnout lead me to solidjs, but I'm still in javascript hell with stockholm syndrome induced by vercel/serverless.
@DanielBergholz
@DanielBergholz 17 дней назад
At this point, I gave up completely on JS. Every day I receive a bunch of comments saying "have you tried X or Y? they are amazing!" and my answer is always the same: I'm not interested in JS anymore, no matter how "revolutionary" the new tool sounds
@dev1nee69
@dev1nee69 14 дней назад
I discovered Solid a while ago and have enjoyed using it in a couple projects, have you liked the experience so far?
@paulobatisttta
@paulobatisttta 12 дней назад
I'm really excited for the new content!!!
@letcteaplay120
@letcteaplay120 16 дней назад
Great video! Can't wait for more
@DanielBergholz
@DanielBergholz 15 дней назад
Thank you!
@lifeofdandotme
@lifeofdandotme 15 дней назад
I've been using Elixir at work for the last year or so. We are using the Ash Framework and I have to say that I absolutely love it. Definitely recommend. :)
@danilobrun3436
@danilobrun3436 16 дней назад
Parabéns mano te sigo desde o video que você iria desistir do ecossistema JS kkkkk. É muito bom vê BR fazendo conteúdo em inglês, para quem estuda a língua é bom para treinar o listening.
@DanielBergholz
@DanielBergholz 16 дней назад
Tamo junto mano! E eu to treinando o ingles nos vídeos rs
@williambuckley5601
@williambuckley5601 3 дня назад
Django with HTMX is truly overpowered. I'm surprised it remains in the shadow of Rails, Laravel and even fringe projects like Phoenix.
@kalist8938
@kalist8938 17 дней назад
That’s why I choose Ruby on Rails with Hotwire.
@maximillian000
@maximillian000 17 дней назад
Think you would have loved Laravel with Livewire combination. But I'm happy you actually chose Phoenix, since its interesting to see your take on implementing an actual project on it.
@saabirmohamed636
@saabirmohamed636 16 дней назад
i went throught the same...the OOP is also functions but just put into sections and boxes...sort of managed in the OOP way it all functions. but golang , rust ...they just made perfect sense...and just manage your files...
@abdellahcodes
@abdellahcodes 16 дней назад
Ecto is awesome! I wish we had something like that on the JS side
@ZockaRocka
@ZockaRocka 17 дней назад
Thanks for the great video! Quick Question: Since your last name is german i wondered if you got some german background. Are parts of your family german?
@DanielBergholz
@DanielBergholz 17 дней назад
Yes! My great-grandfather was German. It's quite common for Brazilians to have some crazy background story when it comes to last names
@henriquefigueiredo4077
@henriquefigueiredo4077 17 дней назад
I don't like have no types or any type hints. However I like rails, but I hate have no types.
@jmlandi
@jmlandi 5 дней назад
Hey, Daniel! Did you ever tried Rust + Actix? Just curious if it would be a good stack
@jsonkody
@jsonkody 4 дня назад
you cant really compare it with Elixir/Erlang .. there is not anything like it. maybe look on why Beam is so different and amazing ;) Rust + Actix would be 'just' your normal server.
@finncheradao
@finncheradao 17 дней назад
Using Elixir as an example to claim that types aren't needed for a good LSP is flawed because Elixir compiles to Erlang, which is strongly typed. The function you cited as an example includes an "@spec" annotation that indicates the function's return type. This is how types are declared in Erlang, with such comments being called "EDoc." "EDoc" is similar to "JSDoc" in JavaScript, which also serves to declare types. While Elixir abstracts these types, they still exist even if they are not visible to the user.
@DanielBergholz
@DanielBergholz 17 дней назад
I was trying to illustrate from the perspective of the developer. I don't have to write any types and the LSP is great. That's all
@finncheradao
@finncheradao 17 дней назад
@@DanielBergholz Elixir has done an excellent job with its LSP, definitely surpassing that of Erlang. Although I must admit I'm not a big fan of Elixir and prefer languages like Gleam, which, despite being new, show great potential. Both Elixir and Gleam highlight how remarkable the BEAM is. Created in 1986, it continues to solve modern problems more efficiently than many current technologies, such as Node. I'm looking forward to the next Elixir video.
@bennetttomato
@bennetttomato 17 дней назад
⁠@@finncheradaogo ahead and tell us 36 real things you’ve shipped in Gleam, which you’re such a fan of. We’re all waiting eagerly for your response
@Zmeu213
@Zmeu213 16 дней назад
How is it different from plain js vscode experience? You will get intelisence and completions without any types
@ovistoica
@ovistoica 16 дней назад
Still the point remains that you don’t need types for a good LSP experience Clojure which doesn’t have types, still has a good LSP experience and so is Python, where you can go full no types also
@j.r.r.tolkien8724
@j.r.r.tolkien8724 16 дней назад
I literally cannot fathom OOP as well. It just never clicked. I think it's a talent that people are born with. The propensity to make sense of OOP.
@DanielBergholz
@DanielBergholz 16 дней назад
OOP feels like overly complex in my brain, too much abstractions that are unnecessary
@encapsulatio
@encapsulatio 11 дней назад
@@DanielBergholz You can only learn OOP that actually makes sense if you try to learn Smalltalk(Pharo is the most mature take on modern Smalltalk). Java and all other popular languages bastardize OOP and make hybrid implementations of OOP where they bring the legacy and baggage of their language and mix it with OOP.
@zfarahx
@zfarahx 17 дней назад
Good stuff :)
@technolung
@technolung 17 дней назад
Classes are just syntactic sugar for closures over functions
@alveek
@alveek 17 дней назад
Gonna watch Primeagen reaction soon
@DanielBergholz
@DanielBergholz 17 дней назад
👀👀👀
@wonderfuladeyemo6806
@wonderfuladeyemo6806 16 дней назад
When I saw his article title, I was like omg I have seen a reaction to this article but I couldn't remember if it was Theo or Primeagen.
@DanielBergholz
@DanielBergholz 15 дней назад
@@wonderfuladeyemo6806 Theo already made a reaction to this blog post. It’s called Leaving everything for elixir
@j.r.r.tolkien8724
@j.r.r.tolkien8724 16 дней назад
I feel you brother. I have the same reason for not using PHP the $... 😂 It really makes difference when you have a lot of variable.
@kxolaclips1975
@kxolaclips1975 9 дней назад
what do you think of astro ? make a video about it pls
@DanielBergholz
@DanielBergholz 9 дней назад
I use it on my website, but I'll rewrite it in the future using Elixir + Phoenix
@Joao-nn6gn
@Joao-nn6gn 16 дней назад
I've got your point. But have you found a job opp. to work with this stack ?
@DanielBergholz
@DanielBergholz 16 дней назад
Nope. If you want job opportunities I recommend sticking with JS. I’m using Elixir + Phoenix only for side projects
@user-qq7yc1qp8z
@user-qq7yc1qp8z 16 дней назад
I don’t know, I still prefer to just have a react/vue with vite and a separate backend. And you can pick GO for a backend to chill from typescript a little bit.
@DanielBergholz
@DanielBergholz 16 дней назад
Personally I think having a separate frontend is a waste of time. It takes so much longer to develop new features
@user-qq7yc1qp8z
@user-qq7yc1qp8z 16 дней назад
Well, sometimes you have also mobile app, big teams, microservices, and if you have your own template for a backend it does not take much more time to add a new endpoint, copy paste, change validation schema and orm model and you good to go.
@brunocp11
@brunocp11 4 дня назад
​@@user-qq7yc1qp8z 💯
@simpingsyndrome
@simpingsyndrome 14 дней назад
i'm waiting the next 15, if i feel the same i will switch to another alternative
@jorgemartin3057
@jorgemartin3057 16 дней назад
Im curious why do you think you have a burnout with JS in particular? I understand that it has a low of downsides, but interestingly enough i think that as a language, elixir still has a lot of the downsides that JS has.
@DanielBergholz
@DanielBergholz 16 дней назад
What downsides Elixir and JS have in common? My biggest complaint about JS is the instability and the lack of a big batteries included framework
@jorgemartin3057
@jorgemartin3057 15 дней назад
@@DanielBergholz while I don't have experience with elixir, my understanding is that it is dynamic and weakly typed (which in my eyes causes the vast majority of issues with js).
@grimm_gen
@grimm_gen 17 дней назад
For me it's the other way around, Starting my programming journey deep into ruby on rails, and Rails whole frontend pisses me off tbh. I like my React Native waayyy better🤣
@andremunrra
@andremunrra 16 дней назад
Elixir é vida
@fischi9129
@fischi9129 15 дней назад
Idk, if the main reason you use types is intellisense, we are in a sad state, I think intellisense is the happy accident of types, not the main feature. their main feature is confidence that if the app runs, it runs. It's the confidence to don't have 400 runtime errors
@MarcosVMSoares
@MarcosVMSoares 16 дней назад
OOP is not difficult; it just doesn't make much sense. It's a solution to problems created by OOP itself.
@BrunoFerro-sy9en
@BrunoFerro-sy9en 16 дней назад
Great work bro, you should looks for job outside the Brazil there a lot opportunities and if you would like work as free lancer there is much more!
@DanielBergholz
@DanielBergholz 16 дней назад
Thanks! Currently, I'm working for an Italian company 🙌
@BrunoFerro-sy9en
@BrunoFerro-sy9en 16 дней назад
@@DanielBergholz I got it!
@smartlazyhustler463
@smartlazyhustler463 17 дней назад
What about python ?
@DanielBergholz
@DanielBergholz 17 дней назад
I don't know why I never considered python and Django, they look awesome!
@haqzel6476
@haqzel6476 17 дней назад
@@DanielBergholz Is good django, but liveviews from Elixir are a killer feature.
@aleksd286
@aleksd286 17 дней назад
My VSCode NEVER works with Elixir
@DanielBergholz
@DanielBergholz 17 дней назад
Have you tried ZED? I've seen lots of Elixir devs saying it works great!
@aleksd286
@aleksd286 15 дней назад
@@DanielBergholz ZED is even worse. No tailwind support, no elixir surface support, no AI tools to speed up productivity.
@shanemarchan658
@shanemarchan658 17 дней назад
Im moving away from next and aws.
@dmitriyobidin6049
@dmitriyobidin6049 16 дней назад
Why not adonis JS?
@DanielBergholz
@DanielBergholz 16 дней назад
Adonis is wonderful for those who are still interested in using JS, and I’m not
@bl1ndguy0
@bl1ndguy0 16 дней назад
now he'll go to gleam
@DanielBergholz
@DanielBergholz 16 дней назад
Elixir will have types in the future, no need to migrate to another language
@tofuman9526
@tofuman9526 15 дней назад
Why not rails
@DanielBergholz
@DanielBergholz 15 дней назад
I explain in the video
@snatvb
@snatvb 16 дней назад
what about gleam? it based on erlang vm also
@DanielBergholz
@DanielBergholz 16 дней назад
Gleam looks cool as well!
@gabrielnbds
@gabrielnbds 17 дней назад
first
@werghiaziz2943
@werghiaziz2943 16 дней назад
react => function ,backend => classes with designe database you need classes
@DanielBergholz
@DanielBergholz 16 дней назад
In elixir there are no classes and I still interact with the database
@eduardoaranda4379
@eduardoaranda4379 16 дней назад
Man, php is ugly but laravel is almost perfect. It also has (not so great) types but they do the job and intellisense. It’s also stable. I don’t like php at all but it gives me the most productivity and that’s all that matters
@DanielBergholz
@DanielBergholz 16 дней назад
I know a lot of devs that hate PHP but love Laravel 😅
@werghiaziz2943
@werghiaziz2943 16 дней назад
you dont need to like something ,classes is for java and backend database
@ReeteshKumar-rq1dp
@ReeteshKumar-rq1dp 16 дней назад
Bro these thing cant match the dev exp or rela world exp or TS and React lamaoooo
@DanielBergholz
@DanielBergholz 16 дней назад
Congratulations! Keep using TS then
@arthurzinfe
@arthurzinfe 17 дней назад
paia, pensei q o canal era conteudo brasileiro
@dyegorodrigo4759
@dyegorodrigo4759 17 дней назад
oxi
@DanielBergholz
@DanielBergholz 17 дней назад
Migrei pro inglês faz 3 semanas, foi necessário pra aumentar o alcance do canal. Fora que eu trabalho pra gringa faz quase 3 anos, era inevitável eu converter pro inglês alguma hora
@ignrey
@ignrey 17 дней назад
@DanielBergholz You could be a sort of ambassador for brazilian dev community and ecosystem. I'm Argentinean from the northeast and even though I understand almost everything a brazilian could say, never search for anything in Portuguese. We need to find our place in the world and not pushed ourselves into a corner. People already decided which one is the global lang and english is easy and simple af.
@solvm1652
@solvm1652 11 дней назад
FP clicked for me after wwatching this video Valim's Keynote: Gang of None? Design Patterns in Elixir - José Valim | ElixirConf EU 2024. Hilariously, it also make OOP make sense for the first time!
@DanielBergholz
@DanielBergholz 11 дней назад
This keynote was AWESOME 🔥
Далее
The JavaScript problem: Why Rails and Laravel won
33:22
From $erverless To Elixir | Prime Reacts
22:34
Просмотров 96 тыс.
220 volts ⚡️
00:16
Просмотров 392 тыс.
I Used To Hate Next.js…
24:28
Просмотров 42 тыс.
The Cold Application Approach Is DEAD For Developers
25:47
This Should Have Been In CSS Years Ago
1:57
Просмотров 25 тыс.
The problem of running React.js on the server
21:44
Просмотров 4,7 тыс.
Why I still choose next.js
19:39
Просмотров 17 тыс.
Adonis is the best Rails for JavaScript
12:31
Просмотров 6 тыс.
How I structure my next.js applications
23:19
Просмотров 17 тыс.
Falling In Love With Gleam
33:26
Просмотров 191 тыс.
Why is Vite Everywhere? | Evan You
38:32
Просмотров 30 тыс.
FullHD в 8К БЕЗ ПОТЕРЬ? | РАЗБОР
20:42
Lid hologram 3d
0:32
Просмотров 8 млн