logoalt Hacker News

cma256 • yesterday at 9:16 PM • 1 reply • view on HN

@rtfeldman Earlier in Roc's development it had a much stronger resemblance to Elm. Now it resembles Rust more strongly. My understanding is that this was driven by need and not aesthetic preference. Has the syntax for Roc stabilized? Will it change in the future? You're likely the most experienced Roc programmer in the world so I'd like to know if you find writing Roc to be a pleasant experience.

Edit: Happy for the 0.1.0 release. I look forward to using it!


Replies

lwboswell • today at 12:11 AM

I can answer this question... the syntax changes were driven from user experience and our goals for a fast/friendly/functional compiler. There are benefits for parsing if you use parens and commas for example. We tried many different designs looking for a good balance, simple tools that compose really nicely.

The syntax is now very stable and hasn't changed for a long time. Getting everything under that working really well, like the specialising pipeline or the native backends, and all the platform/package ecosystem has really been a bigger focus this year.

I've written a lot of Roc over the years, and I think the experience is wonderful.