by void_mint · 5y ago · 0 comments
I've spent the last year building out a web application for service providers to use to manage disaster recovery software for multiple clients using Elixir, Phoenix, LiveView, and TailwindCSS. We haven't used a single line of JavaScript code, including for the Tailwind components that typically rely on JavaScript to function. LiveView has been able to handle it all.
I wish I could have better integrated tests with the javascript, but considering, the live view suite of tests is really quite good.
In my mind, a pragmatic language doesn't do things like:
1. Have multiple ways to define a function. 2. Handle functions differently depending on how they're defined. 3. Allow silly things like 2 + "2".