Re:Flix – A powerful effect-oriented programming language
by johnisgood on Friday July 11, 2025 @02:59AM
(#44529118)
I agree, somewhat, but "StringBuilder"... Hmm... Leaning towards Java a lot in this aspect. Not sure I like this aspect of it. The rest does seem look at a quick glance.
[ Parent
| on HN ]
Re:Flix – A powerful effect-oriented programming language
by jorkadeen on Friday July 11, 2025 @03:12AM
(#44529197)
The StringBuilder example is just that-- an example that many software developers should be familiar with. The deeper idea is that in Flix one can write a pure function that internally use mutation and imperative programming.
Re:Flix – A powerful effect-oriented programming language
by exceptione on Friday July 11, 2025 @03:48AM
(#44529400)
Plus that you regretted having `+` as a concatenation operator.
However, I believe an even better design choice would be to forgo string concatenation and instead rely entirely on string interpolation. String interpolation is a much more powerful and elegant solution to the problem of building complex strings.
src: https://flix.dev/blog/design-flaws-in-flix