News for hackers. Stuff that matters.
Re:What's New in F# 9 by fuzztester on Friday November 15, 2024 @11:56AM (#42148636)
> (I personally find F# easier to read than Python for example the generator syntax in Python to me reads backwards).

How so? Or do you mean that about list, dict and set comprehensions?

Re:What's New in F# 9 by throwaway675867 on Sunday November 17, 2024 @04:27PM (#42167448)
Yes - just my preference. `[ num for num in numbers ]` in Python would read as `[ for num in numbers do num ]`. With nested loops, and if you want to do filtering (yield only on certain conditions) I felt the F# syntax reads better as the order reads top to bottom.