Argument/variable naming: Phoenix.Socket vs Phoenix.LiveView.Socket

A %Phoenix.LiveView.Socket{} is not a %Phoenix.Socket{} yet both are called socket.
Would it be better to call a Phoenix.LiveView.Socket struct a live_socket ?

1 Like