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 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.
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.
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.
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. 😢
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
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. :)
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.
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.
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...
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?
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.
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 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.
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
@@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.
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.
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.
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 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).
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🤣
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
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
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
@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.
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!