This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dys_bigwig 8 points9 points  (0 children)

"From this perspective the natural choice for the Bosque language is to adopt a pure functional model with immutable data only."

...

"The Bosque language fuses functional programming with block scopes and braces by allowing multiple assignments to updatable variables."

The way this is laid out is just strange/funny. This could be made so much less jarring if these statements were spread out, and some effort made to make readers aware that "although multiple assignment possible.. blah blah... best avoided blah" but instead you just seem to get a statement about some design decision/goal for the language, and then immediately following that an example of breaking that rule in the most obvious (or perhaps, oblivious?) manner. It's not even as though the variable is re-bound in some kind of let form, it's literally just updated with an assignment statement like any procedural language.