Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, good luck writing a non-trivial Phoenix and/or LiveView app without ever writing `socket = something(socket, …)` or `assigns = assign(assigns, …)`.

I do remember finding the pin operator confusing when I first started learning Elixir, probably because I'd never seen anything like it in another language. But the confusion didn't last long; it's really not hard to understand. I've never felt like the pin operator was bad for readability.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: