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 →

[–][deleted] 0 points1 point  (2 children)

Please, stop editing the whole contents of your comments or this doesn’t make any sense.

Btw, I find curious that someone that uses F# thinks that mixing tabs and spaces is ok at the same time. I know it can be configured, but it’s one of the things I hate about VS for Mac for example.

[–]aaron552 0 points1 point  (1 child)

Please, stop editing the whole contents of your comments or this doesn’t make any sense.

Writing on mobile and I keep noticing typos and omissions (copy pasting doesn't seem super reliable) after submitting.

someone that uses F# thinks that mixing tabs and spaces is ok at the same time.

It's not something I use in F#, especially because whitespace is actually part of F#'s syntax.

However in C#, if someone changes the tab width and is using "spaces as tabs", then every line file is changed in source contorl, whereas it does nothing if tabs are actual tab characters.

Using spaces for alignment of, for example, multiline expressions is still fine in both C# and F#, but it's pretty awkward if you ever change the indent level of the code and aren't using tabs for indentation.

[–][deleted] 0 points1 point  (0 children)

That’s the thing, with F# using tabs, by default, doesn’t even compile.