3 ms·
When I wrote "not as easy" I did not mean simply difficult. It just takes a bit more work with Erlang. As for Erlang string handling: [175,95,40,12484,41,95,47
by laut 11y ago
When I wrote "not as easy" I did not mean simply difficult. It just takes a bit more work with Erlang.
As for Erlang string handling: [175,95,40,12484,41,95,47,175] ;)
The good thing is that Erlang and Elixir can benefit from each other. For instance https://hex.pm https://hex.pm which is made in Elixir, but can also be used for Erlang projects.
- vezzy-fnord 11y agoMy point was to ask for clarification as to what said work entails and how it's larger than, e.g. Ruby or another mainstream platform for web applications.
- laut 11y agoI just tried running Chicago Boss. I followed the quick start guide that had a lot of steps and managed to get a 404 error. With Rails there are less steps: gem install rails && rails new path/to/your/new/application && cd path/to/your/new/application && rails server and you just point your browser to http://localhost:3000 http://localhost:3000 and get a nice welcome page for your new skeleton app. Chicago Boss could be improved in that respect.
- vezzy-fnord 11y agoThe reason for the 404 is because by default no action is bound to / in the proplists for the priv/<appname>.routes file. It tells you that quite succinctly. Explicitly heading to /greeting/hello works, as shown in the quickstart. Modifying the routes file is a good next step. Your complaint boils down to there not being a pretty "Welcome" page. That could be addressed, but it's hardly a major concern.
- laut 11y agoNo it is not how it looks it is that the documentation is lacking. The quick start didn't work for me. If it had been a simple page returning HTTP code 200 that just said OK, it would at least be something. Sure you can make it work if you invest more time in it, but the point is that there are other platforms that have taken care to make it easier. In general a lot of people seem to think that documentation is one of the biggest issues with Erlang.