re: Daily Coding Puzzles - Nov 4th - Nov 9th VIEW POST

re: Does F# require you to name the arr parameter explicitly or can you simply do the following: let product = Array.reduce (*) I've been curiou...

Yes, you can do that in F#. (You probably know this, but for the sake of onlookers) it is called point-free notation. It can be handy for small functions like this. But I noticed when I use it too much, my code can become hard to understand.

Especially for code examples, I rarely use it because it can confuse readers.

code of conduct - report abuse