Re:Thoughts on Elixir, Phoenix and LiveView after 18 months ...
by bobwaycott on Monday August 14, 2023 @04:16AM
(#37118640)
It is not a tool’s fault that, upon providing the relevant material that describes its usage and helps a user learn how to use it, the user ignores that and then blames the tool for not working how they want it to work.
Re:Thoughts on Elixir, Phoenix and LiveView after 18 months ...
by out_of_protocol on Monday August 14, 2023 @05:03AM
(#37118919)
*Assuming naming rules are consistent. After spending 5 years on php, i've never learned its function names and order of arguments. Even daily stuff like `strpos` requires looking at documentation, dozens time per day
Depends. In this case there are definite rule in place which you can learn. Overall, that's definitely language's fault. On other note, Elixir actually very good at consistent naming
- standard library is designed, not meshed up and grew layer by layer like js/php abomination (erlang one is not consistent and it leaks sometimes)
- Pipe operator by its mere presence enforces correct order of arguments, even in 3rd party code