19 karma · joined May 3, 2022 (4y ago) · 9 submissions
comment 4w ago · link · parent
I keep getting excited because I can ask it questions and learn so much from it, but then I realize that a lot of what I'm learning is specific technical knowledge that I don't really need anymore.
That said, the important stuff in building systems has never been the coding. It's the wisdom to organize the system in such a way that it works well and is changeable. AI is still really bad at this. But it's super good at the for loops and if statements, which is actually the easy stuff.
comment 1y ago · link · parent
I went to a meeting a few years ago with a big investment company. They had a team of 30 people trying to figure out how to reliably read financial documents to get people's financial information to serve it back to them. At this startup we spent a ton of time doing similar things, and paying another company to read our user's financial documents so we could get their info.
My point is, even if you incorporated and begged I'm not sure you'd have success.
comment 1y ago · link · parent
I've got my dev environment set up on my new Macbook Pro and everything is working perfectly and I'm very happy.
comment 1y ago · link · parent
I was part of a successful large project where we did our own SSR implementation, and we were always tinkering with it. It wasted a lot of time. Next.js "just worked". I've used Next with the pages router on two significant and complex projects and it was a great choice. I have no regrets choosing it.
comment 1y ago · link · parent
Super simple but it felt like a big accomplishment to get that far.
comment 4y ago · link · parent
First off, Phoenix fixes pretty much everything I didn't like about Ruby on Rails and when I need to write an API for a weekend side project that I need to turn out quickly, I'll choose it without question. If you want to use a convention-based framework that includes support for migrations and instant DB mapping, it works well. The documentation is excellent.
I personally would not choose it for a large enterprise codebase, or for something with a rich Ux that you can't control the designs for (ie. you have a Ux team that calls all the shots).
LiveView is interesting. I have found certain things overly difficult to do that are easy in the js-based frameworks. For instance, a UI that has a list of children that you want to add and remove in memory and then save at the end. Obviously you can do this, and I've done it a lot, but there are quirks with the interaction of changesets, ecto, and your form that make it tricky for newcomers. I think the tight coupling between changesets and the form gets strange as soon as the page gets complicated. Schemaless changesets work well for this, but this is more to add to the learning curve.
Understanding the interaction between LiveComponents and function components will be tricky for newcomers as soon as you are past trivial implementations. Knowing where the memory is stored and what a genserver is is super important, but not intuitive. Targeting a specific LiveComponent to receive events if you have one that has another as a child isn't intuitive. Unit testing a LiveComponent and a function component is pretty sweet, but there's a learning curve there and I ran into a few frustrating bugs that didn't help (they were fixed after a few weeks).
There's a lot of these examples. The interaction with client-side js has evolved a lot this year, but it's tricky in my opinion.
I have personally witnessed experienced, talented and smart Elixir developers struggle with LiveView. The learning curve is real.
I know Elixir people love this stuff deeply, but I don't think LiveView will win in the marketplace of ideas, even if Elixir and Phoenix gain traction. People who aren't already bought in to this stack won't be willing to build complex websites this way. I know Chris and Jose are reading this thread, and I have deep respect for their accomplishment and talent, but LiveView isn't going to be for me.