Took me a moment to realise the code is so weird because he's doing this in AutoCAD. My brain blocked out most of the site and went straight to the middle of the code.
It's like he read the first few chapters of an F# book which showed explicit recursion for didactic purposes and then stopped before the examples explained higher-order functions.
5 comments
[ 0.21 ms ] story [ 22.2 ms ] threadThe verbosity of the F# example is not necesary. For instance, the code does its own map:
Instead of just: