Live data from Hacker News

Phoenix 1.7 is View-less

germanvelasco.com

221–224 of 224 posts

Re: Phoenix 1.7 is View-less

#221
post #74

Earlier quoted context omitted.

Completions in Elixir in VSCode are as good as anything if seen in intellij for Java, through that may be a low bar. As for the burden of the mental model, I can’t really speak to that. In Elixir I usually try to think in data shapes or structures which can be matched on by function heads. I only think of types at the edges of the system.

ElixirLS developer here. Nice to hear that people like the autocompletion but comming from .net/java I think it still can do much better. It’s not very context aware and poorly handles code with parse errors

It always works well enough for my purposes.

Re: Phoenix 1.7 is View-less

#222
post #202
post #59

Earlier quoted context omitted.

I really don’t get this, personally. I’ve worked in Java, Ruby, Typescript, Elixir, JS, and a bit of Elm and I literally never feel like I’m missing anything by not having static types in Elixir. This is doubly true with web based projects. What are people looking for that they might get from static types?

Size of projects and lifetime of project. Team members swapping in and out, moving project/repo ownership to another team, ability to make simple changes to a code base without having full understanding, etc.

I'm working on a 7 year old application now with 60+ past contributors, 3-4 teams working in the code base, 3,500 elixir files, and some semi-complex dependencies and I can honestly say that most of it is pretty easy to work on. We have one section that is full of some really thorny code, but that's because it relies heavily on code generation and that's rough in most languages. Onboarding usually only takes about a week, less sometimes.

Re: Phoenix 1.7 is View-less

#223

What's the best way to get started with Phoenix 1.7, for someone with no Elixir experience? Should I learn some Elixir before diving into the Phoenix docs?

I would recommend reading these 2 books in parallel: Elixir in Action by Sasa Juric (one of my favorite programming books in general), and Programming Phoenix from PragProg. And before that, to wet your appetite and get a feel for the Erlang VM, watch a small video by Sasa Juric on youtube: https://www.youtube.com/watch?v=JvBT4XBdoUE

Re: Phoenix 1.7 is View-less

#224
post #223

What's the best way to get started with Phoenix 1.7, for someone with no Elixir experience? Should I learn some Elixir before diving into the Phoenix docs?

I would recommend reading these 2 books in parallel: Elixir in Action by Sasa Juric (one of my favorite programming books in general), and Programming Phoenix from PragProg. And before that, to wet your appetite and get a feel for the Erlang VM, watch a small video by Sasa Juric on youtube: https://www.youtube.com/watch?v=JvBT4XBdoUE

Thanks for these recommendations. I'm now part way through the book, and have been amazed at the clarity with which Sasa writes.

Then today I watched half of the video, and was blown away by how clearly he communicates, even when (or especially when?) he's speaking twice as fast as most people delivering presentations.

Post reply on HN