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.
@brainites5 ай бұрын
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.
@jikaikas5 ай бұрын
Im guessing this is more the case for people doing freelance
@sakibshadman14484 ай бұрын
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. 😢
@buc9914 ай бұрын
I also don’t understand this, react is what, 10 years old already? i learned it once like 5 years ago, and using all this time, yeah new packages appear from time to time, but they only make things easier and faster to do.
@rumble19255 ай бұрын
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.
@WickedAyman5 ай бұрын
A similar thing does exist in rails (rails console). So it’s not the killer feature of Elixir
@DanielBergholz5 ай бұрын
I love this gorilla quote about OOP that Jose Valim always says 👌
@rumble19255 ай бұрын
@@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.
@Vreth65 ай бұрын
@@DanielBergholzit s a quote by Joe Armstrong - creator of Erlang 😄 But I think Jose likes the quote very much!
@giullianosep4 ай бұрын
Rails, Laravel and Django also have the same feature.
@Metruzanca5 ай бұрын
4:36 - BRAZIL MENTIONED LETS GO!
@DanielBergholz5 ай бұрын
HUEHUEHUE LETS GOOOO 🇧🇷🇧🇷🇧🇷
@arthuraguiar53825 ай бұрын
🇧🇷🇧🇷🇧🇷
@lifeofdandotme5 ай бұрын
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. :)
@Metruzanca5 ай бұрын
My react burnout lead me to solidjs, but I'm still in javascript hell with stockholm syndrome induced by vercel/serverless.
@DanielBergholz5 ай бұрын
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
@dev1nee695 ай бұрын
I discovered Solid a while ago and have enjoyed using it in a couple projects, have you liked the experience so far?
@albertoarmando67115 ай бұрын
You deserve more subs and views. I discovered you since the laravel/rails video. Greetings from Argentina!
@DanielBergholz5 ай бұрын
Gracias! 🙌
@MarcosVMSoares5 ай бұрын
OOP is not difficult; it just doesn't make much sense. It's a solution to problems created by OOP itself.
@kalist89385 ай бұрын
That’s why I choose Ruby on Rails with Hotwire.
@danilobrun34365 ай бұрын
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.
@DanielBergholz5 ай бұрын
Tamo junto mano! E eu to treinando o ingles nos vídeos rs
@maximillian0005 ай бұрын
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.
@technolung5 ай бұрын
Classes are just syntactic sugar for closures over functions
@Requiem100500Ай бұрын
Types are NOT for intellisense. They're for catching errors at build time that would otherwise be caught in runtime.
@finncheradao5 ай бұрын
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.
@DanielBergholz5 ай бұрын
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
@finncheradao5 ай бұрын
@@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.
@bennetttomato5 ай бұрын
@@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
@Zmeu2135 ай бұрын
How is it different from plain js vscode experience? You will get intelisence and completions without any types
@ovistoica5 ай бұрын
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
@grimm_gen5 ай бұрын
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🤣
@j.r.r.tolkien87245 ай бұрын
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.
@DanielBergholz5 ай бұрын
OOP feels like overly complex in my brain, too much abstractions that are unnecessary
@encapsulatio5 ай бұрын
@@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.
@magiclover9346Ай бұрын
@@DanielBergholzthe trick to OO is actually keep it simple. Never abstract more than you have to. If you are writing class for one function then you are doing it wrong. Also if your inheritance tree is more than 3 deep you're doing it wrong. The best code bases are the ones that apply both OO and Functional concepts. The pit fall is when people subscribe to one coding paradigm.
@saabirmohamed6365 ай бұрын
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...
@padulkemidАй бұрын
genuine question: is gleam worth it from elixir? since its also an FP with types, but I loved elixir's |> pipe syntax T__T
@henriquefigueiredo40775 ай бұрын
I don't like have no types or any type hints. However I like rails, but I hate have no types.
@alveek5 ай бұрын
Gonna watch Primeagen reaction soon
@DanielBergholz5 ай бұрын
👀👀👀
@wonderfuladeyemo68065 ай бұрын
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.
@DanielBergholz5 ай бұрын
@@wonderfuladeyemo6806 Theo already made a reaction to this blog post. It’s called Leaving everything for elixir
@paulobatisttta5 ай бұрын
I'm really excited for the new content!!!
@technologic45753 ай бұрын
i think oop shines when you do game development related projects?
@Joao-nn6gn5 ай бұрын
I've got your point. But have you found a job opp. to work with this stack ?
@DanielBergholz5 ай бұрын
Nope. If you want job opportunities I recommend sticking with JS. I’m using Elixir + Phoenix only for side projects
@fischi91295 ай бұрын
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
@Requiem100500Ай бұрын
You're either functional or dysfunctional 💯
@user-qq7yc1qp8z5 ай бұрын
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.
@DanielBergholz5 ай бұрын
Personally I think having a separate frontend is a waste of time. It takes so much longer to develop new features
@user-qq7yc1qp8z5 ай бұрын
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.
@brunocp114 ай бұрын
@@user-qq7yc1qp8z 💯
@j.r.r.tolkien87245 ай бұрын
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.
@williambuckley56014 ай бұрын
Django with HTMX is truly overpowered. I'm surprised it remains in the shadow of Rails, Laravel and even fringe projects like Phoenix.
@theuser3844 ай бұрын
That stack just mimics a fraction of Phoenix and Laravel powers, htmx is just a single file, not mean for scaling or debuging in most cases. No client side interactions, whereas phoenix has it built-in and laravel has alpine. Python community hasnt earmaked for a fullstack solution , one or two libraries wont make a thing or fill the void, thats why is shunned but AI.
@simpingsyndrome5 ай бұрын
i'm waiting the next 15, if i feel the same i will switch to another alternative
@jmlandi4 ай бұрын
Hey, Daniel! Did you ever tried Rust + Actix? Just curious if it would be a good stack
@jsonkody4 ай бұрын
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.
@Jmart7865 ай бұрын
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.
@DanielBergholz5 ай бұрын
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
@Jmart7865 ай бұрын
@@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).
@infantfrontender61313 ай бұрын
@@Jmart786, Elixir might not be statically typed (yet), but it absolutely is strongly typed. On the other side, JS is a weak dynamic typed
@letcteaplay1205 ай бұрын
Great video! Can't wait for more
@DanielBergholz5 ай бұрын
Thank you!
@arnobioairesdelima861710 күн бұрын
Gostei da análise e do inglês. Congratulations.
@aleksd2865 ай бұрын
My VSCode NEVER works with Elixir
@DanielBergholz5 ай бұрын
Have you tried ZED? I've seen lots of Elixir devs saying it works great!
@aleksd2865 ай бұрын
@@DanielBergholz ZED is even worse. No tailwind support, no elixir surface support, no AI tools to speed up productivity.
@BrunoFerro-sy9en5 ай бұрын
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!
@DanielBergholz5 ай бұрын
Thanks! Currently, I'm working for an Italian company 🙌
@BrunoFerro-sy9en5 ай бұрын
@@DanielBergholz I got it!
@ZockaRocka5 ай бұрын
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?
@DanielBergholz5 ай бұрын
Yes! My great-grandfather was German. It's quite common for Brazilians to have some crazy background story when it comes to last names
@abdellahcodes5 ай бұрын
Ecto is awesome! I wish we had something like that on the JS side
@NikosKatsikanis2 ай бұрын
drizzle
@kxolaclips19755 ай бұрын
what do you think of astro ? make a video about it pls
@DanielBergholz5 ай бұрын
I use it on my website, but I'll rewrite it in the future using Elixir + Phoenix
@jsonkody18 күн бұрын
Well .. this is my story 😅 Elixir is so much better than JS .. and almost everything else 🙌 Joe Armstrong is freakin legend!
@JamesJosephFinn4 ай бұрын
You didn’t try Adonis?
@DanielBergholz3 ай бұрын
I have one entire video dedicated to Adonis on my channel, I have tried it, but Elixir is much better IMO
@zfarahx5 ай бұрын
Good stuff :)
@dmitriyobidin60495 ай бұрын
Why not adonis JS?
@DanielBergholz5 ай бұрын
Adonis is wonderful for those who are still interested in using JS, and I’m not
@smartlazyhustler4635 ай бұрын
What about python ?
@DanielBergholz5 ай бұрын
I don't know why I never considered python and Django, they look awesome!
@haqzel64765 ай бұрын
@@DanielBergholz Is good django, but liveviews from Elixir are a killer feature.
@tofuman95265 ай бұрын
Why not rails
@DanielBergholz5 ай бұрын
I explain in the video
@Ari-lv8ncАй бұрын
you are him !!!
@andremunrra5 ай бұрын
Elixir é vida
@shanemarchan6585 ай бұрын
Im moving away from next and aws.
@bl1ndguy05 ай бұрын
now he'll go to gleam
@DanielBergholz5 ай бұрын
Elixir will have types in the future, no need to migrate to another language
@snatvb5 ай бұрын
what about gleam? it based on erlang vm also
@DanielBergholz5 ай бұрын
Gleam looks cool as well!
@GurbyTheGreat2 ай бұрын
React native > react... You get to ignore a lot of the bullshit that comes with the web, it narrows down a lot. The web is just a shit show imo.
@fikayoadele76792 ай бұрын
So true
@patricioaguirre93884 ай бұрын
stick to angular i guess
@anandkapdi482212 күн бұрын
HTMX ❤
@eduardoaranda43795 ай бұрын
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
@DanielBergholz5 ай бұрын
I know a lot of devs that hate PHP but love Laravel 😅
@werghiaziz29435 ай бұрын
react => function ,backend => classes with designe database you need classes
@DanielBergholz5 ай бұрын
In elixir there are no classes and I still interact with the database
@werghiaziz29435 ай бұрын
you dont need to like something ,classes is for java and backend database
@osseamdevelАй бұрын
Português, please 😮💨
@gabrielnbds5 ай бұрын
first
@ReeteshKumar-rq1dp5 ай бұрын
Bro these thing cant match the dev exp or rela world exp or TS and React lamaoooo
@DanielBergholz5 ай бұрын
Congratulations! Keep using TS then
@arthurzinfe5 ай бұрын
paia, pensei q o canal era conteudo brasileiro
@dyegorodrigo47595 ай бұрын
oxi
@DanielBergholz5 ай бұрын
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
@ignrey5 ай бұрын
@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.
@nero13753 ай бұрын
that's a typical Brazilian shitty behavior as always, not shocking that Daniel moved to english... (faça um favor cara, não aprenda inglês, continue assim! Você é apenas um brasileirinho)
@solvm16525 ай бұрын
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!