1
$\begingroup$

I assume the reason space makes a difference in F# is due to reserving a certain function, when minus is in front of a number without space, however what are the reasons for this? I can't seem to find any functions related to this

$\endgroup$

closed as off-topic by Yuval Filmus, Derek Elkins, David Richerby, Evil, D.W. Feb 11 at 23:56

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development or programming tools are off-topic here, but can be asked on Stack Overflow." – Yuval Filmus, Derek Elkins, David Richerby, Evil, D.W.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ F#-specific questions are off-topic here. $\endgroup$ – Yuval Filmus Feb 11 at 19:33
  • $\begingroup$ Sorry i guess i phrased it badly, my question was more related to what advantages or disadvantages there would be to include such features into a programming language in general $\endgroup$ – Levicia Feb 11 at 19:46
  • $\begingroup$ What are the reasons? I suppose is that the language designers designed it that way. And why? Because they thought it was a good idea. In Swift, the reason why whitespace around operators is sensitive is because it makes parsing possible without any knowledge of operators. Which is necessary because the compiler might actually not have any knowledge of operators. $\endgroup$ – gnasher729 Feb 11 at 20:52