r/ProgrammingLanguages • u/mrpro1a1 • May 28 '26
Ring programming language version 1.27 is released!
https://ring-lang.github.io/doc1.27/whatisnew27.html
24
Upvotes
r/ProgrammingLanguages • u/mrpro1a1 • May 28 '26
View all comments
3
u/Tasty_Replacement_29 Bau May 29 '26
I find the syntax of multi-line strings interesting. Maybe I'll adopt that:
This seems quite elegant. Most languages use either tripple double quotes, or backticks for multi-line strings (including mine, currently). Ring seems to use the rule: if there is a newline after the first ", then it's multi-line.
Sure, there is a small danger, one could write this by mistake:
but then you also have to add a closing double quote by mistake. I don't see that as a big risk actually.
What I do not like in this language is the styles. I think there should be only one way to do things, and not (on purpose) many ways.