Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out-of-the-box experience. #879

Open
agirorn opened this issue Jul 2, 2022 · 0 comments
Open

Out-of-the-box experience. #879

agirorn opened this issue Jul 2, 2022 · 0 comments

Comments

@agirorn
Copy link

agirorn commented Jul 2, 2022

First of all, I´d like to apologize since This is probably not the place for this but I did not know where to place this.

I have to say the out-of-the-box experience of ELM is far from optimal. I´m not saying this offends anyone, but as someone who is trying to lean elm and tinker with it, I find that nothing really works out of the box.

I install elm and run mkdir elm-test && cd elm-test && elm init && elm make, then I get treated with a message telling me to go to the guides copy the first code I get, and save it into src/Main.elm and run elm make src/Main.elm this, of course, fails with

I need the module name to be declared at the top of this file, like this:

    module Main exposing (..)

I think the elm init could do more to make OTP process smoother like

  1. Include a basic app in src/Main.elm since that obviously is the next step in making an elm app.
  2. Print out the very basic next command to run

Also if you wish this to be tool developers pick ELM as there first choice as a development tool, then they have to be able to run init and start working, in my opinion.

Svelet does this will with SeletKit also Rust withe cargo new

Any how encountering a bunch of errors when trying to start it is very deterring and makes me kinda want to stop learning ELM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant