I’m digging F# and enjoying writing code in massively different ways.
But I’m confused – why the non #light syntax exists if it is superior to the default syntax?
Does anyone know why?
Why not make #light default and allow a #dark option for those wanted whitespace inspecific code?
It is the default in the latest CTP release and will be when it is in the box for Visual Studio 2010.
While most developers agree with you that #light is a more pleasant coding experience, not everyone shares your love. Moreover, having whitespace aware code also makes some tasks such as code generation MUCH more difficult. (Think lambdas inside of lambdas.)
I suspect the non-#light won’t be discussed or seen in the wild, but will certainly exist for people who come from a heavy OCaml background or have some religious issues with #light.