Stream: beginners

Topic: ✔ Basic CLI vs Program


view this post on Zulip Logan Lowder (Dec 04 2022 at 19:36):

Since I'm on Mac x86-64 I ended up using a nightly release and followed the helloWorld.roc example that uses Program/Program.noargs.
Is this the best learning experience going forward, considering it has managed effects -- is that the direction roc platforms will move towards? Or should I switch over to using basic cli, or is it just personal preference?

view this post on Zulip Luke Boswell (Dec 04 2022 at 19:50):

basic-cli was recently upgraded to simplify the API and Program was removed. This means you just return an effect back to the host now. I would guess that starting with basic-cli is better for learning as you can use more functionality to build things.

view this post on Zulip Logan Lowder (Dec 04 2022 at 19:54):

Ok thanks!

view this post on Zulip Notification Bot (Dec 04 2022 at 19:54):

Logan Lowder has marked this topic as resolved.


Last updated: Jul 06 2025 at 12:14 UTC